Closed johanneskoester closed 6 years ago
In 5 out of the 6 cases you paste above, the read failed to align. ZT:Z
output is only printed for reads that align. But in one of the cases, the one with 147
in the FLAG
field, the read did align. In that case the ZT:Z
string is malformed. It says Z:194,120,...
rather than ZT:Z:194,120,...
. I'll ponder a bit, but can you confirm that the SAM lines you posted were unmodified? I.e. those are directly from bowtie2?
Yes, exactly. I took them from the path that is printed in the qtip log. Note that I ran bowtie with 8 threads. This is my qtip invocation (the braces are snakemake wildcards that get replaced by the concrete values of the job): qtip --bt2-exe 'bowtie2 --local -p {threads}' --temp-directory {params.tmp} --m1 {input.m1} --m2 {input.m2} --index {params.index} --ref {input.ref}
Any chance I could get your reads/simulated.normal.1.fastq
and reads/simulated.normal.2.fastq
? I can probably take it from there, but another valuable piece of info would be: does it also happen with -p 1
?
Currently, I don't have the resources to run it again with -p1 (I have moved to bwa, where this problem does not occur). I don't think it could be related to the real data, but it would in principle be possible to send them to you. However, they are quite big. If you really want them, do you have facility (FTP server?), where I could upload them?
I wonder if you could reproduce the problem with a small subset of the reads you were running it on previously, @johanneskoester.
Sorry, I don't have the time and computational resources to do that right now.
Update: this might be due to https://github.com/BenLangmead/bowtie2/issues/158, which we have a very preliminary fix for:
https://github.com/BenLangmead/bowtie2/releases/tag/v2.3.4-alpha
I'd be interested to know if you're able to reproduce with that Bowtie2 version.
Sorry, I don't have enough time at the moment. But it sounds indeed like the same problem.
If so, then Bowtie 2 v2.3.4 (now released) should fix it
Great! Feel free to close the issue if you think it is fixed. I won't test this combination any time soon.
When running qtip 1.6.2 with bowtie2 2.3.3.1 (both from bioconda), I get the following error:
In other words, qtip-parse fails to find the ZT tag for at least one alignment. Further investigation reveals that, although the tag is present in the vast majority of the alignments, it is indeed missing for some. An random sample comes here:
Any chance for a quick fix or workaround? Is bowtie2 or qtip-parse to blame?