annotate gffread.xml @ 9:3e436657dcd0 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
author iuc
date Fri, 15 Dec 2023 19:39:24 +0000
parents 154d00cbbf2d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
1 <tool id="gffread" name="gffread" version="@GALAXY_TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
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>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
4 <!-- the version of this tool must not be lowered since in the past 2.x was used
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
5 lets use small increments and hope that gffread catches up one day -->
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
6 <token name="@GALAXY_TOOL_VERSION@">2.2.1.4</token>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
7 <token name="@TOOL_VERSION@">0.12.7</token>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
8 <token name="@VERSION_SUFFIX@">0</token>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
9 <xml name="fasta_output_select">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
10 <param name="fa_outputs" type="select" display="checkboxes" multiple="true" label="Select fasta outputs">
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
11 <option value="-w exons.fa">fasta file with spliced exons for each GFF transcript (-w)</option>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
12 <option value="-x cds.fa">fasta file with spliced CDS for each GFF transcript (-x)</option>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
13 <option value="-y pep.fa">protein fasta file with the translation of CDS for each record (-y)</option>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
14 <option value="-W">for each fasta: record the exon coordinates projected onto the spliced sequence (-W)</option>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
15 <option value="-S">for protein fasta: use '*' instead of '.' as stop codon translation (-S)</option>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
16 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
17 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
18 <xml name="ref_filtering_select">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
19 <param name="ref_filtering" type="select" display="checkboxes" multiple="true" label="reference based filters">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
20 <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
21 <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
22 <option value="-V">discard any mRNAs with CDS having in-frame stop codons (-V)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
23 <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
24 <!-- gffread bug: B not in missing from param to the arg parser
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
25 <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
26 -->
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="trackname">
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
30 <param argument="-t" name="tname" type="text" value="" optional="true" label="Trackname to use in the second column of each GFF output line" help="">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
31 <validator type="regex">\w+</validator>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
32 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
33 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
34 <xml name="merge_opts">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
35 <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
36 <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>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
37 <option value="-d dupinfo">output collapsing info (-d)</option>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
38 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
39 <xml name="cluster_opts">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
40 <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
41 <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
42 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
43 <xml name="merge_opt_sel">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
44 <param name="merge_options" type="select" display="checkboxes" multiple="true" label="Merge options">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
45 <expand macro="cluster_opts" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
46 <expand macro="merge_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 <xml name="cluster_opt_sel">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
50 <param name="merge_options" type="select" display="checkboxes" multiple="true" label="Cluster options">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
51 <expand macro="cluster_opts" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
52 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
53 </xml>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
54 </macros>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
55 <xrefs>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
56 <xref type="bio.tools">gffread</xref>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
57 </xrefs>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
58 <requirements>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
59 <requirement type="package" version="@TOOL_VERSION@">gffread</requirement>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
60 </requirements>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
61 <version_command>gffread --version</version_command>
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
62 <command detect_errors="aggressive">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
63 <![CDATA[
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
64 #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
65 ln -s '$reference_genome.genome_fasta' genomeref.fa &&
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
66 #end if
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
67
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
68 gffread '$input'
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
69 #if $input.ext.startswith("bed")
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
70 --in-bed
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
71 #end if
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
72 #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
73 -g '${reference_genome.fasta_indexes.fields.path}'
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
74 #if $reference_genome.ref_filtering and str($reference_genome.ref_filtering) != '':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
75 #echo ' '.join(str($reference_genome.ref_filtering).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
76 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
77 #elif $reference_genome.source == 'history':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
78 -g genomeref.fa
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
79 #if $reference_genome.ref_filtering and str($reference_genome.ref_filtering) != '':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
80 #echo ' '.join(str($reference_genome.ref_filtering).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
81 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
82 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
83 #if $filtering and str($filtering) != '':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
84 #echo " "
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
85 #echo ' '.join(str($filtering).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
86 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
87 #if $maxintron and $maxintron > 0:
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
88 -i $maxintron
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
89 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
90 #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
91 -r '$region.range' $region.discard_partial
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
92 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
93 #if $merging.merge_sel != 'none':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
94 $merging.merge_cmd
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
95 #if $merging.merge_options:
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
96 #echo ' '.join(str($merging.merge_options).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
97 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
98 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
99 #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
100 -m '$chr_replace'
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
101 #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
102
69e0806b63a4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/cufflinks/gffread commit 1203e3cccd40108df09ab2286d25aa7e638e9cad"
devteam
parents: 4
diff changeset
103 $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
104 $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
105 $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
106
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
107 ##
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
108 ## Although documented, does not appear to be used in the gffread code
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
109 ## #if $seq_info:
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
110 ## -A -s "$seq_info"
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
111 ## #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
112 ##
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
113 ## outputs
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
114 #if $reference_genome.source != 'none':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
115 #if $reference_genome.fa_outputs and str($reference_genome.fa_outputs) != '':
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
116 #echo ' ' + ' '.join(str($reference_genome.fa_outputs).split(','))
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
117 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
118 #end if
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
119
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
120 #if $gffs.gff_fmt != 'none':
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
121 #if $gffs.gff_fmt != 'bed' and $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
122 -t '$gffs.tname'
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
123 #end if
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
124 #if $gffs.gff_fmt == 'gff':
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
125 #if $input.datatype.file_ext == 'gtf':
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
126 $gffs.ensembl
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
127 #end if
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
128 #end if
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
129 #if $gffs.gff_fmt == 'gtf'
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
130 -T
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
131 #elif $gffs.gff_fmt == 'bed'
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
132 --bed
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
133 #end if
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
134 -o output.$gffs.gff_fmt
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
135 #else if 'fa_outputs' not in $reference_genome or '.fa' not in str($reference_genome['fa_outputs'])
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
136 -o output.gff
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
137 #end if
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
138
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
139 ## Missing options
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
140 ##
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
141 ## --ids
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
142 ## --nids
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
143 ## -l
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
144 ## --jmatch
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
145 ## --nc
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
146 ## --ignore-locus
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
147 ## -A -s (see above)
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
148 ## --sort-alpha : chromosomes (reference sequences) are sorted alphabetically
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
149 ## --sort-by : sort the reference sequences by the order in which their
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
150 ## names are given in the <refseq.lst> file
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
151 ## Misc
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
152 ## --keep-exon-attrs : for -F option, do not attempt to reduce redundant
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
153 ## --attrs
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
154 ## --keep-genes : in transcript-only mode (default), also preserve gene records
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
155 ## --keep-comments: for GFF3 input/output, try to preserve comments
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
156 ## -B (see above)
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
157 ## -P
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
158 ## --add-hasCDS : add a "hasCDS" attribute with value "true" for transcripts
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
159 ## that have CDS features
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
160 ## --adj-stop stop codon adjustment: enables -P and performs automatic
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
161 ## adjustment of the CDS stop coordinate if premature or downstream
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
162
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
163 ## --in-tlf: input GFF-like one-line-per-transcript format without exon/CDS
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
164 ## features (see --tlf option below); automatic if the input
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
165 ## filename ends with .tlf)
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
166 ## --stream: fast processing of input GFF/BED transcripts as they are received
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
167 ## ((no sorting, exons must be grouped by transcript in the input data)
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
168
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
169 ## Clustering
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
170
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
171 ## -Y
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
172
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
173 ## Output
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
174
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
175 ## --gene2exon
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
176 ## --t-adopt
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
177 ## -j
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
178 ## --w-add
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
179 ## --w-nocds
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
180 ]]>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
181 </command>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
182 <inputs>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
183 <param name="input" type="data" format="bed,gff3,gtf" label="Input BED, GFF3 or GTF feature file"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
184 <!-- filtering -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
185 <param name="filtering" type="select" display="checkboxes" multiple="true" label="filters">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
186 <option value="-U">discard single-exon transcripts (-U)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
187 <option value="-C">coding only: discard mRNAs that have no CDS feature (-C)</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
188 <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
189 <option value="-O">process also non-transcript GFF records (by default non-transcript records are ignored) (-O)</option>
7
4dea02886337 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 35e5b87300fb4e64d6d4eab376012ca9c524a432"
iuc
parents: 6
diff changeset
190 <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
191 </param>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
192 <conditional name="region">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
193 <param name="region_filter" type="select" label="Filter by genome region">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
194 <option value="none">No</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
195 <option value="filter">Yes</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
196 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
197 <when value="none"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
198 <when value="filter">
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
199 <param argument="-r" name="range" type="text" value="" label="Only show transcripts overlapping coordinate range">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
200 <help><![CDATA[
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
201 [['strand']'chr':]'start'..'end' <br>
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
202 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
203 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
204 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
205 +chr1:1000..500000 <br>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
206 -chr1:1000..500000
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
207 ]]>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
208 </help>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
209 <validator type="regex">(([+-])?(\w+:))?\d+\.\.\d+</validator>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
210 </param>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
211 <param argument="-R" name="discard_partial" type="boolean" truevalue="-R" falsevalue="" checked="false"
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
212 label="Discard all transcripts that are not fully contained within the given range" help=""/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
213 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
214 </conditional>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
215 <param argument="-i" name="maxintron" type="integer" value="" optional="true" min="0" label="Filter out transcipts with large introns"
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
216 help="If set, discard transcripts having an intron larger"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
217 <param argument="-m" name="chr_replace" type="data" format="tabular" optional="true" label="Replace reference sequence names" >
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
218 <help><![CDATA[
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
219 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
220 It is useful for switching between Ensembl and UCSC naming conventions <br>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
221 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
222 ]]>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
223 </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
224 </param>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
225
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
226 <!-- Although documented, does not appear to be used in the gffread code
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
227 <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
228 <help>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
229 (-s seq_info.fsize -A) useful with mRNA/EST/protein mappings &lt;br&gt;
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
230 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
231 "seq-name" "seq-length" "seq-description" &lt;br&gt;
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
232 </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
233 </param>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
234 -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
235
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
236 <!-- merging -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
237 <conditional name="merging">
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
238 <param name="merge_sel" type="select" label="Transcript merging" help="">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
239 <option value="none">none</option>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
240 <option value="merge">merge: cluster the input transcripts into loci, collapsing matching transcripts (--merge)</option>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
241 <option value="cluster">cluster-only: merge but without collapsing matching transcripts (--cluster-only)</option>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
242 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
243 <when value="none"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
244 <when value="merge">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
245 <param name="merge_cmd" type="hidden" value="--merge"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
246 <expand macro="merge_opt_sel" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
247 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
248 <when value="cluster">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
249 <param name="merge_cmd" type="hidden" value="--cluster-only"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
250 <expand macro="cluster_opt_sel" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
251 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
252 </conditional>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
253 <!-- reference sequence file -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
254 <!-- Error: -g option is required for options -w, -x, -y, -V, -N, -M -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
255 <conditional name="reference_genome">
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
256 <param name="source" type="select" label="Reference Genome" help="NOTE: Required for fasta outputs">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
257 <option value="none">none</option>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
258 <option value="cached">Cached reference data</option>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
259 <option value="history">From your history</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
260 </param>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
261 <when value="none"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
262 <when value="cached">
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
263 <param argument="-g" name="fasta_indexes" type="select" label="Source FASTA Sequence">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
264 <options from_data_table="all_fasta"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
265 </param>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
266 <expand macro="ref_filtering_select" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
267 <expand macro="fasta_output_select" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
268 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
269 <when value="history">
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
270 <param argument="-g" name="genome_fasta" type="data" format="fasta" label="Genome Reference Fasta"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
271 <expand macro="ref_filtering_select" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
272 <expand macro="fasta_output_select" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
273 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
274 </conditional>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
275
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
276 <!-- outputs -->
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
277 <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
278 <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
279 <option value="none">none</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
280 <option value="gff">GFF</option>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
281 <option value="gtf">GTF</option>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
282 <option value="bed">BED</option>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
283 </param>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
284 <when value="none"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
285 <when value="gff">
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
286 <param argument="-L" name="ensembl" type="boolean" truevalue="-L" falsevalue="" checked="false" label="Ensembl GTF to GFF3 conversion" help=""/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
287 <expand macro="trackname" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
288 </when>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
289 <when value="gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
290 <expand macro="trackname" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
291 </when>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
292 <when value="bed"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
293 </conditional>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
294
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
295 <param argument="-F" name="full_gff_attribute_preservation" type="boolean" truevalue="-F" falsevalue="" checked="false"
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
296 label="full GFF attribute preservation (all attributes are shown)" help=""/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
297 <param argument="-D" name="decode_url" type="boolean" truevalue="-D" falsevalue="" checked="false"
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
298 label="decode url encoded characters within attributes" help=""/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
299 <param argument="-E" name="expose" type="boolean" truevalue="-E" falsevalue="" checked="false"
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
300 label="warn about duplicate transcript IDs and other potential problems with the given GFF/GTF records" help=""/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
301
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
302 </inputs>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
303 <outputs>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
304 <data name="output_gff" format="gff3" metadata_source="input" label="${tool.name} on ${on_string}: gff3" from_work_dir="output.gff">
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
305 <!-- output gff also if the user deselected all outputs: none is selected and all .fa outputs are disabled -->
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
306 <filter>gffs['gff_fmt'] == 'gff' or (gffs['gff_fmt'] == 'none' and ('fa_outputs' not in reference_genome or '.fa' not in str(reference_genome['fa_outputs'])))</filter>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
307 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
308 <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
309 <filter>gffs['gff_fmt'] == 'gtf'</filter>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
310 </data>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
311 <data name="output_bed" format="bed" metadata_source="input" label="${tool.name} on ${on_string}: bed" from_work_dir="output.bed">
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
312 <filter>gffs['gff_fmt'] == 'bed'</filter>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
313 </data>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
314 <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
315 <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
316 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
317 <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
318 <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
319 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
320 <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
321 <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
322 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
323 <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
324 <filter>'merge_options' in merging and merging['merge_options'].find('dupinfo') > 0</filter>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
325 </data>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
326 </outputs>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
327 <tests>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
328 <test expect_num_outputs="1">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
329 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
330 <param name="gff_fmt" value="gff"/>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
331 <output name="output_gff" file="Homo_sapiens.GRCh37_19.71.gff3" ftype="gff3" lines_diff="4" />
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
332 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
333 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
334 </assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
335 </test>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
336 <!-- mapping -->
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
337 <test expect_num_outputs="1">
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
338 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
339 <param name="gff_fmt" value="gff"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
340 <param name="chr_replace" ftype="tabular" value="chr_replace"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
341 <output name="output_gff" ftype="gff3">
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
342 <assert_contents>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
343 <has_n_lines n="314"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
344 <has_line_matching expression="^chr.*"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
345 <has_line_matching expression="^1.*" negate="true"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
346 </assert_contents>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
347 </output>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
348 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
349 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
350 </assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
351 </test>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
352 <!-- none output and all .fa outputs deselected .. gff is produced anyway, since we need one output -->
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
353 <test expect_num_outputs="1">
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
354 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
355 <output name="output_gff" file="Homo_sapiens.GRCh37_19.71.gff3" ftype="gff3" lines_diff="4" />
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
356 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
357 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
358 </assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
359 </test>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
360 <!-- test ensemble gtf to gff conversion -->
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
361 <test expect_num_outputs="1">
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
362 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
363 <conditional name="gffs">
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
364 <param name="gff_fmt" value="gff"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
365 <param name="ensembl" value="true"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
366 <param name="tname" value="track name"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
367 </conditional>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
368 <output name="output_gff" file="Homo_sapiens.GRCh37_19.71_ensemble.gff3" ftype="gff3" lines_diff="4" />
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
369 <assert_command>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
370 <has_text text="-L"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
371 <has_text text="-t &#39;track name&#39;"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
372 </assert_command>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
373 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
374 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
375 </assert_stdout>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
376 </test>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
377 <test expect_num_outputs="1">
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
378 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
379 <param name="gff_fmt" value="gff"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
380 <output name="output_gff" file="Homo_sapiens.GRCh37_19.71.gff3" ftype="gff3" lines_diff="4" />
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
381 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
382 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
383 </assert_stdout>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
384 </test>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
385 <test expect_num_outputs="1">
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
386 <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
387 <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
388 <param name="full_gff_attribute_preservation" value="-F"/>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
389 <output name="output_gff" file="ecoli-k12.processed.gff3" ftype="gff3" lines_diff="4" />
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
390 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
391 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
392 </assert_stdout>
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
393 </test>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
394 <!-- bed output -->
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
395 <test expect_num_outputs="1">
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
396 <param name="input" ftype="gff3" value="Homo_sapiens.GRCh37_19.71.gff3"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
397 <param name="gff_fmt" value="bed"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
398 <output name="output_bed" ftype="bed">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
399 <assert_contents>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
400 <has_n_lines n="42"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
401 <has_n_columns n="13"/>
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
402 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
403 </output>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
404 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
405 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
406 </assert_stdout>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
407 </test>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
408 <!-- bed input and test tname -->
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
409 <test expect_num_outputs="1">
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
410 <param name="input" ftype="bed" value="Homo_sapiens.GRCh37_19.71.bed"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
411 <param name="gff_fmt" value="gff"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
412 <param name="tname" value="track name"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
413 <output name="output_bed" ftype="gff3">
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
414 <assert_contents>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
415 <has_n_lines n="388"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
416 <!-- this will work with https://github.com/galaxyproject/galaxy/pull/12528 -->
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
417 <!-- <has_n_columns n="9" comment="#"/> -->
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
418 <has_text text="track name"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
419 </assert_contents>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
420 </output>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
421 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
422 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
423 </assert_stdout>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
424 </test>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
425 <test expect_num_outputs="1">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
426 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
427 <param name="region_filter" value="filter"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
428 <param name="range" value="19:496500..504965"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
429 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
430 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
431 <assert_contents>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
432 <has_text text="ENST00000587541" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
433 <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
434 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
435 </output>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
436 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
437 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
438 </assert_stdout>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
439 </test>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
440 <test expect_num_outputs="1">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
441 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
442 <param name="region_filter" value="filter"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
443 <param name="range" value="19:496500..504965"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
444 <param name="discard_partial" value="true"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
445 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
446 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
447 <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
448 <not_has_text text="ENST00000587541" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
449 <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
450 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
451 </output>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
452 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
453 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
454 </assert_stdout>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
455 </test>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
456 <test expect_num_outputs="1">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
457 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
458 <param name="filtering" value="-C"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
459 <param name="region_filter" value="filter"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
460 <param name="range" value="19:496500..504965"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
461 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
462 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
463 <assert_contents>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
464 <not_has_text text="ENST00000587541" />
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
465 <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
466 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
467 </output>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
468 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
469 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
470 </assert_stdout>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
471 </test>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
472 <test expect_num_outputs="4">
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
473 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
474 <param name="source" value="history"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
475 <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
476 <param name="fa_outputs" value="-w exons.fa,-x cds.fa,-y pep.fa"/>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
477 <param name="region_filter" value="filter"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
478 <param name="range" value="19:496500..504965"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
479 <param name="gff_fmt" value="gtf"/>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
480 <output name="output_gtf">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
481 <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
482 <has_text text="ENST00000587541" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
483 <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
484 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
485 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
486 <output name="output_exons">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
487 <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
488 <has_text text="ENST00000346144 CDS=47-934" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
489 <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
490 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
491 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
492 <output name="output_cds">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
493 <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
494 <has_text text="ENST00000346144" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
495 <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
496 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
497 </output>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
498 <output name="output_pep">
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
499 <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
500 <has_text text="ENST00000346144" />
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
501 <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
502 </assert_contents>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
503 </output>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
504 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
505 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
506 </assert_stdout>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
507 </test>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
508 <test expect_num_outputs="1">
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
509 <param name="input" ftype="gtf" value="stop_codons.gtf"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
510 <param name="source" value="history"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
511 <param name="genome_fasta" ftype="fasta" value="Homo_sapiens.GRCh37.71.dna.chromosome.19.fa"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
512 <param name="fa_outputs" value="-y pep.fa,-S"/>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
513 <output name="output_pep">
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
514 <assert_contents>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
515 <has_text text="ENST00000269812" />
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
516 <has_text text="PLRGLHPRV*LQTPLERCPCWPPAGGTGGCPHCLLHLRLLQSPTPTALSEGGGAGTEAQPVTDVDPGRG*" />
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
517 </assert_contents>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
518 </output>
9
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
519 <assert_stdout>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
520 <has_n_lines n="0"/>
3e436657dcd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 0d019235fcfc835b99d5651b0bc4fd0da06707ac
iuc
parents: 8
diff changeset
521 </assert_stdout>
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
522 </test>
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
523 </tests>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
524 <help>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
525 <![CDATA[
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
526 **gffread Filters and/or converts GFF3/GTF2 records**
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
527
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
528 The gffread command is documented with the stringtie_ package.
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
529
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
530 .. _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
531
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
532 gffread v0.12.7. Usage: ::
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
533
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
534 gffread [-g <genomic_seqs_fasta> | <dir>] [-s <seq_info.fsize>]
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
535 [-o <outfile>] [-t <trackname>] [-r [<strand>]<chr>:<start>-<end> [-R]]
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
536 [--jmatch <chr>:<start>-<end>] [--no-pseudo]
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
537 [-CTVNJMKQAFPGUBHZWTOLE] [-w <exons.fa>] [-x <cds.fa>] [-y <tr_cds.fa>]
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
538 [-j ][--ids <IDs.lst> | --nids <IDs.lst>] [--attrs <attr-list>] [-i <maxintron>]
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
539 [--stream] [--bed | --gtf | --tlf] [--table <attrlist>] [--sort-by <ref.lst>]
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
540 [<input_gff>]
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
541
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
542 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
543 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
544 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
545 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
546 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
547
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
548 Options:
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
549 --ids discard records/transcripts if their IDs are not listed in <IDs.lst>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
550 --nids discard records/transcripts if their IDs are listed in <IDs.lst>
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
551 -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
552 -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
553 -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
554 (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
555 -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
556 contained within the given range
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
557 --jmatch only output transcripts matching the given junction
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
558 -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
559 -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
560 --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
561 --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
562 -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
563 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
564 -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
565 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
566 <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
567 (useful for -A option with mRNA/EST/protein mappings)
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
568 Sorting: (by default, chromosomes are kept in the order they were found)
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
569 --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
570 --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
571 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
572 Misc options:
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
573 -F keep all GFF attributes (for non-exon features)
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
574 --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
575 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
576 -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
577 (for GFF3 output)
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
578 --attrs <attr-list> only output the GTF/GFF attributes listed in <attr-list>
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
579 which is a comma delimited list of attribute names to
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
580 --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
581 --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
582 -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
583 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
584 -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
585 -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
586 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
587 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
588 -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
589 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
590 -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
591 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
592 --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
593 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
594 --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
595 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
596 -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
597 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
598 -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
599 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
600 (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
601 --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
602 --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
603 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
604 --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
605 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
606 filename ends with .tlf)
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
607 --stream: fast processing of input GFF/BED transcripts as they are received
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
608 ((no sorting, exons must be grouped by transcript in the input data)
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
609 Clustering:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
610 -M/--merge : cluster the input transcripts into loci, discarding
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
611 "redundant" transcripts (those with the same exact introns
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
612 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
613 -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
614 --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
615 "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
616 -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
617 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
618 -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
619 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
620 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
621 -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
622 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
623 Output options:
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
624 --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
625 "exon" features
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
626 --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
627 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
628 --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
629 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
630 -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
631 -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
632 -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
633 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
634 (one per genomic sequence, with file names matching sequence names)
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
635 -j output the junctions and the corresponding transcripts
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
636 -w write a fasta file with spliced exons for each transcript
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
637 --w-add <N> for the -w option, extract additional <N> bases
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
638 both upstream and downstream of the transcript boundaries
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
639 --w-nocds for -w, disable the output of CDS info in the FASTA file
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
640 -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
641 -y write a protein fasta file with the translation of CDS for each record
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
642 -W for -w, -x and -y options, write in the FASTA defline all the exon
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
643 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
644 -S for -y option, use '*' instead of '.' as stop codon translation
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
645 -L Ensembl GTF to GFF3 conversion, adds version to IDs
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
646 -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
647 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
648 <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
649 -t use <trackname> in the 2nd column of each GFF/GTF output line
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
650 -o write the output records into <outfile> instead of stdout
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
651 -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
652 --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
653 --tlf output "transcript line format" which is like GFF
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
654 but with exons and CDS related features stored as GFF
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
655 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
656 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
657 <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
658 <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
659 --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
660 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
661 pseudo-attributes (prefixed by @) are recognized:
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
662 @id, @geneid, @chr, @start, @end, @strand, @numexons, @exons,
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
663 @cds, @covlen, @cdslen
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
664 If any of -w/-y/-x FASTA output files are enabled, the same fields
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
665 (excluding @id) are appended to the definition line of corresponding
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
666 FASTA records
6
6ea09f60dee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit 956566e1f7b4390719db56b7488a720ccad181a4"
iuc
parents: 5
diff changeset
667 -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
668 problems with the given GFF/GTF records
8
154d00cbbf2d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gffread commit f40643d8b80299ebb84faebe92579321ac459746"
iuc
parents: 7
diff changeset
669
0
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
670 ]]>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
671 </help>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
672 <citations>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
673 <citation type="doi">10.1038/nbt.1621</citation>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
674 </citations>
5f6e6582c01d planemo upload commit a52cc16ed8d0d60e99742b55fccbdedcbb64b82c
devteam
parents:
diff changeset
675 </tool>