Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kubranarci committed Jan 23, 2024
1 parent b071224 commit f0d8318
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/local/cluster_segments.nf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ process CLUSTER_SEGMENTS {
--sex $sexfile \\
--gcCovWidthFile $gc_corrected \\
--chrLengthFile $chrlenght \\
--pid ${prefix}
--pid ${prefix} \\
$args
# Not sure why there is a NULL line in the end of the segments file
zcat ${prefix}_all_seg2.txt.gz | grep -v NULL | bgzip -f > ${prefix}_all_seg_2.txt.gz.2
Expand Down
2 changes: 1 addition & 1 deletion modules/local/merge_snp.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ process MERGE_SNP {

script:
def prefix = task.ext.prefix ?: "${meta.id}"
def snp_min_coverage = meta.iscontrol == "" ? "${params.snp_min_coverage}" : "0"
def snp_min_coverage = meta.iscontrol == "1" ? "${params.snp_min_coverage}" : "0"

"""
merge_and_filter_snp.py \\
Expand Down

0 comments on commit f0d8318

Please sign in to comment.