Skip to content
Snippets Groups Projects
Verified Commit 2a74ce1f authored by Laurent Modolo's avatar Laurent Modolo
Browse files

g2gtools: rename fasta output to fa.gz

parent 873b31fd
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ process incorporate_snp {
tuple val(file_id), path(vci), path(tbi)
tuple val(ref_id), path(fasta)
output:
tuple val(file_id), path("${file_id}_snp.fasta"), path("${vci}"), path("${tbi}"), emit: fasta
tuple val(file_id), path("${file_id}_snp.fa.gz"), path("${vci}"), path("${tbi}"), emit: fasta
tuple val(file_id), path("*_report.txt"), emit: report
script:
"""
......@@ -44,7 +44,7 @@ g2gtools patch \
-p ${task.cpus} \
-i ${fasta} \
-c ${vci} \
-o ${file_id}_snp.fasta 2> ${file_id}_g2gtools_path_report.txt
-o ${file_id}_snp.fa.gz > ${file_id}_g2gtools_path_report.txt
"""
}
......@@ -56,7 +56,7 @@ process incorporate_indel {
input:
tuple val(file_id), path(fasta), path(vci), path(tbi)
output:
tuple val(file_id), path("${file_id}_snp_indel.fasta"), path("${vci}"), path("${tbi}"), emit: fasta
tuple val(file_id), path("${file_id}_snp_indel.fa.gz"), path("${vci}"), path("${tbi}"), emit: fasta
tuple val(file_id), path("*_report.txt"), emit: report
script:
"""
......@@ -64,7 +64,7 @@ g2gtools transform \
-p ${task.cpus} \
-i ${fasta} \
-c ${vci} \
-o ${file_id}_snp_indel.fasta 2> ${file_id}_g2gtools_transform_report.txt
-o ${file_id}_snp_indel.fa.gz 2> ${file_id}_g2gtools_transform_report.txt
"""
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment