If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!
Test-drive the GATK tools and Best Practices pipelines on Terra
Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.
SplitNCigarReads results in all reads failing MalformedReadFilter?
Hi, I'm following the GATK best Practices workflow for SNP and indel calling on my RNAseq data, I'm currently at the "Split'N'Trim and reassign mapping qualities" step but come across some problems, below is my command:
java -jar GenomeAnalysisTK.jar -T SplitNCigarReads -R ref.fa -I dedupped.bam -o split.bam -rf \ ReassignOneMappingQuality -RMQF 255 -RMQT 60 -U ALLOW_N_CIGAR_READS \ --filter_mismatching_base_and_quals
Here's what I got:
INFO 00:13:19,415 ProgressMeter - Total runtime 66.03 secs, 1.10 min, 0.02 hours
INFO 00:13:19,418 MicroScheduler - 37770935 reads were filtered out during the traversal out of approximately 37770935 total reads (100.00%)
INFO 00:13:19,418 MicroScheduler - -> 0 reads (0.00% of total) failing BadCigarFilter
INFO 00:13:19,418 MicroScheduler - -> 37770935 reads (100.00% of total) failing MalformedReadFilter
INFO 00:13:19,419 MicroScheduler - -> 0 reads (0.00% of total) failing ReassignOneMappingQualityFilter
I also tried without "--filter_mismatching_base_and_quals" but it returned this ERROR message:
##### ERROR MESSAGE: SAM/BAM/CRAM file [email protected]6c1b6ff is malformed. Please see https://software.broadinstitute.org/gatk/documentation/article?id=1317for more information. Error details: BAM file has a read with mismatching number of bases and base qualities. Offender: 23570007 [51 bases] [0 quals]. You can use --defaultBaseQualities to assign a default base quality for all reads, but this can be dangerous in you don't know what you are doing.
I'm fairly new to GATK and can't really think of a reason why this would happen, so I would really appreciate if anyone can help.