Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
Notice:
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.
Attention:
We will be out of the office for a Broad Institute event from Dec 10th to Dec 11th 2019. We will be back to monitor the GATK forum on Dec 12th 2019. In the meantime we encourage you to help out other community members with their queries.
Thank you for your patience!

Error while running BaseRecalibrator

Hello, I was running the BQSR on the RNAseq reads. This is the command i typed:

java -jar /usr/local/bin/GenomeAnalysisTK.jar -T BaseRecalibrator -R ../../../genome/hg38/hg38.fa -I a_split.bam -L 22 -knownSites ../../../genome/vcf/All_20170710.vcf -o a_sorted.bam_dedupped_split_recal_data.table

However, I get this error:
ERROR MESSAGE: The platform (platform) associated with read group GATKSAMReadGroupRecord @RG:id is not a recognized platform. Allowable options are ILLUMINA,SLX,SOLEXA,SOLID,454,LS454,COMPLETE,PACBIO,IONTORRENT,CAPILLARY,HELICOS,UNKNOWN.

I used the sed command to change the PL:platform to PL:SOLID using this command:

samtools view -H a_split.bam|sed -e 's/PL:platform/PL:/g'|samtools reheader - a_split.bam >a_reheadered.bam

But I then get another error stating that the BAM file is not indexed. How is changing one line in the header make it unindexed? Can anyone comment on this.

Regards,
Anurag

Tagged:

Best Answer

Answers

Sign In or Register to comment.