Skip to content

Commit

Permalink
Write consistent column sets to variant information files (#330)
Browse files Browse the repository at this point in the history
* write only mandatory pvar columns

* Fix samplesheet parsing error warnings (#322)

* Update SamplesheetParser.groovy

* fix multiple samplesheet error message

---------

Co-authored-by: Benjamin Wingfield <[email protected]>

---------

Co-authored-by: Sam Lambert <[email protected]>
  • Loading branch information
nebfield and smlmbrt authored Jul 4, 2024
1 parent ccfd636 commit cc3a26e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/local/plink2_relabelpvar.nf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ process PLINK2_RELABELPVAR {
--set-all-var-ids '@:#:\$r:\$a' \\
$set_ma_missing \\
--pfile ${geno.baseName} $compressed \\
--make-just-pvar zs \\
--make-just-pvar zs cols="-xheader,-maybequal,-maybefilter,-maybeinfo,-maybecm" \\
--out $output
# -a: cross platform (mac, linux) method of preserving symlinks
Expand Down
2 changes: 1 addition & 1 deletion modules/local/plink2_vcf.nf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ process PLINK2_VCF {
$args \\
--vcf $vcf $dosage_options \\
--allow-extra-chr $chrom_filter \\
--make-pgen vzs \\
--make-pgen vzs pvar-cols="-xheader,-maybequal,-maybefilter,-maybeinfo,-maybecm" \\
--out ${output}
gzip ${output}.vmiss
Expand Down

0 comments on commit cc3a26e

Please sign in to comment.