Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding intervals to sentieon driver cmd #4160

Merged
merged 4 commits into from
Oct 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adding intervals to sentieon driver cmd
  • Loading branch information
asp8200 committed Oct 18, 2023
commit 29a4ab7a1571a889431f3af7e96ffeaffbf5dc28
4 changes: 3 additions & 1 deletion modules/nf-core/sentieon/tnhaplotyper2/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ process SENTIEON_TNHAPLOTYPER2 {
def args3 = task.ext.args3 ?: '' // options for the OrientationBias algorithm. It could be something like "--tumor_sample <tumour_id>"
def args4 = task.ext.args4 ?: '' // options for the ContaminationModel algorithm. It could be something like "--tumor_sample <tumour_id> --normal_sample <normal_id>"
def prefix = task.ext.prefix ?: "${meta.id}"
def pon_command = panel_of_normals ? "--pon $panel_of_normals" : ""
def gr_command = germline_resource ? "--germline_vcf $germline_resource" : ""
def interval_command = intervals ? "--interval $intervals" : ""
def pon_command = panel_of_normals ? "--pon $panel_of_normals" : ""
def inputs = input.collect{ "-i $it"}.join(" ")
def orientation_bias_cmd = ""
def contamination_cmd = ""
Expand Down Expand Up @@ -79,6 +80,7 @@ process SENTIEON_TNHAPLOTYPER2 {
-r $fasta \\
$args \\
$inputs \\
$interval_command \\
--algo TNhaplotyper2 \\
$args2 \\
$gr_command \\
Expand Down