broadinstitute / GATK-for-Microbes

BSD 3-Clause "New" or "Revised" License
22 stars 6 forks source link

Skip revertsam and samtofastq when the input is bam file #26

Closed bhanugandham closed 3 years ago

bhanugandham commented 3 years ago

We use revertsam and samtofastq for input bam since fastq files required for shiftfasta tool for circular refs. However, using the reverted fastqs for the non-shifted fasta causes us to lose some reads and hence lose some variants. The fix here is to skip the revertsam and samtofastq for the unshifted fasta when the input is bam file.