Mercurial > repos > fubar > egapx_runner
comparison nf/subworkflows/ncbi/gnomon-training-iteration/utilities.nf @ 0:d9c5c5b87fec draft
planemo upload for repository https://github.com/ncbi/egapx commit 8173d01b08d9a91c9ec5f6cb50af346edc8020c4
author | fubar |
---|---|
date | Sat, 03 Aug 2024 11:16:53 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d9c5c5b87fec |
---|---|
1 #!/usr/bin/env nextflow | |
2 nextflow.enable.dsl=2 | |
3 // nextflow.preview.recursion=true | |
4 | |
5 include { chainer_wnode as chainer } from '../gnomon/chainer_wnode/main' | |
6 include { gnomon_wnode } from '../gnomon/gnomon_wnode/main' | |
7 include { gnomon_training } from '../gnomon/gnomon_training/main' | |
8 | |
9 | |
10 workflow gnomon_training_iteration { | |
11 take: | |
12 models_file | |
13 genome_asn | |
14 proteins_asn | |
15 chainer_alignments | |
16 chainer_evidence_denylist | |
17 chainer_gap_fill_allowlist | |
18 chainer_trusted_genes | |
19 chainer_scaffolds | |
20 gnomon_softmask_lds2 | |
21 gnomon_softmask_lds2_source | |
22 gnomon_scaffolds | |
23 max_intron | |
24 parameters | |
25 main: | |
26 | |
27 chainer(chainer_alignments, models_file, chainer_evidence_denylist, chainer_gap_fill_allowlist, chainer_scaffolds, chainer_trusted_genes, genome_asn, proteins_asn, parameters.get('chainer', [:])) | |
28 gnomon_wnode(gnomon_scaffolds, chainer.out.chains, chainer.out.chains_slices, models_file, gnomon_softmask_lds2, gnomon_softmask_lds2_source, genome_asn, proteins_asn, parameters.get('gnomon', [:])) | |
29 gnomon_training(genome_asn, gnomon_wnode.out.outputs, max_intron, parameters.get('gnomon_training', [:])) | |
30 | |
31 emit: | |
32 hmm_params_file = gnomon_training.out.hmm_params_file | |
33 genome_asn = genome_asn | |
34 proteins_asn = proteins_asn | |
35 chainer_alignments = chainer_alignments | |
36 chainer_evidence_denylist = chainer_evidence_denylist | |
37 chainer_gap_fill_allowlist = chainer_gap_fill_allowlist | |
38 chainer_trusted_genes = chainer_trusted_genes | |
39 chainer_scaffolds = chainer_scaffolds | |
40 gnomon_softmask_lds2 = gnomon_softmask_lds2 | |
41 gnomon_softmask_lds2_source = gnomon_softmask_lds2_source | |
42 gnomon_scaffolds = gnomon_scaffolds | |
43 max_intron = max_intron | |
44 parameters = parameters | |
45 } |