annotate armdb.xml @ 8:6f0fa933b3ed draft

Uploaded
author glogobyte
date Wed, 20 Oct 2021 15:16:49 +0000
parents 97d83ccbba75
children c62fc6f7e3dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
1 <tool id="ArmDB" name="ArmDB: Generation of Pre-miRNA arm reference DB (5p and 3p arms)" version="0.1.0">
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
2 <requirements>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
3 <requirement type="package" version="2.28.0">Bedtools</requirement>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
4 <requirement type="package" version="3.7.4">python</requirement>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
5 </requirements>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
6 <command>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
7 #if $mir_input.analysis == "1":
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
8 #set path=$mir_input.genome1.fields.dbkey
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
9 python $__tool_directory__/armdb_mirbase.py -pos $positions -tool_dir $__tool_directory__ -gff3 "$path" -gen $mir_input.genome1.fields.value
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
10 #end if
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
11 #if $mir_input.analysis == "2":
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
12 #set path=$mir_input.genome2.fields.value
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
13 python $__tool_directory__/armdb_mirgene.py -pos $positions -tool_dir $__tool_directory__ -sym "$path"
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
14 #end if
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
15 </command>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
16 <inputs>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
17 <conditional name="mir_input">
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
18 <param name="analysis" type="select" label="Choose reference Mir database" help="Choose which database prefer to be used.">
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
19 <option value="1" selected="true">MirBase</option>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
20 <option value="2">MirGene</option>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
21 </param>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
22 <when value="1">
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
23 <param name="genome1" type="select" label="Choose organism" help="If your genome coordinates of interest is not listed, contact the Galaxy team">
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
24 <options from_data_table="mirbase" />
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
25 </param>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
26 </when>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
27 <when value="2">
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
28 <param name="genome2" type="select" label="Choose organism" help="If your genome coordinates of interest is not listed, contact the" >
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
29 <options from_data_table="mirgene" />
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
30 </param>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
31 </when>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
32 </conditional>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
33 <param name="positions" type="integer" min="0" max="8" value="1" label="Custom Arm length" help="Choose how many nucleotides you want to extend the 5p and 3p mature sequences to create the refernce arms" />
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
34 </inputs>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
35 <outputs>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
36 <data name="shifted_gff1" format="txt" label="Custom Bed file" from_work_dir="$__tool_directory__/shifted_mirnas.bed">
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
37 <filter>mir_input['analysis']== "1" </filter>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
38 </data>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
39 <data name="normal_gff1" format="fasta" label="Official Bed file" from_work_dir="$__tool_directory__/original_mirnas.bed" >
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
40 <filter>mir_input['analysis']== "1" </filter>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
41 </data>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
42 <data name="custom reference genome1" format="fasta" label="Custom reference arms" from_work_dir="$__tool_directory__/new_ref.fa" >
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
43 <filter>mir_input['analysis']== "1" </filter>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
44 </data>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
45
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
46 <data name="shifted_gff" format="txt" label="Mature and star miRNA sequences" from_work_dir="$__tool_directory__/shifted_mirnas.bed">
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
47 <filter>mir_input['analysis']== "2" </filter>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
48 </data>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
49 <data name="normal_gff" format="fasta" label="Primary transcripts with flanks" from_work_dir="$__tool_directory__/original_mirnas.bed" >
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
50 <filter>mir_input['analysis']== "2" </filter>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
51 </data>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
52 <data name="custom reference genome" format="fasta" label="Custom reference arms" from_work_dir="$__tool_directory__/new_ref.fa" >
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
53 <filter>mir_input['analysis']== "2" </filter>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
54 </data>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
55
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
56 </outputs>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
57 <help>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
58
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
59 </help>
97d83ccbba75 Uploaded
glogobyte
parents:
diff changeset
60 </tool>