Hi Kevin. Thank you for the clarification, This makes more sense to me now.
I had picked up the code as I am quite new to this field.
I have another question regarding SNP Analysis. How would you carry out the Base Recalibration and Apply BQSR step for a Bacterial genome.
I am sharing the code I have found, but it deals with Human genome data.
#Indexing SNP Feature File
./gatk IndexFeatureFile -F dbsnp_138.hg19.excluding_sites_after_129.vcf
gatk IndexFeatureFile -F 1000G_phase1.indels.hg19.vcf
gatk IndexFeatureFile -F Mills_and_1000G_gold_standard.indels.hg19.vcf
#Base Recalibration
gatk BaseRecalibrator -I ERR445551_mkdp.bam -O ERR445551_bqsr.table -R genome.fa /
--known-sites dbsnp_138.hg19.excluding_sites_after_129.vcf --known-sites 1000G_phase1.indels.hg19.vcf /
--known-sites Mills_and_1000G_gold_standard.indels.hg19.vcf
#Apply BQSR
gatk ApplyBQSR -I ERR445551_rmdp.bam -O ERR445551_recal.bam -R genome.fa /
--bqsr-recal-file ERR445551_bqsr.table
#Build Recalibration Model
gatk BaseRecalibrator -I ERR445551_recal.bam -O ERR445551_postbqsr.table -R genome.fa /
--known-sites dbsnp_138.hg19.excluding_sites_after_129.vcf /
--known-sites 1000G_phase1.indels.hg19.vcf /
--known-sites Mills_and_1000G_gold_standard.indels.hg19.vcf
Any advice on how to proceed further would be greatly appreciated.
Thanks!
Hi Kevin. Thank you for the clarification, This makes more sense to me now.
I had picked up the code as I am quite new to this field.
I have another question regarding SNP Analysis. How would you carry out the Base Recalibration and Apply BQSR step for a Bacterial genome.
I am sharing the code I have found, but it deals with Human genome data.
Indexing SNP Feature File
./gatk IndexFeatureFile -F dbsnp_138.hg19.excluding_sites_after_129.vcf
gatk IndexFeatureFile -F 1000G_phase1.indels.hg19.vcf
gatk IndexFeatureFile -F Mills_and_1000G_gold_standard.indels.hg19.vcf
Base Recalibration
gatk BaseRecalibrator -I ERR445551_mkdp.bam -O ERR445551_bqsr.table -R genome.fa /
--known-sites dbsnp_138.hg19.excluding_sites_after_129.vcf --known-sites 1000G_phase1.indels.hg19.vcf /
--known-sites Mills_and_1000G_gold_standard.indels.hg19.vcf
Apply BQSR
gatk ApplyBQSR -I ERR445551_rmdp.bam -O ERR445551_recal.bam -R genome.fa /
--bqsr-recal-file ERR445551_bqsr.table
Build Recalibration Model
gatk BaseRecalibrator -I ERR445551_recal.bam -O ERR445551_postbqsr.table -R genome.fa /
--known-sites dbsnp_138.hg19.excluding_sites_after_129.vcf /
--known-sites 1000G_phase1.indels.hg19.vcf /
--known-sites Mills_and_1000G_gold_standard.indels.hg19.vcf
Any advice on how to proceed further would be greatly appreciated. Thanks!
Please use
ADD COMMENT/ADD REPLYwhen responding to existing posts to keep threads logically organized. This belongs under @Kevin's answer.SUBMIT ANSWERis for new answers to original question.