comparison mirmachine.xml @ 1:85010d0eaa6c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mirmachine commit 305061c25b6fcf54d960f17c2cad15c30fb2e26a
author iuc
date Wed, 27 Mar 2024 08:19:03 +0000
parents f2e87c81497d
children ef6ed729b69a
comparison
equal deleted inserted replaced
0:f2e87c81497d 1:85010d0eaa6c
7 <command detect_errors="exit_code"><![CDATA[ 7 <command detect_errors="exit_code"><![CDATA[
8 ln -sf '$genome' ./genome.fasta && 8 ln -sf '$genome' ./genome.fasta &&
9 MirMachine.py 9 MirMachine.py
10 -n '$input_node' 10 -n '$input_node'
11 -s '$input_species' 11 -s '$input_species'
12 -m '$model'
13 $a
14 $o
12 --genome ./genome.fasta 15 --genome ./genome.fasta
13 -c \${GALAXY_SLOTS:-8} 16 -c \${GALAXY_SLOTS:-8}
14 && 17 &&
15 mv results/predictions/filtered_gff/*.PRE.gff species_filtered.PRE.gff && 18 mv results/predictions/filtered_gff/*.PRE.gff species_filtered.PRE.gff &&
16 mv results/predictions/gff/*.PRE.gff species.PRE.gff && 19 mv results/predictions/gff/*.PRE.gff species.PRE.gff &&
27 <add value="_"/> 30 <add value="_"/>
28 </valid> 31 </valid>
29 </sanitizer> 32 </sanitizer>
30 <validator type="regex">[a-zA-Z_]+</validator> 33 <validator type="regex">[a-zA-Z_]+</validator>
31 </param> 34 </param>
35 <param type="select" name="model" label="Model" help="Model type: deutero, proto, combined">
36 <expand macro="model_options"/>
37 </param>
38 <param type="boolean" optional="true" truevalue="-a" falsevalue="" argument="-a" label="Add all nodes" help="Move on the tree both ways"/>
39 <param type="boolean" optional="true" truevalue="-o" falsevalue="" argument="-o" label="Single node only" help="Run only on the given node for miRNA families"/>
32 </inputs> 40 </inputs>
33 <outputs> 41 <outputs>
34 <data name="gff_file" format="gff" from_work_dir="species.PRE.gff" label="${tool.name} on ${on_string}: GFF file"/> 42 <data name="gff_file" format="gff" from_work_dir="species.PRE.gff" label="${tool.name} on ${on_string}: GFF file"/>
35 <data name="filtered_gff_file" format="gff" from_work_dir="species_filtered.PRE.gff" label="${tool.name} on ${on_string}: filtered GFF file"/> 43 <data name="filtered_gff_file" format="gff" from_work_dir="species_filtered.PRE.gff" label="${tool.name} on ${on_string}: filtered GFF file"/>
36 <data name="fasta_file" format="fasta" from_work_dir="species.PRE.fasta" label="${tool.name} on ${on_string}: fasta sequence of annotation miRNAs"/> 44 <data name="fasta_file" format="fasta" from_work_dir="species.PRE.fasta" label="${tool.name} on ${on_string}: fasta sequence of annotation miRNAs"/>
54 <assert_contents> 62 <assert_contents>
55 <has_n_lines n="24" delta="0"/> 63 <has_n_lines n="24" delta="0"/>
56 </assert_contents> 64 </assert_contents>
57 </output> 65 </output>
58 </test> 66 </test>
67 <test expect_num_outputs="3">
68 <param name="genome" value="ref.fa"/>
69 <param name="input_node" value="Caenorhabditis"/>
70 <param name="input_species" value="Caenorhabditis_elegans"/>
71 <param name="a" value="true"/>
72 <output name="gff_file">
73 <assert_contents>
74 <has_n_lines n="24" delta="0"/>
75 </assert_contents>
76 </output>
77 <output name="filtered_gff_file">
78 <assert_contents>
79 <has_n_lines n="15" delta="0"/>
80 </assert_contents>
81 </output>
82 <output name="fasta_file">
83 <assert_contents>
84 <has_n_lines n="24" delta="0"/>
85 </assert_contents>
86 </output>
87 </test>
88 <test expect_num_outputs="3">
89 <param name="genome" value="ref.fa"/>
90 <param name="input_node" value="Caenorhabditis"/>
91 <param name="input_species" value="Caenorhabditis_elegans"/>
92 <param name="o" value="true"/>
93 <output name="gff_file">
94 <assert_contents>
95 <has_n_lines n="19" delta="0"/>
96 </assert_contents>
97 </output>
98 <output name="filtered_gff_file">
99 <assert_contents>
100 <has_n_lines n="12" delta="0"/>
101 </assert_contents>
102 </output>
103 <output name="fasta_file">
104 <assert_contents>
105 <has_n_lines n="14" delta="0"/>
106 </assert_contents>
107 </output>
108 </test>
59 </tests> 109 </tests>
60 <help><![CDATA[ 110 <help><![CDATA[
61 111
62 Accurate microRNA annotation of animal genomes using trained covariance models of curated microRNA complements. MirMachine facilitates automated genome annotation pipelines and deeper studies into the evolution of genome regulation, even in extinct organisms. 112 Accurate microRNA annotation of animal genomes using trained covariance models of curated microRNA complements. MirMachine facilitates automated genome annotation pipelines and deeper studies into the evolution of genome regulation, even in extinct organisms.
63 113
114 The MirMachine main executable will generate GFF annotations (filtered and unfiltered) and some other files
115
116 `gff` All predicted miRNA families
117 `filtered_gff` High confidence miRNA family predictions after bitscore filtering. (This file is what you need in most cases)
118 `fasta` Both high and low confidence predictions in FASTA format
119
120 miRNA prediction score is given in the header of the output filtered gff file
64 ]]></help> 121 ]]></help>
65 <expand macro="citations"/> 122 <expand macro="citations"/>
66 <expand macro="creator"/> 123 <expand macro="creator"/>
67 </tool> 124 </tool>