Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@pditommaso
Created August 18, 2016 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pditommaso/f1a573706e2ed52a96a32a7dbfa81abc to your computer and use it in GitHub Desktop.
Save pditommaso/f1a573706e2ed52a96a32a7dbfa81abc to your computer and use it in GitHub Desktop.
Channel
.from ( 'a.vcf', 'b.vcf', 'c.vcf')
.into { vcf_files1; vcf_files2 }
process clinvar {
input:
file(vcf) from vcf_files1
output:
file 'x.txt' into vcf_res1
"""
touch x.txt
"""
}
process snpeff {
input:
file(vcf) from vcf_files2
output:
file 'y.txt' into vcf_res2
"""
touch 'y.txt'
"""
}
process combine{
echo true
input:
file(vcf1) from vcf_res1
file(vcf2) from vcf_res2
"""
echo combine $vcf1 $vcf2
"""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment