diff --git a/main.nf b/main.nf index cd39819..93869d4 100644 --- a/main.nf +++ b/main.nf @@ -7,13 +7,13 @@ include { primer3_calc } from "./modules/primer3_calc/" include { primer3_results2fasta } from "./modules/primer3_results2fasta/" workflow { - ref = Channel.fromPath(params.fasta) seq = Channel.of(params.targetseq) + ref = Channel.fromPath(params.fasta) seq.view() seqkit_fetch_target(seq,ref) target = seqkit_fetch_target.out.fasta - primer3_conf(ref,target) + primer3_conf(target,ref) primer3_index(ref) primer3_calc(primer3_conf.out,primer3_index.out) primer3_results2fasta(primer3_calc.out) diff --git a/modules/primer3_conf/main.nf b/modules/primer3_conf/main.nf index ffcffd0..485b300 100644 --- a/modules/primer3_conf/main.nf +++ b/modules/primer3_conf/main.nf @@ -4,8 +4,8 @@ process primer3_conf { tag "$fasta" input: - path fasta path target + path fasta output: path "custom_primer3.conf"