Report error if BAM index is not present

58 views
Skip to first unread message

bioinfo...@gringene.org

unread,
May 20, 2018, 8:01:41 PM5/20/18
to TRUST for T cell receptor hypervariable region assembly
When running TRUST for the first time, I came up against the following error:

UnboundLocalError: local variable 'ffu' referenced before assignment

In my usual way, I had a hunt through the code to see if there was anything obvious that could be fixed, but I found nothing. As a workaround, I put an explicit "ffu=None" at the start of the function. This allowed the code to run, but then I got an empty result from running TRUST:

----- Run TCR analysis -----
SRR1200516_vs_hg38_Aligned.sortedByCoord.out.bam
Screen for informative reads
['chr7', '142299011', '142813287', 'TRB']
[**no further output**]

After an hour or so of confusion, I remembered something about indexing in the instructions: "Please make sure that each BAM is paired with its index file". I fixed that, and got TRUST to run.

So... Could you please add something to the code to explicitly check for missing index files when those index files are needed?

Bo Li

unread,
May 21, 2018, 12:03:30 PM5/21/18
to bioinfo...@gringene.org, TRUST for T cell receptor hypervariable region assembly
Can you paste your commandline for running TRUST?

--
You received this message because you are subscribed to the Google Groups "TRUST for T cell receptor hypervariable region assembly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trusttcr+unsubscribe@googlegroups.com.
To post to this group, send email to trus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trusttcr/e3134eeb-6748-478d-aa77-a6834788f7e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages