annotate gffread.xml @ 6:6ea09f60dee9 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
author iuc
date Fri, 01 Nov 2019 12:54:52 -0400
parents 69e0806b63a4
children 4dea02886337
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
1 <tool id="gffread" name="gffread" version="@VERSION@.1">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
2 <description>Filters and/or converts GFF3/GTF2 records</description>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
3 <macros>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
4 <token name="@VERSION@">0.11.4</token>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
5 <xml name="fasta_output_select">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
6 <param name="fa_outputs" type="select" display="checkboxes" multiple="true" label="Select fasta outputs">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
7 <option value="-w exons.fa">fasta file with spliced exons for each GFF transcript (-w exons.fa)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
8 <option value="-x cds.fa">fasta file with spliced CDS for each GFF transcript (-x cds.fa)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
9 <option value="-y pep.fa">protein fasta file with the translation of CDS for each record (-y pep.fa)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
10 <option value="-W">for each fasta: record the exon coordinates projected onto the spliced sequence (-W)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
11 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
12 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
13 <xml name="ref_filtering_select">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
14 <param name="ref_filtering" type="select" display="checkboxes" multiple="true" label="reference based filters">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
15 <option value="-N">discard multi-exon mRNAs that have any intron with a non-canonical splice site consensus, i.e. not GT-AG, GC-AG or AT-AC (-N)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
16 <option value="-J">discard any mRNAs that either lack initial START codon or the terminal STOP codon, or have an in-frame stop codon (-J)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
17 <option value="-V">discard any mRNAs with CDS having in-frame stop codons (-V)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
18 <option value="-H">check and adjust the starting CDS phase if the original phase leads to a translation with an in-frame stop codon (-H with -V)</option>
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
19 <!-- gffread bug: B not in missing from param to the arg parser
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
20 <option value="-B">single-exon transcripts are also checked on the opposite strand (-B with -V)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
21 -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
22 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
23 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
24 <xml name="trackname">
1
48fe74f391ab planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
25 <param name="tname" type="text" value="" optional="true" label="Trackname to use in the second column of each GFF output line" help="(-t track_name}">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
26 <validator type="regex">\w+</validator>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
27 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
28 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
29 <xml name="merge_opts">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
30 <option value="-K">also collapse shorter, fully contained transcripts with fewer introns than the container (-K)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
31 <option value="-Q">remove the containment restriction: multi-exon transcripts will be collapsed if just their introns match, while single-exon transcripts can partially overlap 80% (-Q)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
32 <option value="-d dupinfo">output collapsing info (-d dupinfo)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
33 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
34 <xml name="cluster_opts">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
35 <option value="--force-exons"> make sure that the lowest level GFF features are printed as 'exon' features (--force-exons)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
36 <option value="-Z">merge close exons into a single exon (for intron size &lt; 4) (-Z)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
37 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
38 <xml name="merge_opt_sel">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
39 <param name="merge_options" type="select" display="checkboxes" multiple="true" label="Merge options">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
40 <expand macro="cluster_opts" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
41 <expand macro="merge_opts" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
42 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
43 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
44 <xml name="cluster_opt_sel">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
45 <param name="merge_options" type="select" display="checkboxes" multiple="true" label="Cluster options">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
46 <expand macro="cluster_opts" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
47 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
48 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
49 </macros>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
50 <requirements>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
51 <requirement type="package" version="@VERSION@">gffread</requirement>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
52 </requirements>
4
0232f19d300f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 82ee6fc860c52c531b7a57bbb346ab1a67a434a5
devteam
parents: 3
diff changeset
53 <command detect_errors="aggressive">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
54 <![CDATA[
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
55 #if $reference_genome.source == 'history':
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
56 ln -s '$reference_genome.genome_fasta' genomeref.fa &&
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
57 #end if
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
58 gffread '$input'
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
59 #if $reference_genome.source == 'cached':
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
60 -g '${reference_genome.fasta_indexes.fields.path}'
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
61 #if $reference_genome.ref_filtering and str($reference_genome.ref_filtering) != '':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
62 #echo ' '.join(str($reference_genome.ref_filtering).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
63 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
64 #elif $reference_genome.source == 'history':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
65 -g genomeref.fa
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
66 #if $reference_genome.ref_filtering and str($reference_genome.ref_filtering) != '':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
67 #echo ' '.join(str($reference_genome.ref_filtering).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
68 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
69 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
70 #if $filtering and str($filtering) != '':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
71 #echo " "
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
72 #echo ' '.join(str($filtering).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
73 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
74 #if $maxintron and $maxintron > 0:
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
75 -i $maxintron
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
76 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
77 #if $region.region_filter == 'filter':
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
78 -r '$region.range' $region.discard_partial
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
79 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
80 #if $merging.merge_sel != 'none':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
81 $merging.merge_cmd
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
82 #if $merging.merge_options:
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
83 #echo ' '.join(str($merging.merge_options).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
84 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
85 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
86 #if $chr_replace:
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
87 -m '$chr_replace'
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
88 #end if
5
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
89
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
90 $full_gff_attribute_preservation
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
91 $decode_url
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
92 $expose
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
93
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
94 ##
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
95 ## Although documented, does not appear to be used in the gffread code
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
96 ## #if $seq_info:
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
97 ## -A -s "$seq_info"
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
98 ## #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
99 ##
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
100 ## outputs
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
101 #if $reference_genome.source != 'none':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
102 #if $reference_genome.fa_outputs and str($reference_genome.fa_outputs) != '':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
103 #echo ' ' + ' '.join(str($reference_genome.fa_outputs).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
104 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
105 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
106 #if $gffs.gff_fmt != 'none':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
107 #if $gffs.tname:
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
108 -t '$gffs.tname'
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
109 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
110 #if $gffs.gff_fmt == 'gff':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
111 #if $input.datatype.file_ext == 'gft':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
112 $gffs.ensembl
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
113 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
114 $gffs.output_cmd
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
115 #elif $gffs.gff_fmt == 'gtf':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
116 $gffs.output_cmd
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
117 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
118 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
119 ]]>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
120 </command>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
121 <inputs>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
122 <param name="input" type="data" format="gff3,gtf" label="Input GFF3 or GTF feature file"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
123 <!-- filtering -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
124 <param name="filtering" type="select" display="checkboxes" multiple="true" label="filters">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
125 <option value="-U">discard single-exon transcripts (-U)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
126 <option value="-C">coding only: discard mRNAs that have no CDS feature (-C)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
127 <option value="-G">only parse additional exon attributes from the first exon and move them to the mRNA level (useful for GTF input) (-G)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
128 <option value="-O">process also non-transcript GFF records (by default non-transcript records are ignored) (-O)</option>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
129 <!-- The no-pseudo option is broken in 0.11.4 of gffread.
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
130 See https://github.com/gpertea/gffread/issues/43 -->
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
131 <!-- <option value="\-\-no-pseudo">filter out records matching the 'pseudo' keyword (\-\-no-pseudo)</option> -->
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
132 </param>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
133 <conditional name="region">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
134 <param name="region_filter" type="select" label="Filter by genome region">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
135 <option value="none">No</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
136 <option value="filter">Yes</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
137 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
138 <when value="none"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
139 <when value="filter">
1
48fe74f391ab planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
140 <param name="range" type="text" value="" label="Only show transcripts overlapping coordinate range">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
141 <help><![CDATA[
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
142 (-r [['strand']'chr':]'start'..'end') <br>
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
143 examples: <br>
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
144 1000..500000 <br>
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
145 chr1:1000..500000 <br>
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
146 +chr1:1000..500000 <br>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
147 -chr1:1000..500000
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
148 ]]>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
149 </help>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
150 <validator type="regex">(([+-])?(\w+:))?\d+\.\.\d+</validator>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
151 </param>
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
152 <param name="discard_partial" type="boolean" truevalue="-R" falsevalue="" checked="false"
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
153 label="Discard all transcripts that are not fully contained within the given range" help="(-R)"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
154 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
155 </conditional>
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
156 <param name="maxintron" type="integer" value="" optional="true" min="0" label="Filter out transcipts with large introns"
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
157 help="If set, discard transcripts having an intron larger (-i max_intron)"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
158 <param name="chr_replace" type="data" format="tabular" optional="true" label="Replace reference sequence names" >
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
159 <help><![CDATA[(-m chr_replace) <br>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
160 chr_replace is a reference sequence replacement table consisting of 2 columns: "original_ref_ID" "new_ref_ID"<br>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
161 It is useful for switching between Ensembl and UCSC naming conventions <br>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
162 NOTE: GFF records on reference sequences that are not found among the "original_ref_ID" entries in this file will be filtered out
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
163 ]]>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
164 </help>
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
165 </param>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
166
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
167 <!-- Although documented, does not appear to be used in the gffread code
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
168 <param name="seq_info" type="data" format="tabular" optional="true" label="Use the description field as the value for a 'descr' attribute to the GFF record">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
169 <help>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
170 (-s seq_info.fsize -A) useful with mRNA/EST/protein mappings &lt;br&gt;
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
171 seq_info input file is a 3 column tab-delimited file providing this info for each of the mapped sequences: &lt;br&gt;
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
172 "seq-name" "seq-length" "seq-description" &lt;br&gt;
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
173 </help>
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
174 </param>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
175 -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
176
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
177 <!-- merging -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
178 <conditional name="merging">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
179 <param name="merge_sel" type="select" label="Transcript merging" help="(-M/--merge or --cluster-only)">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
180 <option value="none">none</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
181 <option value="merge">merge: cluster the input transcripts into loci, collapsing matching transcripts</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
182 <option value="cluster">cluster-only: merge but without collapsing matching transcripts</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
183 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
184 <when value="none"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
185 <when value="merge">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
186 <param name="merge_cmd" type="hidden" value="--merge"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
187 <expand macro="merge_opt_sel" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
188 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
189 <when value="cluster">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
190 <param name="merge_cmd" type="hidden" value="--cluster-only"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
191 <expand macro="cluster_opt_sel" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
192 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
193 </conditional>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
194 <!-- reference sequence file -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
195 <!-- Error: -g option is required for options -w, -x, -y, -V, -N, -M -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
196 <conditional name="reference_genome">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
197 <param name="source" type="select" label="Reference Genome" help="(-g genome.fasta) NOTE: Required for fasta outputs">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
198 <option value="none">none</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
199 <option value="cached"></option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
200 <option value="history">From your history</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
201 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
202 <when value="none">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
203 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
204 <when value="cached">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
205 <param name="fasta_indexes" type="select" label="Source FASTA Sequence">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
206 <options from_data_table="all_fasta"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
207 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
208 <expand macro="ref_filtering_select" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
209 <expand macro="fasta_output_select" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
210 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
211 <when value="history">
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
212 <param name="genome_fasta" type="data" format="fasta" label="Genome Reference Fasta"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
213 <expand macro="ref_filtering_select" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
214 <expand macro="fasta_output_select" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
215 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
216 </conditional>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
217
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
218 <!-- outputs -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
219 <conditional name="gffs">
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
220 <param name="gff_fmt" type="select" label="Feature File Output" help="(-o output.gff3|output.gtf)">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
221 <option value="none">none</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
222 <option value="gff">GFF</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
223 <option value="gtf">GTF</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
224 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
225 <when value="none">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
226 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
227 <when value="gff">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
228 <param name="output_cmd" type="hidden" value="-o output.gff3"/>
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
229 <param name="ensembl" type="boolean" truevalue="-L" falsevalue="" checked="false" label="Ensembl GTF to GFF3 conversion" help="(-L)"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
230 <expand macro="trackname" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
231 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
232 <when value="gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
233 <param name="output_cmd" type="hidden" value="-T -o output.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
234 <expand macro="trackname" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
235 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
236 </conditional>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
237
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
238 <param name="full_gff_attribute_preservation" type="boolean" truevalue="-F" falsevalue="" checked="false"
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
239 label="full GFF attribute preservation (all attributes are shown)" help="(-F)"/>
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
240 <param name="decode_url" type="boolean" truevalue="-D" falsevalue="" checked="false"
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
241 label="decode url encoded characters within attributes" help="(-D)"/>
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
242 <param name="expose" type="boolean" truevalue="-E" falsevalue="" checked="false"
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
243 label="warn about duplicate transcript IDs and other potential problems with the given GFF/GTF records" help="(-E)"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
244
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
245 </inputs>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
246 <outputs>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
247 <data name="output_gff" format="gff3" metadata_source="input" label="${tool.name} on ${on_string}: gff3" from_work_dir="output.gff3">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
248 <filter>gffs['gff_fmt'] == 'gff'</filter>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
249 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
250 <data name="output_gtf" format="gtf" metadata_source="input" label="${tool.name} on ${on_string}: gtf" from_work_dir="output.gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
251 <filter>gffs['gff_fmt'] == 'gtf'</filter>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
252 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
253 <data name="output_exons" format="fasta" label="${tool.name} on ${on_string}: exons.fa" from_work_dir="exons.fa">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
254 <filter>'fa_outputs' in reference_genome and str(reference_genome['fa_outputs']).find('exons.fa') > 0 </filter>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
255 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
256 <data name="output_cds" format="fasta" label="${tool.name} on ${on_string}: cds.fa" from_work_dir="cds.fa">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
257 <filter>'fa_outputs' in reference_genome and str(reference_genome['fa_outputs']).find('cds.fa') > 0</filter>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
258 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
259 <data name="output_pep" format="fasta" label="${tool.name} on ${on_string}: pep.fa" from_work_dir="pep.fa">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
260 <filter>'fa_outputs' in reference_genome and str(reference_genome['fa_outputs']).find('pep.fa') > 0</filter>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
261 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
262 <data name="output_dupinfo" format="txt" label="${tool.name} on ${on_string}: dupinfo" from_work_dir="dupinfo">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
263 <filter>'merge_options' in merging and merging['merge_options'].find('dupinfo') > 0</filter>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
264 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
265 </outputs>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
266 <tests>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
267 <test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
268 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
269 <param name="gff_fmt" value="gff"/>
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
270 <output name="output_gff" file="Homo_sapiens.GRCh37_19.71.gff3" ftype="gff3" lines_diff="2" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
271 </test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
272
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
273 <test>
5
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
274 <param name="input" ftype="gtf" value="ecoli-k12.gff3"/>
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
275 <param name="gff_fmt" value="gff"/>
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
276 <param name="full_gff_attribute_preservation" value="-F"/>
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
277 <output name="output_gff" file="ecoli-k12.processed.gff3" ftype="gff3" lines_diff="2" />
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
278 </test>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
279
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
280 <!-- The no-pseudo option is broken in 0.11.4 of gffread.
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
281 See https://github.com/gpertea/gffread/issues/43 -->
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
282 <!--
5
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
283 <test>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
284 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
285 <param name="filtering" value="/-/-no-pseudo"/> # Fix dashes when uncommenting
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
286 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
287 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
288 <assert_contents>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
289 <not_has_text text="pseudo" />
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
290 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
291 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
292 </test>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
293 -->
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
294
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
295 <test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
296 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
297 <param name="region_filter" value="filter"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
298 <param name="range" value="19:496500..504965"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
299 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
300 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
301 <assert_contents>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
302 <has_text text="ENST00000587541" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
303 <has_text text="ENST00000382683" />
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
304 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
305 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
306 </test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
307
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
308 <test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
309 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
310 <param name="region_filter" value="filter"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
311 <param name="range" value="19:496500..504965"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
312 <param name="discard_partial" value="true"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
313 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
314 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
315 <assert_contents>
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
316 <not_has_text text="ENST00000587541" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
317 <has_text text="ENST00000382683" />
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
318 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
319 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
320 </test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
321
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
322 <test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
323 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
324 <param name="filtering" value="-C"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
325 <param name="region_filter" value="filter"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
326 <param name="range" value="19:496500..504965"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
327 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
328 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
329 <assert_contents>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
330 <not_has_text text="ENST00000587541" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
331 <has_text text="ENST00000382683" />
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
332 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
333 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
334 </test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
335
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
336 <test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
337 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
338 <param name="source" value="history"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
339 <param name="genome_fasta" ftype="fasta" value="Homo_sapiens.GRCh37.71.dna.chromosome.19.fa"/>
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
340 <param name="fa_outputs" value="-w exons.fa,-x cds.fa,-y pep.fa"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
341 <param name="region_filter" value="filter"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
342 <param name="range" value="19:496500..504965"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
343 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
344 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
345 <assert_contents>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
346 <has_text text="ENST00000587541" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
347 <has_text text="ENST00000382683" />
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
348 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
349 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
350 <output name="output_exons">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
351 <assert_contents>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
352 <has_text text="ENST00000346144 CDS=47-934" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
353 <has_text text="CTATTTAAGCGGCTTCCCCGCGGCCTCGGGACAGAGGGGACTGAGCATGGATTTCGGACTGGCCCTCCTG" />
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
354 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
355 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
356 <output name="output_cds">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
357 <assert_contents>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
358 <has_text text="ENST00000346144" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
359 <has_text text="ATGGATTTCGGACTGGCCCTCCTGCTGGCGGGGCTTCTGGGGCTCCTCCTCGGCCAGTCCCTCCAGGTGA" />
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
360 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
361 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
362 <output name="output_pep">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
363 <assert_contents>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
364 <has_text text="ENST00000346144" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
365 <has_text text="MDFGLALLLAGLLGLLLGQSLQVKPLQVEPPEPVVAVALGASRQLTCRLACADRGASVQWRGLDTSLGAV" />
3
9f243677c4c6 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit eb18f691975ef9539b5ebd4f118343c8ad967a1f
devteam
parents: 2
diff changeset
366 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
367 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
368 </test>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
369
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
370 </tests>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
371 <help>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
372 <![CDATA[
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
373 **gffread Filters and/or converts GFF3/GTF2 records**
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
374
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
375 The gffread command is documented with the stringtie_ package.
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
376
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
377 .. _stringtie: http://ccb.jhu.edu/software/stringtie/gff.shtml#gffread
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
378
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
379
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
380 gffread v0.11.4. Usage: ::
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
381
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
382 gffread <input_gff> [-g <genomic_seqs_fasta> | <dir>][-s <seq_info.fsize>]
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
383 [-o <outfile>] [-t <trackname>] [-r [[<strand>]<chr>:]<start>..<end> [-R]]
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
384 [-CTVNJMKQAFPGUBHZWTOLE] [-w <exons.fa>] [-x <cds.fa>] [-y <tr_cds.fa>]
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
385 [-i <maxintron>] [--bed] [--table <attrlist>] [--sort-by <refseq_list.txt>]
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
386
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
387 Filter, convert or cluster GFF/GTF/BED records, extract the sequence of
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
388 transcripts (exon or CDS) and more.
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
389 By default (i.e. without -O) only transcripts are processed, discarding any
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
390 other non-transcript features. Default output is a simplified GFF3 with only
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
391 the basic attributes.
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
392
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
393 <input_gff> is a GFF file, use '-' for stdin
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
394
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
395 Options:
2
12aeae6d8587 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 3bc5271145f939d85bb709fc95197be66b348328
devteam
parents: 1
diff changeset
396
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
397 -i discard transcripts having an intron larger than <maxintron>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
398 -l discard transcripts shorter than <minlen> bases
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
399 -r only show transcripts overlapping coordinate range <start>..<end>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
400 (on chromosome/contig <chr>, strand <strand> if provided)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
401 -R for -r option, discard all transcripts that are not fully
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
402 contained within the given range
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
403 -U discard single-exon transcripts
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
404 -C coding only: discard mRNAs that have no CDS features
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
405 --nc non-coding only: discard mRNAs that have CDS features
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
406 --ignore-locus : discard locus features and attributes found in the input
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
407 -A use the description field from <seq_info.fsize> and add it
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
408 as the value for a 'descr' attribute to the GFF record
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
409 -s <seq_info.fsize> is a tab-delimited file providing this info
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
410 for each of the mapped sequences:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
411 <seq-name> <seq-length> <seq-description>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
412 (useful for -A option with mRNA/EST/protein mappings)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
413
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
414 Sorting: (by default, chromosomes are kept in the order they were found)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
415 --sort-alpha : chromosomes (reference sequences) are sorted alphabetically
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
416 --sort-by : sort the reference sequences by the order in which their
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
417 names are given in the <refseq.lst> file
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
418
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
419 Misc options:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
420 -F preserve all GFF attributes (for non-exon features)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
421 --keep-exon-attrs : for -F option, do not attempt to reduce redundant
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
422 exon/CDS attributes
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
423 -G do not keep exon attributes, move them to the transcript feature
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
424 (for GFF3 output)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
425 --keep-genes : in transcript-only mode (default), also preserve gene records
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
426 --keep-comments: for GFF3 input/output, try to preserve comments
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
427 -O process other non-transcript GFF records (by default non-transcript
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
428 records are ignored)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
429 -V discard any mRNAs with CDS having in-frame stop codons (requires -g)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
430 -H for -V option, check and adjust the starting CDS phase
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
431 if the original phase leads to a translation with an
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
432 in-frame stop codon
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
433 -B for -V option, single-exon transcripts are also checked on the
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
434 opposite strand (requires -g)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
435 -P add transcript level GFF attributes about the coding status of each
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
436 transcript, including partialness or in-frame stop codons (requires -g)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
437 --add-hasCDS : add a "hasCDS" attribute with value "true" for transcripts
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
438 that have CDS features
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
439 --adj-stop stop codon adjustment: enables -P and performs automatic
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
440 adjustment of the CDS stop coordinate if premature or downstream
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
441 -N discard multi-exon mRNAs that have any intron with a non-canonical
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
442 splice site consensus (i.e. not GT-AG, GC-AG or AT-AC)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
443 -J discard any mRNAs that either lack initial START codon
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
444 or the terminal STOP codon, or have an in-frame stop codon
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
445 (i.e. only print mRNAs with a complete CDS)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
446 --no-pseudo: filter out records matching the 'pseudo' keyword
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
447 --in-bed: input should be parsed as BED format (automatic if the input
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
448 filename ends with .bed*)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
449 --in-tlf: input GFF-like one-line-per-transcript format without exon/CDS
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
450 features (see --tlf option below); automatic if the input
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
451 filename ends with .tlf)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
452
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
453 Clustering:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
454 -M/--merge : cluster the input transcripts into loci, discarding
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
455 "duplicated" transcripts (those with the same exact introns
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
456 and fully contained or equal boundaries)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
457 -d <dupinfo> : for -M option, write duplication info to file <dupinfo>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
458 --cluster-only: same as -M/--merge but without discarding any of the
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
459 "duplicate" transcripts, only create "locus" features
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
460 -K for -M option: also discard as redundant the shorter, fully contained
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
461 transcripts (intron chains matching a part of the container)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
462 -Q for -M option, no longer require boundary containment when assessing
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
463 redundancy (can be combined with -K); only introns have to match for
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
464 multi-exon transcripts, and >=80% overlap for single-exon transcripts
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
465 -Y for -M option, enforce -Q but also discard overlapping single-exon
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
466 transcripts, even on the opposite strand (can be combined with -K)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
467
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
468 Output options:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
469 --force-exons: make sure that the lowest level GFF features are considered
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
470 "exon" features
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
471 --gene2exon: for single-line genes not parenting any transcripts, add an
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
472 exon feature spanning the entire gene (treat it as a transcript)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
473 --t-adopt: try to find a parent gene overlapping/containing a transcript
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
474 that does not have any explicit gene Parent
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
475 -D decode url encoded characters within attributes
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
476 -Z merge very close exons into a single exon (when intron size<4)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
477 -g full path to a multi-fasta file with the genomic sequences
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
478 for all input mappings, OR a directory with single-fasta files
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
479 (one per genomic sequence, with file names matching sequence names)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
480 -w write a fasta file with spliced exons for each GFF transcript
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
481 -x write a fasta file with spliced CDS for each GFF transcript
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
482 -y write a protein fasta file with the translation of CDS for each record
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
483 -W for -w and -x options, write in the FASTA defline the exon
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
484 coordinates projected onto the spliced sequence;
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
485 for -y option, write transcript attributes in the FASTA defline
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
486 -S for -y option, use '*' instead of '.' as stop codon translation
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
487 -L Ensembl GTF to GFF3 conversion (implies -F; should be used with -m)
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
488 -m <chr_replace> is a name mapping table for converting reference
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
489 sequence names, having this 2-column format:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
490 <original_ref_ID> <new_ref_ID>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
491 WARNING: all GFF records on reference sequences whose original IDs
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
492 are not found in the 1st column of this table will be discarded!
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
493 -t use <trackname> in the 2nd column of each GFF/GTF output line
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
494 -o write the records into <outfile> instead of stdout
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
495 -T main output will be GTF instead of GFF3
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
496 --bed output records in BED format instead of default GFF3
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
497 --tlf output "transcript line format" which is like GFF
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
498 but exons, CDS features and related data are stored as GFF
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
499 attributes in the transcript feature line, like this:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
500 exoncount=N;exons=<exons>;CDSphase=<N>;CDS=<CDScoords>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
501 <exons> is a comma-delimited list of exon_start-exon_end coordinates;
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
502 <CDScoords> is CDS_start:CDS_end coordinates or a list like <exons>
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
503 --table output a simple tab delimited format instead of GFF, with columns
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
504 having the values of GFF attributes given in <attrlist>; special
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
505 pseudo-attributes (prefixed by @) are recognized:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
506 @chr, @start, @end, @strand, @numexons, @exons, @cds, @covlen, @cdslen
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
507 -v,-E expose (warn about) duplicate transcript IDs and other potential
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
508 problems with the given GFF/GTF records
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
509 ]]>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
510 </help>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
511 <citations>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
512 <citation type="doi">10.1038/nbt.1621</citation>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
513 </citations>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
514 </tool>