Open alextidd opened 7 months ago
Could you check whether the bam file looks normal after the preprocessing step?
bm_chr20.filter.bam
seems right, but chr20.filter.targeted.bam
and merge.filter.targeted.bam
are empty:
$ cat bm/Bam/chr20.filter.bam.lst
bm/Bam/bm_chr20.filter.bam
$ samtools view bm/Bam/bm_chr20.filter.bam | head -2
SRR15598776.294805248_TCTTGCGCAGGCACAC_CTCTCCTCGCCA 2064 chr20 60218 0 10H20M61H * 0 0 GCAATCCTTTCCTCTCCATT ,,:,:,,,,,,,,,,,,::F NM:i:0 MD:Z:20 AS:i:20 XS:i:19 SA:Z:5,113545723,-,22S37M32S,0,0;5,156763440,+,22S19M50S,0,0; XA:Z:11,+88315939,60S19M12S,0;
SRR15598776.80450257_AATGAAGTCGCGGACT_AAGTATACGCTC 16 chr20 61569 0 43S19M29S * 0 0 TATACATATGTCCCCTCCCTCTTGAATCTCACCTTCTACCCCCGACTCCATTCCACTCCTCTAGGTTGTCACAGAGCACCGCATTTGGCTC FF:FFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFF NM:i:0 MD:Z:19 AS:i:19 XS:i:19 SA:Z:5,64380457,-,19S19M53S,0,0;15,76070764,-,5S19M67S,0,0;X,10097594,-,67S19M5S,0,0; XA:Z:Y,-10959620,44S19M28S,0;KI270736.1,+62338,28S19M44S,0;
$ samtools view bm/Bam/bm_chr20.filter.bam | tail -2
SRR15598776.418134198_TTTCATGAGCAACTTC_TCACGTTTCCTA 2064 chr20 39999757 0 25H24M42H * 0 0 ATATTTAAAATTTTATTTTTTAAT ,,:FF,:,FF,,::FF,,,FF,:, NM:i:0 MD:Z:24 AS:i:24 XS:i:23 SA:Z:X,46457624,-,3M1I25M62S,0,1;6,124139067,-,53S23M15S,0,0;7,129403981,-,66S22M3S,0,0;8,102417610,+,30S20M41S,0,0;
SRR15598776.180926021_GACTCAAAGTTCACTG_ACCATATAAAAT 2048 chr20 39999869 0 70H21M * 0 0 ATTTACTATAAAAATAGTTAC F,,:,,,,,:::,,,,,,,,, NM:i:1 MD:Z:20T0 AS:i:20 XS:i:20 SA:Z:1,82576961,-,21S39M31S,0,0;4,180292349,+,20S19M52S,0,0; XA:Z:5,-14292491,7S25M59S,1;11,+95173927,67S19M5S,0;14,-21926828,8S19M64S,0;
$ samtools view bm/Bam/chr20.filter.targeted.bam
$ samtools view bm/Bam/merge.filter.targeted.bam
$ ls -ltrh bm/Bam/
total 347M
drwxr-sr-x 2 at31 team205 632K Dec 11 17:48 split_bam
-rw-r--r-- 1 at31 team205 2.9K Dec 12 11:38 chr20.filter.targeted.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 11:38 chr20.filter.targeted.bam.bai
-rw-r--r-- 1 at31 team205 2.9K Dec 12 11:38 merge.filter.targeted.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 11:38 merge.filter.targeted.bam.bai
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr5.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr6.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr3.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr4.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr7.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr1.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr8.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr2.filter.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr6.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr5.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr3.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr7.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr1.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr4.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr8.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr2.filter.bam.bai
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr10.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr9.filter.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr10.filter.bam.bai
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr12.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr11.filter.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr9.filter.bam.bai
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr14.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr15.filter.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr12.filter.bam.bai
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr13.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr16.filter.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr11.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr14.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr15.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr13.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr16.filter.bam.bai
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr17.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr18.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr19.filter.bam
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr21.filter.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr17.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr18.filter.bam.bai
-rw-r--r-- 1 at31 team205 2.8K Dec 12 12:22 bm_chr22.filter.bam
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr19.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr21.filter.bam.bai
-rw-r--r-- 1 at31 team205 1.6K Dec 12 12:22 bm_chr22.filter.bam.bai
-rw-r--r-- 1 at31 team205 237M Dec 12 12:23 bm_chr20.filter.bam
-rw-r--r-- 1 at31 team205 65K Dec 12 12:24 bm_chr20.filter.bam.bai
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr1.filter.bam.lst
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr2.filter.bam.lst
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr3.filter.bam.lst
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr4.filter.bam.lst
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr5.filter.bam.lst
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr6.filter.bam.lst
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr7.filter.bam.lst
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr8.filter.bam.lst
-rw-r--r-- 1 at31 team205 26 Dec 12 12:24 chr9.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr10.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr11.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr12.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr13.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr14.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr15.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr16.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr17.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr18.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr19.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr20.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr21.filter.bam.lst
-rw-r--r-- 1 at31 team205 27 Dec 12 12:24 chr22.filter.bam.lst
Do you know how this could have happened?
Hi, I want to know how you got the "chr20.maester_scRNA.bam.bai" file, the bai file I got with 'samtools index' gets an error when it runs. Error: ValueError: fetch called on bamfile without index.
could you have a try by using the samtools included in the app? Not sure the bam files have different format under different samtools version.
Hi, is there any update on my issue? Thanks!
hello! @alextidd I have a similar problem but with the somatic module can I ask you at what point in the process did you generate the filter.targeted.bam files? in the preprocess module? Thanks in advance
Hi, I have the same problem. Did someone manage to resolve it?
Hi, Thanks so much for developing this tool! I've been trying to get the test dataset running to call somatic mutations, but have been having some trouble. I downloaded the file
chr20.maester_scRNA.bam
from https://drive.google.com/file/d/1nS2rjrab-QSiq-FhpTWOtJesCE9iS_0k/view?usp=share_link, but it appears to be broken.I ran the code in this directory:
The downloaded
chr20.maester_scRNA.bam
file looks like this:The preprocessing step appears to run fine:
The germline step emits lots of errors / warnings but still reports that it ran successfully:
Then when I run the somatic featureInfo step, I get an error:
Are you familiar with this issue? I re-downloaded
chr20.maester_scRNA.bam
multiple times to make sure it wasn't somehow truncated during the download, but the issue persists. Do you have any idea what I'm doing wrong?Thanks so much in advance!