Commit 29cdf23e authored by Acivico's avatar Acivico
Browse files

gunzip added

parent 715c514b
process GUNZIP {
tag { "gunzip "}
container 'ubuntu:xenial'
input:
path input_fasta
output:
path "${input_fasta.simpleName}.fa"
script:
"""
reference_fasta=\$(echo $input_fasta | sed 's/.gz//g')
if [ "${input_fasta.extension}" == "gz" ];then
gunzip -c $input_fasta >> \$reference_fasta
fi
"""
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment