Mercurial > repos > galaxyp > gffcompare_to_bed
annotate gffcompare_to_bed.xml @ 1:0f62097d7c1a draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
author | galaxyp |
---|---|
date | Fri, 26 Apr 2019 14:42:31 -0400 |
parents | 7e572e148175 |
children | 9a4cfc910674 |
rev | line source |
---|---|
1
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
1 <tool id="gffcompare_to_bed" name="Convert gffCompare annotated GTF to BED" version="0.2.0"> |
0
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
2 <description>for StringTie results</description> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
3 <command detect_errors="exit_code"><![CDATA[ |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
4 python '$__tool_directory__/gffcompare_to_bed.py' |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
5 #if $class_codes: |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
6 --class_code='$class_codes' |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
7 #end if |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
8 $input $output |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
9 ]]></command> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
10 <inputs> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
11 <param name="input" type="data" format="gtf" label="GTF annotated by gffCompare"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
12 <param name="class_codes" type="select" display="checkboxes" multiple="true" optional="true" |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
13 label="filter gffCompare class_codes to convert" help="No selection implies no filtering"> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
14 <option value="=">= : Complete match of intron chain</option> |
1
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
15 <option value="~">~ : Intron chain match or single-exon (gffcompare strict-match)</option> |
0
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
16 <option value="c">c : Contained</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
17 <option value="j">j : Potentially novel isoform (fragment): at least one splice junction is shared with a reference transcript</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
18 <option value="e">e : Single exon transfrag overlapping a reference exon and at least 10 bp of a reference intron, indicating a possible pre-mRNA fragment.</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
19 <option value="i">i : A transfrag falling entirely within a reference intron</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
20 <option value="o">o : Generic exonic overlap with a reference transcript</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
21 <option value="p">p : Possible polymerase run-on fragment (within 2Kbases of a reference transcript)</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
22 <option value="r">r : Repeat. Currently determined by looking at the soft-masked reference sequence and applied to transcripts where at least 50% of the bases are lower case</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
23 <option value="u">u : Unknown, intergenic transcript</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
24 <option value="x">x : Exonic overlap with reference on the opposite strand</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
25 <option value="s">s : An intron of the transfrag overlaps a reference intron on the opposite strand (likely due to read mapping errors)</option> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
26 </param> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
27 </inputs> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
28 <outputs> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
29 <data name="output" format="bed" /> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
30 </outputs> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
31 <tests> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
32 <test> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
33 <param name="input" value="gffcompare_annotated.gtf" ftype="gtf"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
34 <output name="output" file="gffcompare_output.bed"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
35 </test> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
36 <test> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
37 <param name="input" value="gffcompare_annotated.gtf" ftype="gtf"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
38 <param name="class_codes" value="j"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
39 <output name="output" file="gffcompare_output_j.bed"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
40 </test> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
41 <test> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
42 <param name="input" value="gffcompare_annotated.gtf" ftype="gtf"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
43 <param name="class_codes" value="j,e,i,p,u,x"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
44 <output name="output" file="gffcompare_output_jeipux.bed"/> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
45 </test> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
46 |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
47 </tests> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
48 <help><![CDATA[ |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
49 Convert a GFFCompare annotated GTF file to BED format. |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
50 |
1
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
51 A typical workflow: |
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
52 |
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
53 .. image:: GTF2Bed_workflow.png |
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
54 :height: 308 |
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
55 :width: 750 |
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
56 |
0
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
57 usage: gffcompare_to_bed.py [-h] [-C CLASS_CODE] [-v] [-d] input output |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
58 |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
59 positional arguments: |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
60 input GFFCompare annotated GTF file, (-) for stdin |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
61 output BED file, (-) for stdout |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
62 |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
63 optional arguments: |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
64 -h, --help show this help message and exit |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
65 -C CLASS_CODE, --class_code CLASS_CODE |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
66 Restrict output to gffcompare class codes |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
67 -d, --debug Debug |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
68 |
1
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
69 For class_code definitions see gffcompare documentation: |
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
70 http://ccb.jhu.edu/software/stringtie/gffcompare.shtml#transfrag-class-codes |
0f62097d7c1a
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit e5ab6444aa2f104eedfa366bee05f65edef02d82
galaxyp
parents:
0
diff
changeset
|
71 |
0
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
72 ]]></help> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
73 <citations> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
74 <citation type="doi">10.1038/nbt.1621</citation> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
75 </citations> |
7e572e148175
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/gffcompare_to_bed commit 321b217382f6be33bd77c7dbb51c8caf5fa50afe
galaxyp
parents:
diff
changeset
|
76 </tool> |