Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird erro failed: 256 at ./run-trust4 line 48. #127

Open
Cinade opened this issue May 4, 2022 · 19 comments
Open

Weird erro failed: 256 at ./run-trust4 line 48. #127

Cinade opened this issue May 4, 2022 · 19 comments

Comments

@Cinade
Copy link

Cinade commented May 4, 2022

Hello
I downloaded and installed TRUST4 on Linux using git clone

However when I start the run with this command on top of the image

The run start but I get the following error, cant resolve it:

(base) fpadonou@nic5-login1 ~/TRUST4 $ ./run-trust4 --od ./NormalTissueTS -o run1 -b Bamfile/mergedTSNTissue.bam -f hg38_bcrtcr.fa --ref human_IMGT+C.fa
[Wed May 4 16:57:49 2022] TRUST4 begins.
[Wed May 4 16:57:49 2022] SYSTEM CALL: /home/users/f/p/fpadonou/TRUST4/bam-extractor -b Bamfile/mergedTSNTissue.bam -t 1 -f hg38_bcrtcr.fa -o ./NormalTissueTS/run1_toassemble
[Wed May 4 16:57:49 2022] Start to extract candidate reads from bam file.
[Wed May 4 17:04:14 2022] Finish obtaining the candidate read ids.
[Wed May 4 17:06:01 2022] Finish extracting reads.
[Wed May 4 17:06:01 2022] SYSTEM CALL: /home/users/f/p/fpadonou/TRUST4/trust4 -f hg38_bcrtcr.fa -o ./NormalTissueTS/run1 -1 ./NormalTissueTS/run1_toassemble_1.fq -2 ./NormalTissueTS/run1_toassemble_2.fq
[Wed May 4 17:06:01 2022] SYSTEM CALL: /home/users/f/p/fpadonou/TRUST4/annotator -f human_IMGT+C.fa -a ./NormalTissueTS/run1_final.out -t 1 -o ./NormalTissueTS/run1 -r ./NormalTissueTS/run1_assembled_reads.fa > ./NormalTissueTS/run1_annot.fa
Need to use -a to specify the assembly file.
system /home/users/f/p/fpadonou/TRUST4/annotator -f human_IMGT+C.fa -a ./NormalTissueTS/run1_final.out -t 1 -o ./NormalTissueTS/run1 -r ./NormalTissueTS/run1_assembled_reads.fa > ./NormalTissueTS/run1_annot.fa failed: 256 at ./run-trust4 line 48.
(base) fpadonou@nic5-login1 ~/TRUST4 $

See picture below.

Could you please help me?
Capture

Thank yu very much.

@mourisl
Copy link
Collaborator

mourisl commented May 5, 2022

I think TRUST4 fails to find any TCR/BCR reads in the sample, and generate empty files which causes this error. This could happen when the immune infiltration level is very low in the sample. I will update the program later to properly throw this "error".

@Cinade
Copy link
Author

Cinade commented May 9, 2022

Thank you for your answer. the samples are from normal breast tissues so I will try again on breast tumors.
Thanks

@Cinade
Copy link
Author

Cinade commented May 9, 2022

Well
I run the comand with all my bam files and none of them worked.
I opted for the fastqc files and it worked, although i have another issue. The report file and airr file are empty. The CD3 file is empty as well.

What does it mean for my results?

Thank you

@mourisl
Copy link
Collaborator

mourisl commented May 9, 2022

I think TRUST4 only found some V o C gene fragmented contigs, and no CDR3 information in that case. Just want to confirm, is this human data, and how many reads are in each file? Thank you.

@Cinade
Copy link
Author

Cinade commented May 9, 2022

Thank you for yor answer
Its human data, cancer
I dont really know the number of reads in each file.
I used an old fastq file to test it out.

@mourisl
Copy link
Collaborator

mourisl commented May 9, 2022

The BAM file seems a bit small (it can finish the scan in less than 7 minutes). I'm wondering whether the sequencing depth is too shallow to find TCR/BCR reads. You can use "samtools flagstat" to check.

@Cinade
Copy link
Author

Cinade commented Jul 13, 2022

Hello
So TRUST4 wroked with some of my samples but I got a new error.
See the image below. Thank you for your help.
trust

@mourisl
Copy link
Collaborator

mourisl commented Jul 13, 2022

Are the toassemble files for that sample empty?

@Cinade
Copy link
Author

Cinade commented Jul 14, 2022

Hello
No they are not empty.

@mourisl
Copy link
Collaborator

mourisl commented Jul 14, 2022

Could you please show me a few lines from the two toassemble_*.fq files? Thank you.

@Cinade
Copy link
Author

Cinade commented Jul 26, 2022

Hello
Apologies for the delay. I was very sick.

Here's a few line from Assemble_1.fq:

@A00801:196:H7TC5DSX3:4:1101:21739:1877
GGCCATGGGAGGTT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CTGCCTCACTGGGAGCCTCAGTGCCGGTCTATGTCA
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFF,FFFFFFFFF:FFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
@A00801:196:H7TC5DSX3:4:1101:9055:2644
CCGGCTGCCCATTGCTCTCCCACTCCACGGCGATGTCGCTGGGATAGAAGCCTTTGACCAGGCAGGTCAGGCTGACCTGGTTCTTGGTCATCTCCTCCCGGGATGGGGGCAGGGTGTACACCTGTGGTTCTCGGGGCTGCCCCCCGGTACG
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFF
@A00801:196:H7TC5DSX3:4:1101:11080:3427
TCCCCTCAAATACCCCATCGAAGCCCTTCAACTTTAGCAGATCATAATTTGCATCTACTTTTTTAACGAAAGAGAGAGCAGGCAACATGTCCTTTACTGCCTCTACCCTGAATTTCTTCAGATGGCTAAAGAGGAACGCGGTTATACT
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFF
@A00801:196:H7TC5DSX3:4:1101:12744:3897
GGTGACACAATTTGCTGTCTCTCTAAAAAAAAAAGAAGAAGAAGAAAAGGAGAAAGAGAGAGAGGTTCATACTCCAATGGCTGTAAAGGATAAGGAGCCCGGTGATCATCA

And here's a few line for Assemble_2.fq:

@A00801:196:H7TC5DSX3:4:1101:21739:1877
TAGTTTGTACCGGGTACCAACGTGGCTGTCAACCTTTGCT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CTGA
+
FFFFFFFF:,,,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
@A00801:196:H7TC5DSX3:4:1101:9055:2644
CTTATCGTAGCTGGGGGCAGCCCCGAGAACCACAGGTGTACACCCTGCCCCCATCCCGGGAGGAGATGACCAAGAACCAGGTCAGCCTGACCTGCCTGGTCAAAGGCTTCTATCCCAGCGACATCGCCGTGGAGTGGGAGAGCAATGGGC
+
FFFFFFFF,,:,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFF
@A00801:196:H7TC5DSX3:4:1101:11080:3427
CTAGTATAAACTCGTTCCTCTTTAGCCATCTGAAGAAATTCAGGGTAGAGGCAGTAAAGGACATGTTGCCTGCTCTCTCTTTCGTTAAAAAAGTAGATGCAAATTATGATCTGCTAAAGTTGAAGGGCTTCGATGGGGTATTTGAGGGGA
+
FFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FF:FFFFFFFFFFFFFFFFFFFFF
@A00801:196:H7TC5DSX3:4:1101:12744:3897
TGATGATCACCGGGCTCCTTATCCTTTACAGCCATTGGAGTATGAACCTCTCTCTCTTTCTCCTTTTCTTCTTCTTCTTTTTTTTTTAGAGAGACAGCAAATTGTGTCACC

@Cinade
Copy link
Author

Cinade commented Jul 26, 2022

For another sample fastq, I get the following error. Which is weird because I do have the latest version of Trust4.
Thank you very much for your help. I am runing multiple samples and while some work I have some issues with other.
I attach the image error and also the size of each fastq file in KB.
Capture1
Capture21

@mourisl
Copy link
Collaborator

mourisl commented Jul 26, 2022

Thank you for sharing the information. I will look into the first issue. For the second issue, it seems you missed the "-2" option for the second read (XXX_R2_001.fastq). As a result, both files are fed to read 1, and read 2 has empty reads causing the "different number of reads" error.

@Cinade
Copy link
Author

Cinade commented Jul 28, 2022

Thank you very much. Let me know if you find something for the first issue.

@karthikram-takara
Copy link

Hi @mourisl, I am running into the same error as the original ticket specified (the one with -a) because the input fastqs do not have any TCR/BCR reads. Has there been an update to fix this issue? I am using version 1.0.4. Thanks.

@mourisl
Copy link
Collaborator

mourisl commented Mar 5, 2024

The missing TCR/BCR reads might be due to too few T/B cells infiltrating your sample. This could be due to biological reasons, and TRUST4 can not fix that. I have fixed several things in the current github repo, so TRUST4 at least won't crash if there is no candidate reads can be found in the next release.

@karthikram-takara
Copy link

Thank you @mourisl. I agree that the issue is biological. After updating to 1.0.13, I get a different error, but the analysis still fails. Is the new release coming up soon?

@mourisl
Copy link
Collaborator

mourisl commented Mar 6, 2024

Yes, I'm waiting for some information on other issues. When those are addressed, I will draft a new release.

@karthikram-takara
Copy link

Great, thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants