annotate cpat.xml @ 0:8e9e228c54c4 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
author bgruening
date Wed, 01 Feb 2023 19:22:06 +0000
parents
children 1ac12c0cc7a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
1 <tool id="cpat" name="CPAT" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
2 <description>coding potential assessment</description>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
3 <macros>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
4 <token name="@TOOL_VERSION@">3.0.4</token>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
6 </macros>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
7 <requirements>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">cpat</requirement>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
9 </requirements>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
10 <version_command>cpat --version</version_command>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
12 #set $gen_ext = $gene.ext
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
13 ln -s '${gene}' './gene_sequences.${gen_ext}' &&
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
14 #set $cod_ext = $c.ext
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
15 ln -s '${c}' './conding_sequences.${cod_ext}' &&
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
16 #set $ncod_ext = $n.ext
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
17 ln -s '${n}' './nonconding_sequences.${ncod_ext}' &&
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
18 #set $ref_ext = $r.ext
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
19 ln -s '${r}' './referece.${ref_ext}' &&
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
20 make_hexamer_tab.py
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
21 -c './conding_sequences.${cod_ext}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
22 -n './nonconding_sequences.${ncod_ext}' > './hexamer.tsv' &&
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
23 make_logitModel.py
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
24 -x './hexamer.tsv'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
25 -c './conding_sequences.${cod_ext}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
26 -n './nonconding_sequences.${ncod_ext}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
27 -r './referece.${ref_ext}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
28 --start='${start}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
29 --stop='${stop}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
30 --min-orf=$min_orf_model
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
31 -o './logit_model' &&
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
32 cpat.py --verbose
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
33 -x './hexamer.tsv'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
34 -d './logit_model.logit.RData'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
35 -g './gene_sequences.${gen_ext}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
36 --top-orf=$top_orf
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
37 --antisense
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
38 --start='${start}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
39 --stop='${stop}'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
40 --min-orf=$min_orf_cpat
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
41 $antisense
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
42 --top-orf=$top_orf
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
43 --best-orf=$best_orf
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
44 -o 'output'
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
45 ]]>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
46 </command>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
47 <inputs>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
48 <param argument="--gene" type="data" format="fasta,fasta.gz" label="Query nucletide sequences" help="It is recommended to use short and unique sequence identifiers"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
49 <param argument="-r" type="data" format="fasta,fasta.gz" label="Reference genome" help="Reference genome sequences in FASTA format" />
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
50 <param argument="-c" type="data" format="fasta,fasta.gz" label="Coding sequences file" help="Coding sequence (must be CDS without UTR, i.e. from start coden to stop coden) in FASTA format" />
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
51 <param argument="-n" type="data" format="fasta,fasta.gz" label="Non coding sequeces file" help="Noncoding sequences in FASTA format" />
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
52 <param argument="--start" type="text" value="ATG" label="Start codon">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
53 <sanitizer invalid_char="">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
54 <valid initial="string.letters"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
55 </sanitizer>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
56 <validator type="regex">[a-zA-Z]+</validator>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
57 </param>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
58 <param argument="--stop" type="text" value="TAG,TAA,TGA" label="Stop codons">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
59 <sanitizer invalid_char="">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
60 <valid initial="string.letters">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
61 <add value="," />
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
62 </valid>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
63 </sanitizer>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
64 <validator type="regex">[a-zA-Z,]+</validator>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
65 </param>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
66 <param argument="--min-orf" name="min_orf_model" type="integer" min="0" value="30" label="Minimum ORF length" help="Minimum ORF length in nucleotides" />
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
67 <param argument="--min-orf" name="min_orf_cpat" type="integer" min="0" value="75" label="Minimum ORF length" help="Minimum ORF length in nucleotides" />
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
68 <param argument="--antisense" type="boolean" truevalue="--antisense" falsevalue="" checked="false" label="Search for ORFs from the anti-sense strand"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
69 <param argument="--top-orf" type="integer" min="0" value="5" label="Number of ORF candidates reported" help="RNAs may have dozens of putative ORFs, in most cases, the real ORF
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
70 is ranked (by size) in the top several" />
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
71 <param argument="--best-orf" type="select" label="Criteria to select the best ORF">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
72 <option value="l">ORF length (l)</option>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
73 <option value="p" selected="true">Coding probability (p)</option>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
74 </param>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
75 </inputs>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
76 <outputs>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
77 <data name="orf_seqs" format="fasta" from_work_dir="output.ORF_seqs.fa" label="${tool.name} on ${on_string}: ORF sequences (FASTA)"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
78 <data name="orf_seqs_prob" format="tsv" from_work_dir="output.ORF_prob.tsv" label="${tool.name} on ${on_string}: ORF probabiities (TSV)"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
79 <data name="orf_seqs_prob_best" format="tsv" from_work_dir="output.ORF_prob.best.tsv" label="${tool.name} on ${on_string}: ORF best probabilities (TSV)"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
80 <data name="no_orf_seqs" format="txt" from_work_dir="output.no_ORF.txt" label="${tool.name} on ${on_string}: no ORFs (TXT)"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
81 </outputs>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
82 <tests>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
83 <test expect_num_outputs="4">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
84 <param name="gene" value="sequences.fasta.gz"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
85 <param name="r" value="sequences.fasta.gz"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
86 <param name="c" value="sequences.fasta.gz"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
87 <param name="n" value="sequences.fasta.gz"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
88 <param name="start" value="ATG"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
89 <param name="stop" value="TAG,TAA,TGA"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
90 <param name="min_orf_model" value="30"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
91 <param name="min_orf_cpat" value="75"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
92 <param name="antisense" value="false"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
93 <param name="top_orf" value="5"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
94 <param name="best_orf" value="l"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
95 <output name="orf_seqs" ftype="fasta">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
96 <assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
97 <has_text text=">ENST00000616016.5_ORF_1"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
98 <has_n_lines n="41009"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
99 </assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
100 </output>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
101 <output name="orf_seqs_prob" ftype="tsv">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
102 <assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
103 <has_text text="ENST00000616016.5_ORF_1"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
104 <has_n_lines n="6237"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
105 </assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
106 </output>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
107 <output name="orf_seqs_prob_best" ftype="tsv">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
108 <assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
109 <has_text text="ENST00000683977.1"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
110 <has_n_lines n="1301" delta="5"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
111 </assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
112 </output>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
113 <output name="no_orf_seqs" file="test01_no_orgs.txt" ftype="txt"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
114 </test>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
115 <test expect_num_outputs="4">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
116 <param name="gene" value="sequences.fasta.gz"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
117 <param name="r" value="sequences.fasta.gz"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
118 <param name="c" value="sequences.fasta.gz"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
119 <param name="n" value="sequences.fasta.gz"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
120 <param name="start" value="ATG"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
121 <param name="stop" value="TAG,TAA,TGA"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
122 <param name="min_orf_model" value="15"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
123 <param name="min_orf_cpat" value="60"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
124 <param name="antisense" value="true"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
125 <param name="top_orf" value="10"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
126 <param name="best_orf" value="p"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
127 <output name="orf_seqs" ftype="fasta">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
128 <assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
129 <has_text text=">ENST00000616016.5_ORF_1"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
130 <has_n_lines n="57357"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
131 </assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
132 </output>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
133 <output name="orf_seqs_prob" ftype="tsv">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
134 <assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
135 <has_text text="ENST00000616016.5_ORF_1"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
136 <has_n_lines n="11667"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
137 </assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
138 </output>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
139 <output name="orf_seqs_prob_best" ftype="tsv">
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
140 <assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
141 <has_text text="ENST00000683977.1"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
142 <has_n_lines n="1301"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
143 </assert_contents>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
144 </output>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
145 <output name="no_orf_seqs" file="test02_no_orgs.txt" ftype="txt"/>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
146 </test>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
147 </tests>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
148 <help><![CDATA[
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
149
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
150 .. class:: infomark
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
151
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
152 **Purpose**
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
153
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
154 CPAT is a bioinformatics tool to predict RNAs coding probability based on the RNA sequence characteristics. To achieve this goal, CPAT calculates scores of these 4 linguistic features
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
155 from a set of known protein-coding genes and another set of non-coding genes.
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
156
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
157 - ORF size
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
158 - ORF coverage
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
159 - Fickett TESTCODE
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
160 - Hexamer usage bias
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
161
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
162 CPAT will then builds a logistic regression model using these 4 features as predictor variables and the “protein-coding status” as the response variable. After evaluating the performance
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
163 and determining the probability cutoff, the model can be used to predict new RNA sequences.
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
164
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
165 ]]></help>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
166 <citations>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
167 <citation type="doi">10.1093/nar/gkt006</citation>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
168 </citations>
8e9e228c54c4 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cpat commit 1903b0d45ff57d20d6e3a9b95fa55ad6d4a0f345
bgruening
parents:
diff changeset
169 </tool>