Skip to content

Commit

Permalink
Update gff3.md
Browse files Browse the repository at this point in the history
  • Loading branch information
barrymoore authored Sep 24, 2019
1 parent f411690 commit 8923400
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gff3.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ Undefined fields are replaced with the "." character, as described in the origin
<dd>The strand of the feature. + for positive strand (relative to the landmark), - for minus strand, and . for features that are not stranded. In addition, ? can be used for features whose strandedness is relevant, but unknown.</dd>
<dt>Column 8: "phase"</dt>
<dd>
<p>For features of type "CDS", the phase indicates where the next codon begins relative to the start of the current CDS feature. The phase is one of the integers 0, 1, or 2, indicating the number of bases forward from the start of the current CDS feature the next codon begins. A phase of "0" indicates that a codon begins on the first base of the CDS feature (i.e. 0 bases forward), a phase of "1" indicates that the next codon begins at the second base of this region and a phase of "2" indicates that the codon begins at the third base of this region. Note that ‘Phase’ in the context of a GFF3 CDS feature should not be confused with the similar concept of frame that is also a common concept in bioinformatics. Frame is generally calculated as a value for a given base relative to the start of a codon (e.g. <codon position> modulo 3) while CDS phase describes the start of the next codon relative to a given CDS feature.</p>
<p>For features of type "CDS", the phase indicates where the feature begins with reference to the reading frame. The phase is one of the integers 0, 1, or 2, indicating the number of bases that should be removed from the beginning of this feature to reach the first base of the next codon. In other words, a phase of "0" indicates that the next codon begins at the first base of the region described by the current line, a phase of "1" indicates that the next codon begins at the second base of this region, and a phase of "2" indicates that the codon begins at the third base of this region. This is NOT to be confused with the frame, which is simply start modulo 3.</p>
<p>For forward strand features, phase is counted from the start field. For reverse strand features, phase is counted from the end field.</p>
<p>For forward strand features, phase is counted from the start field of the CDS feature. For reverse strand features, phase is counted back from the end field of the CDS feature.</p>
<p>The phase is REQUIRED for all CDS features.</p>
</dd>
<dt>Column 9: "attributes"</dt>
Expand Down

0 comments on commit 8923400

Please sign in to comment.