-
-
Save pditommaso/f1a573706e2ed52a96a32a7dbfa81abc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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