// Generate error-free reads using dwgsim
dwgsim_outputs = dwgsim(introduce_stop_codon.out.mutated_fa)
// Create channel from dwgsim output file pairs
paired_fq_ch = Channel.fromFilePairs(‘dwgsim_output/dwgsim_output/*mutated{1,2}.fq’, checkIfExists: true)
// Run snippy on dwgsim outputs
snippy_outputs = snippy(reference_ch, paired_fq_ch)
}
I want to send pair reads i.e. fq1 and fq2 produced from dwgsim as samples to snippy alongwith reference file but Channel.fromFilePairs not working. How to do it?
I tried using Channel.fromFilePairs, it did not work.. I am expecting fastq file pairs.
Javeria Munawar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.