Skip to content

Commit

Permalink
Merge pull request #221 from RoanKanninga/master
Browse files Browse the repository at this point in the history
skip NC_001422.1 chromosome in gnomAD check since it doesnot exist
  • Loading branch information
RoanKanninga authored Nov 23, 2018
2 parents 7d0e118 + 21ab1f6 commit 20e42ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocols/AnnotateVcf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ then
then
echo -e "\n[[annotation]]\nfile=\"${gnomADGenomesAnnotation}/gnomad.genomes.r2.0.2.sites.chrX.normalized.vcf.gz\"\nfields=[\"AF_POPMAX\",\"segdup\"]\nnames=[\"gnomAD_genome_AF_MAX\",\"gnomAD_genome_RF_Filter\"]\nops=[\"self\",\"self\"]" >> "${vcfAnnoGnomadGenomesConf}"
echo -e "\n[[annotation]]\nfile=\"${gonlAnnotation}/gonl.chrX.release4.gtc.vcf.gz\"\nfields=[\"AC\",\"AN\"]\nnames=[\"GoNL_AC\",\"GoNL_AN\"]\nops=[\"self\",\"first\"]" >> "${vcfAnnoGnomadGenomesConf}"
elif [[ ${batchID} == *"Y"* || ${batchID} == *"MT"* ]]
elif [[ ${batchID} == *"Y"* || ${batchID} == *"NC_001422.1"* || ${batchID} == *"MT"* ]]
then
echo "chromosome Y/MT is not in gnomAD, do nothing"
echo "chromosome Y/MT/NC_001422.1 is not in gnomAD, do nothing"
else
echo -e "\n[[annotation]]\nfile=\"${gnomADGenomesAnnotation}/gnomad.genomes.r2.0.2.sites.chr${batchID}.normalized.vcf.gz\"\nfields=[\"AF_POPMAX\",\"segdup\"]\nnames=[\"gnomAD_genome_AF_MAX\",\"gnomAD_genome_RF_Filter\"]\nops=[\"self\",\"self\"]" >> "${vcfAnnoGnomadGenomesConf}"
echo -e "\n[[annotation]]\nfile=\"${gonlAnnotation}/gonl.chrCombined.snps_indels.r5.vcf.gz\"\nfields=[\"AC\",\"AN\"]\nnames=[\"GoNL_AC\",\"GoNL_AN\"]\nops=[\"self\",\"first\"]" >> "${vcfAnnoGnomadGenomesConf}"
Expand Down

0 comments on commit 20e42ea

Please sign in to comment.