Skip to content

Commit

Permalink
Added sample ids to the vcf
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil committed Jul 12, 2023
1 parent a58679b commit 0264442
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cwl/samples_fillout_workflow.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ steps:
var args2 = args1.map( (a) => "--bam " + a )
return args2.join(" ") ;
}'
sample_ids="${ return inputs.sample_ids.join("\t"); }"
fasta="${ return inputs.ref_fasta.path; }"
vcf="${ return inputs.targets_vcf.path }"
fillout_vcf="fillout.vcf"
Expand All @@ -157,7 +158,7 @@ steps:
##FORMAT=<ID=DPF,Number=1,Type=Integer,Description="Total fragment depth">
##FORMAT=<ID=RDF,Number=1,Type=Float,Description="Fragment depth matching reference (REF) allele">
##FORMAT=<ID=ADF,Number=1,Type=Float,Description="Fragment depth matching alternate (ALT) allele">
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT P-\${sample_id} \${sample_id}
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT P-\${sample_ids}
EOF
fi
inputs:
Expand Down

0 comments on commit 0264442

Please sign in to comment.