Skip to content

Commit

Permalink
use --force instead of --quiet to handle uncompressed data
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Aug 6, 2024
1 parent 3d0f516 commit 125d2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/local/plink2_score.nf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ process PLINK2_SCORE {
$input ${geno.baseName} \
--out ${output}
n_missing=\$(comm -3 <(zcat --quiet $scorefile | tail -n +2 | cut -f 1 | sort) <(sort ${output}.sscore.vars) | wc -l | tr -d ' ')
n_missing=\$(comm -3 <(zcat --force $scorefile | tail -n +2 | cut -f 1 | sort) <(sort ${output}.sscore.vars) | wc -l | tr -d ' ')
if [ \$n_missing -gt 0 ]
then
Expand Down Expand Up @@ -93,7 +93,7 @@ process PLINK2_SCORE {
$input ${geno.baseName} \
--out ${output}
n_missing=\$(comm -3 <(zcat --quiet $scorefile | tail -n +2 | cut -f 1 | sort) <(sort ${output}.sscore.vars) | wc -l | tr -d ' ')
n_missing=\$(comm -3 <(zcat --force $scorefile | tail -n +2 | cut -f 1 | sort) <(sort ${output}.sscore.vars) | wc -l | tr -d ' ')
if [ \$n_missing -gt 0 ]
then
Expand Down

0 comments on commit 125d2f0

Please sign in to comment.