annotate gffread.xml @ 0:c636d01ad343 draft

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