Mercurial > repos > cpt_testbed > functionalworkflow
comparison wig_rebase.xml @ 0:f678e282b320 draft default tip
"planemo upload"
author | cpt_testbed |
---|---|
date | Fri, 06 May 2022 07:07:23 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f678e282b320 |
---|---|
1 <tool id="edu.tamu.cpt.wig.rebase" name="Rebase Wig Analysis Results" version="19.1.0.0"> | |
2 <description>against parent features</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 <import>cpt-macros.xml</import> | |
6 </macros> | |
7 <expand macro="requirements"/> | |
8 <command detect_errors="aggressive"><![CDATA[ | |
9 python $__tool_directory__/wig_rebase.py | |
10 $parent | |
11 $wigFile | |
12 | |
13 $protein2dna | |
14 --map_by "$map_by" | |
15 > $output ]]></command> | |
16 <inputs> | |
17 <param label="Parent GFF3 annotations" name="parent" format="gff3" type="data"/> | |
18 <param label="Wig Results" name="wigFile" format="wig" type="data"/> | |
19 | |
20 <param label="Map protein translated results to original DNA data" name="protein2dna" type="boolean" truevalue="--protein2dna" falsevalue=""/> | |
21 <param label="Mapping Key" name="map_by" type="text" value="ID" /> | |
22 </inputs> | |
23 <outputs> | |
24 <data format="wig" name="output"/> | |
25 </outputs> | |
26 <tests> | |
27 <test> | |
28 <param name="parent" value="T7_CLEAN.gff3"/> | |
29 <param name="wigFile" value="T7_BW_I.wig"/> | |
30 <param name="protein2dna" value="--protein2dna" /> | |
31 <param name="map_by" value="ID" /> | |
32 <output name="output" file="T7_BW_I_REBASE.wig"/> | |
33 </test> | |
34 <test> | |
35 <param name="parent" value="tmhmm.parent.gff3"/> | |
36 <param name="wigFile" value="tmhmm_m.wig"/> | |
37 <param name="protein2dna" value="--protein2dna" /> | |
38 <param name="map_by" value="ID" /> | |
39 <output name="output" file="rebased_m.wig"/> | |
40 </test> | |
41 </tests> | |
42 <help><![CDATA[ | |
43 **What it does** | |
44 | |
45 Rebases wig results against a set of gff3 annotations which were involved in producing that data. | |
46 | |
47 For example, imagine you take a gff3 file, and export the CDS sequences in | |
48 order to analyse in TMHMM. Having done this, you want to view the associated | |
49 Wig files in JBrowse with your TMHMM results. This tool will re-map the wig | |
50 data to the correct location in the parent genome. | |
51 | |
52 E.g. Given | |
53 | |
54 - A feature (gp01) runs from 2000-2200 | |
55 - A wig file with data from 1-200 | |
56 | |
57 The data would be re-mapped and you would receive a wig file with data from 2000-2200. | |
58 ]]></help> | |
59 <expand macro="citations" /> | |
60 </tool> |