annotate gffread.xml @ 0:d0d6fc2004be draft default tip

Uploaded
author jjohnson
date Mon, 05 Jan 2015 12:53:44 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
1 <tool id="gffread" name="gffread" version="@VERSION@.0">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
2 <description>Filters and/or converts GFF3/GTF2 records</description>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
3 <expand macro="requirements" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
4 <expand macro="stdio" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
5 <macros>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
6 <import>cuff_macros.xml</import>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
7 <xml name="fasta_output_select">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
8 <param name="fa_outputs" type="select" display="checkboxes" multiple="true" label="Select fasta outputs">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
9 <option value="-w exons.fa">(-w) a fasta file with spliced exons for each GFF transcript</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
10 <option value="-x cds.fa">(-x) a fasta file with spliced CDS for each GFF transcript</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
11 <option value="-y pep.fa">(-y) a protein fasta file with the translation of CDS for each record</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
12 <option value="-W">(-W) for each fasta record the exon coordinates projected onto the spliced sequence</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
13 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
14 </xml>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
15 <xml name="ref_filtering_select">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
16 <param name="ref_filtering" type="select" display="checkboxes" multiple="true" label="reference based filters">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
17 <option value="-N">(-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)</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
18 <option value="-J">(-J) discard any mRNAs that either lack initial START codon or the terminal STOP codon, or have an in-frame stop codon (only print mRNAs with a fulll, valid CDS)</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
19 <option value="-V">(-V) discard any mRNAs with CDS having in-frame stop codons</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
20 <option value="-H">(-H with -V) check and adjust the starting CDS phase if the original phase leads to a translation with an in-frame stop codon</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
21 <option value="-B">(-B with -V) single-exon transcripts are also checked on the opposite strand</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
22 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
23 </xml>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
24 <xml name="trackname">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
25 <param name="tname" type="text" value="" size="30" optional="true" label="(-t) Trackname to use in the second column of each GFF output line">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
26 <validator type="regex">\w+</validator>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
27 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
28 </xml>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
29 <xml name="merge_opts">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
30 <option value="-K">(-K) also collapse shorter, fully contained transcripts with fewer introns than the container</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
31 <option value="-Q">(-Q) remove the containment restriction (multi-exon transcripts will be collapsed if just their introns match, while single-exon transcripts can partially overlap 80%)</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
32 <option value="-d dupinfo">(-d) output collapsing info</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
33 </xml>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
34 <xml name="cluster_opts">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
35 <option value="--force-exons">(--force-exons) make sure that the lowest level GFF features are printed as 'exon' features</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
36 <option value="-Z">(-Z) merge close exons into a single exon (for intron size &lt; 4)</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
37 </xml>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
38 <xml name="merge_opt_sel">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
39 <param name="merge_options" type="select" display="checkboxes" multiple="true" label="Merge options">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
40 <expand macro="cluster_opts" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
41 <expand macro="merge_opts" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
42 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
43 </xml>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
44 <xml name="cluster_opt_sel">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
45 <param name="merge_options" type="select" display="checkboxes" multiple="true" label="Cluster options">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
46 <expand macro="cluster_opts" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
47 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
48 </xml>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
49 </macros>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
50 <command>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
51 <![CDATA[
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
52 #if $reference_genome.source == 'history':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
53 ln -s $reference_genome.genome_fasta genomeref.fa &&
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
54 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
55 gffread $input
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
56 #if $reference_genome.source == 'cached':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
57 -g "${reference_genome.fasta_indexes.fields.path}"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
58 #if $reference_genome.ref_filtering and str($reference_genome.ref_filtering) != '':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
59 #echo ' '.join(str($reference_genome.ref_filtering).split(','))
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
60 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
61 #elif $reference_genome.source == 'history':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
62 -g genomeref.fa
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
63 #if $reference_genome.ref_filtering and str($reference_genome.ref_filtering) != '':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
64 #echo ' '.join(str($reference_genome.ref_filtering).split(','))
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
65 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
66 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
67 #if $filtering and str($filtering) != '':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
68 #echo " "
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
69 #echo ' '.join(str($filtering).split(','))
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
70 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
71 #if $maxintron and $maxintron > 0:
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
72 -i $maxintron
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
73 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
74 #if $region.region_filter == 'filter':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
75 -r $region.range $region.discard_partial
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
76 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
77 #if $merging.merge_sel != 'none':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
78 $merging.merge_cmd
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
79 #echo ' '.join(str($merging.merge_options).split(','))
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
80 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
81 #if $chr_replace:
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
82 -m "$chr_replace"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
83 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
84 ##
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
85 ## Although documented, does not appear to be used in the gffread code
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
86 ## #if $seq_info:
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
87 ## -A -s "$seq_info"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
88 ## #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
89 ##
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
90 ## outputs
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
91 #if $reference_genome.source != 'none':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
92 #if $reference_genome.fa_outputs and str($reference_genome.fa_outputs) != '':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
93 #echo ' ' + ' '.join(str($reference_genome.fa_outputs).split(','))
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
94 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
95 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
96 #if $gffs.gff_fmt != 'none':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
97 #if $gffs.tname:
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
98 -t "$gffs.tname"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
99 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
100 #if $gffs.gff_fmt == 'gff':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
101 #if $input.datatype.file_ext == 'gft':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
102 $gffs.ensembl
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
103 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
104 $gffs.output_cmd
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
105 #elif $gffs.gff_fmt == 'gtf':
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
106 $gffs.output_cmd
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
107 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
108 #end if
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
109 ]]>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
110 </command>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
111 <inputs>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
112 <param name="input" type="data" format="gff3,gtf" label="Input GFF3 or GTF feature file"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
113 <!-- filtering -->
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
114 <param name="filtering" type="select" display="checkboxes" multiple="true" label="filters">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
115 <option value="-U">(-U) discard single-exon transcripts</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
116 <option value="-C">(-C) coding only: discard mRNAs that have no CDS feature</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
117 <option value="-G">(-G) only parse additional exon attributes from the first exon and move them to the mRNA level (useful for GTF input)</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
118 <option value="-O">(-O) process also non-transcript GFF records (by default non-transcript records are ignored)</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
119 <option value="--no-pseudo">(--no-pseudo) filter out records matching the 'pseudo' keyword</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
120 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
121 <conditional name="region">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
122 <param name="region_filter" type="select" label="Filter by genome region">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
123 <option value="none">No</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
124 <option value="filter">Yes</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
125 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
126 <when value="none"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
127 <when value="filter">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
128 <param name="range" type="text" value="" size="60" label="Only show transcripts overlapping coordinate range"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
129 help="-r [['strand']'chr':]'start'..'end' &lt;br&gt; examples: &lt;br&gt; 1000..500000 &lt;br&gt; chr1:1000..500000 &lt;br&gt; +chr1:1000..500000 &lt;br&gt; -chr1:1000..500000" >
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
130 <validator type="regex">(([+-])?(\w+:))?\d+\.\.\d+</validator>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
131 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
132 <param name="discard_partial" type="boolean" truevalue="-R" falsevalue="" check="false"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
133 label="(-R) and discard all transcripts that are not fully contained within the given range"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
134 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
135 </conditional>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
136 <param name="maxintron" type="integer" value="" optional="true" min="0" label="(-i) max_intron - Filter out transcipts with large introns"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
137 help="If set, discard transcripts having an intron larger"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
138 <param name="chr_replace" type="data" format="tabular" optional="true" label="Replace reference sequence names (e.g. chr1 with 1)" >
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
139 <help>(-m chr_replace) &lt;br&gt;
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
140 chr_replace is input file is a 2 column tab-delimited file containing a reference (genomic) sequence replacement table with this format: &lt;br&gt;
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
141 "original_ref_ID" "new_ref_ID" &lt;br&gt;
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
142 GFF records on reference sequences that are not found among the "original_ref_ID" entries in this file will be filtered out
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
143 </help>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
144 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
145
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
146 <!-- Although documented, does not appear to be used in the gffread code
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
147 <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">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
148 <help>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
149 (-s seq_info.fsize -A) useful with mRNA/EST/protein mappings &lt;br&gt;
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
150 seq_info input file is a 3 column tab-delimited file providing this info for each of the mapped sequences: &lt;br&gt;
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
151 "seq-name" "seq-length" "seq-description" &lt;br&gt;
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
152 </help>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
153 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
154 -->
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
155
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
156 <!-- merging -->
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
157 <conditional name="merging">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
158 <param name="merge_sel" type="select" label="(-M) Transcript merging">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
159 <option value="none">none</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
160 <option value="merge">merge: cluster the input transcripts into loci, collapsing matching transcripts</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
161 <option value="cluster">cluster-only: merge but without collapsing matching transcripts</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
162 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
163 <when value="none"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
164 <when value="merge">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
165 <param name="merge_cmd" type="hidden" value="--merge"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
166 <expand macro="merge_opt_sel" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
167 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
168 <when value="cluster">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
169 <param name="merge_cmd" type="hidden" value="--cluster-only"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
170 <expand macro="cluster_opt_sel" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
171 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
172 </conditional>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
173 <!-- reference sequence file -->
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
174 <!-- Error: -g option is required for options -w, -x, -y, -V, -N, -M -->
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
175 <conditional name="reference_genome">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
176 <param name="source" type="select" label="(-g) Reference Genome (Required for fasta outputs)">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
177 <option value="none">none</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
178 <option value="cached"></option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
179 <option value="history">From your history</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
180 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
181 <when value="none">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
182 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
183 <when value="cached">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
184 <param name="fasta_indexes" type="select" label="Source FASTA Sequence">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
185 <options from_data_table="all_fasta"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
186 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
187 <expand macro="ref_filtering_select" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
188 <expand macro="fasta_output_select" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
189 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
190 <when value="history">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
191 <param name="genome_fasta" type="data" format="fasta" label="Genome Reference Fasta"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
192 <expand macro="ref_filtering_select" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
193 <expand macro="fasta_output_select" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
194 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
195 </conditional>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
196
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
197 <!-- outputs -->
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
198 <conditional name="gffs">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
199 <param name="gff_fmt" type="select" optional="true" label="(-o) Feature File Output">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
200 <option value="none">none</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
201 <option value="gff">GFF</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
202 <option value="gtf">GTF</option>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
203 </param>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
204 <when value="none">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
205 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
206 <when value="gff">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
207 <param name="output_cmd" type="hidden" value="-o output.gff3"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
208 <param name="ensembl" type="boolean" truevalue="-F" falsevalue="" check="false" label="(-L) Ensembl GTF to GFF3 conversion"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
209 <expand macro="trackname" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
210 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
211 <when value="gtf">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
212 <param name="output_cmd" type="hidden" value="-T -o output.gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
213 <expand macro="trackname" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
214 </when>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
215 </conditional>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
216
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
217 <param name="full_gff_attribute_preservation" type="boolean" truevalue="-F" falsevalue="" check="false"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
218 label="(-F) full GFF attribute preservation (all attributes are shown)"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
219 <param name="decode_url" type="boolean" truevalue="-D" falsevalue="" check="false"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
220 label="(-D) decode url encoded characters within attributes"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
221 <param name="expose" type="boolean" truevalue="-E" falsevalue="" check="false"
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
222 label="(-E) warn about duplicate transcript IDs and other potential problems with the given GFF/GTF records"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
223
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
224 </inputs>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
225 <outputs>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
226 <data name="output_gff" format="gff3" metadata_source="input" label="${tool.name} on ${on_string}: gff3" from_work_dir="output.gff3">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
227 <filter>gffs['gff_fmt'] == 'gff'</filter>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
228 </data>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
229 <data name="output_gtf" format="gtf" metadata_source="input" label="${tool.name} on ${on_string}: gtf" from_work_dir="output.gtf">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
230 <filter>gffs['gff_fmt'] == 'gtf'</filter>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
231 </data>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
232 <data name="output_exons" format="fasta" label="${tool.name} on ${on_string}: exons.fa" from_work_dir="exons.fa">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
233 <filter>'fa_outputs' in reference_genome and str(reference_genome['fa_outputs']).find('exons.fa') > 0 </filter>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
234 </data>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
235 <data name="output_cds" format="fasta" label="${tool.name} on ${on_string}: cds.fa" from_work_dir="cds.fa">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
236 <filter>'fa_outputs' in reference_genome and str(reference_genome['fa_outputs']).find('cds.fa') > 0</filter>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
237 </data>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
238 <data name="output_pep" format="fasta" label="${tool.name} on ${on_string}: pep.fa" from_work_dir="pep.fa">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
239 <filter>'fa_outputs' in reference_genome and str(reference_genome['fa_outputs']).find('pep.fa') > 0</filter>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
240 </data>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
241 <data name="output_dupinfo" format="txt" label="${tool.name} on ${on_string}: dupinfo" from_work_dir="dupinfo">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
242 <filter>'merge_options' in merging and merging['merge_options'].find('dupinfo') > 0</filter>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
243 </data>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
244 </outputs>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
245 <tests>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
246 <test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
247 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
248 <param name="gff_fmt" value="gff"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
249 <output name="output_gff" file="Homo_sapiens.GRCh37_19.71.gff3" ftype="gff3" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
250 </test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
251
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
252 <test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
253 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
254 <param name="filtering" value="--no-pseudo"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
255 <param name="gff_fmt" value="gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
256 <output name="output_gtf">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
257 <assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
258 <not_has_text text="pseudo" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
259 </assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
260 </output>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
261 </test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
262
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
263 <test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
264 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
265 <param name="region_filter" value="filter"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
266 <param name="range" value="19:496500..504965"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
267 <param name="gff_fmt" value="gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
268 <output name="output_gtf">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
269 <assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
270 <has_text text="ENST00000587541" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
271 <has_text text="ENST00000382683" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
272 </assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
273 </output>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
274 </test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
275
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
276 <test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
277 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
278 <param name="region_filter" value="filter"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
279 <param name="range" value="19:496500..504965"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
280 <param name="discard_partial" value="true"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
281 <param name="gff_fmt" value="gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
282 <output name="output_gtf">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
283 <assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
284 <has_text text="ENST00000587541" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
285 <has_text text="ENST00000382683" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
286 </assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
287 </output>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
288 </test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
289
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
290 <test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
291 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
292 <param name="filtering" value="-C"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
293 <param name="region_filter" value="filter"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
294 <param name="range" value="19:496500..504965"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
295 <param name="gff_fmt" value="gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
296 <output name="output_gtf">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
297 <assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
298 <not_has_text text="ENST00000587541" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
299 <has_text text="ENST00000382683" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
300 </assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
301 </output>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
302 </test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
303
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
304 <test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
305 <param name="input" ftype="gtf" value="Homo_sapiens.GRCh37_19.71.gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
306 <param name="source" value="history"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
307 <param name="genome_fasta" ftype="fasta" value="Homo_sapiens.GRCh37.71.dna.chromosome.19.fa"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
308 <param name="fa_outputs" value="-w exons.f,-x cds.fa,-y pep.fa"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
309 <param name="region_filter" value="filter"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
310 <param name="range" value="19:496500..504965"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
311 <param name="gff_fmt" value="gtf"/>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
312 <output name="output_gtf">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
313 <assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
314 <not_has_text text="ENST00000587541" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
315 <has_text text="ENST00000382683" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
316 </assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
317 </output>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
318 <output name="output_exons">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
319 <assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
320 <has_text text="ENST00000346144 gene=MADCAM1 CDS=47-932" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
321 <has_text text="CTATTTAAGCGGCTTCCCCGCGGCCTCGGGACAGAGGGGACTGAGCATGGATTTCGGACTGGCCCTCCTG" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
322 </assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
323 </output>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
324 <output name="output_cds">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
325 <assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
326 <has_text text="ENST00000346144 gene=MADCAM1" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
327 <has_text text="ATGGATTTCGGACTGGCCCTCCTGCTGGCGGGGCTTCTGGGGCTCCTCCTCGGCCAGTCCCTCCAGGTGA" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
328 </assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
329 </output>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
330 <output name="output_pep">
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
331 <assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
332 <has_text text="ENST00000346144 gene=MADCAM1" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
333 <has_text text="MDFGLALLLAGLLGLLLGQSLQVKPLQVEPPEPVVAVALGASRQLTCRLACADRGASVQWRGLDTSLGAV" />
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
334 </assert_contents>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
335 </output>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
336 </test>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
337
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
338 </tests>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
339 <help>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
340 <![CDATA[
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
341 **gffread Filters and/or converts GFF3/GTF2 records**
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
342
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
343 Usage: ::
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
344
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
345 gffread "input_gff" [-g "genomic_seqs_fasta" | "dir"][-s "seq_info.fsize"]
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
346 [-o "outfile.gff"] [-t "tname"] [-r [["strand"]"chr":]"start".."end" [-R]]
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
347 [-CTVNJMKQAFGUBHZWTOLE] [-w "exons.fa"] [-x "cds.fa"] [-y "tr_cds.fa"]
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
348 [-i "maxintron"]
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
349
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
350 Options: ::
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
351
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
352 -g full path to a multi-fasta file with the genomic sequences
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
353 for all input mappings, OR a directory with single-fasta files
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
354 (one per genomic sequence, with file names matching sequence names)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
355 -s <seq_info.fsize> is a tab-delimited file providing this info
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
356 for each of the mapped sequences:
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
357 <seq-name> <seq-length> <seq-description>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
358 (useful for -A option with mRNA/EST/protein mappings)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
359 -i discard transcripts having an intron larger than <maxintron>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
360 -r only show transcripts overlapping coordinate range <start>..<end>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
361 (on chromosome/contig <chr>, strand <strand> if provided)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
362 -R for -r option, discard all transcripts that are not fully
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
363 contained within the given range
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
364 -U discard single-exon transcripts
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
365 -C coding only: discard mRNAs that have no CDS feature
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
366 -F full GFF attribute preservation (all attributes are shown)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
367 -G only parse additional exon attributes from the first exon
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
368 and move them to the mRNA level (useful for GTF input)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
369 -A use the description field from <seq_info.fsize> and add it
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
370 as the value for a 'descr' attribute to the GFF record
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
371
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
372 -O process also non-transcript GFF records (by default non-transcript
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
373 records are ignored)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
374 -V discard any mRNAs with CDS having in-frame stop codons
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
375 -H for -V option, check and adjust the starting CDS phase
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
376 if the original phase leads to a translation with an
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
377 in-frame stop codon
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
378 -B for -V option, single-exon transcripts are also checked on the
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
379 opposite strand
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
380 -N discard multi-exon mRNAs that have any intron with a non-canonical
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
381 splice site consensus (i.e. not GT-AG, GC-AG or AT-AC)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
382 -J discard any mRNAs that either lack initial START codon
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
383 or the terminal STOP codon, or have an in-frame stop codon
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
384 (only print mRNAs with a fulll, valid CDS)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
385 --no-pseudo: filter out records matching the 'pseudo' keyword
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
386
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
387 -M/--merge : cluster the input transcripts into loci, collapsing matching
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
388 transcripts (those with the same exact introns and fully contained)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
389 -d <dupinfo> : for -M option, write collapsing info to file <dupinfo>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
390 --cluster-only: same as --merge but without collapsing matching transcripts
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
391 -K for -M option: also collapse shorter, fully contained transcripts
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
392 with fewer introns than the container
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
393 -Q for -M option, remove the containment restriction:
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
394 (multi-exon transcripts will be collapsed if just their introns match,
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
395 while single-exon transcripts can partially overlap (80%))
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
396
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
397 --force-exons: make sure that the lowest level GFF features are printed as
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
398 "exon" features
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
399 -E expose (warn about) duplicate transcript IDs and other potential
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
400 problems with the given GFF/GTF records
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
401 -D decode url encoded characters within attributes
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
402 -Z merge close exons into a single exon (for intron size<4)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
403 -w write a fasta file with spliced exons for each GFF transcript
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
404 -x write a fasta file with spliced CDS for each GFF transcript
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
405 -W for -w and -x options, also write for each fasta record the exon
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
406 coordinates projected onto the spliced sequence
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
407 -y write a protein fasta file with the translation of CDS for each record
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
408 -L Ensembl GTF to GFF3 conversion (implies -F; should be used with -m)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
409 -m <chr_replace> is a reference (genomic) sequence replacement table with
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
410 this format:
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
411 <original_ref_ID> <new_ref_ID>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
412 GFF records on reference sequences that are not found among the
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
413 <original_ref_ID> entries in this file will be filtered out
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
414 -o the "filtered" GFF records will be written to <outfile.gff>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
415 (use -o- for printing to stdout)
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
416 -t use <trackname> in the second column of each GFF output line
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
417 -T -o option will output GTF format instead of GFF3
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
418
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
419
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
420
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
421
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
422
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
423 ]]>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
424 </help>
d0d6fc2004be Uploaded
jjohnson
parents:
diff changeset
425 </tool>