Skip to content

format for input data includes reference calls? #123

Answered by moe1619
moe1619 asked this question in Q&A
Discussion options

You must be logged in to vote

create a gvcf for each sample

gatk_path --java-options "-Xmx4G" HaplotypeCaller \
  -R $reference_grch37 \
  -L PRS_snp_positions.list \
  -I $bam_path   \
  -O $gvcf_for_prs -ERC BP_RESOLUTION --dbsnp $dbsnp_file

I am not sure BP_RESOLUTION is actually required based on my next steps but I'm still working out the kinks

merge gvcfs

$gatk_path --java-options "-Xmx4g" CombineGVCFs \
     -R $reference_grch37 \
     --variant $list_of_gvcfs \
     -O $multisample_gvcf --dbsnp $dbsnp_file 

then genotype

$gatk_path --java-options "-Xmx4g" GenotypeGVCFs \
   -R $reference_grch37 \
   -V $multisample_gvcf \
   -O $multisample_gt_vcf --dbsnp $dbsnp_file --include-non-variant-sites true 

this o…

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nebfield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation user-query User queries & requests
2 participants
Converted from issue

This discussion was converted from issue #50 on July 17, 2023 15:53.