Package picard.annotation
Class Gene
java.lang.Object
htsjdk.samtools.util.Interval
picard.annotation.Gene
- All Implemented Interfaces:
htsjdk.samtools.util.Locatable,htsjdk.tribble.Feature,htsjdk.tribble.NamedFeature,Cloneable,Comparable<htsjdk.samtools.util.Interval>,Iterable<Gene.Transcript>
Holds annotation of a gene for storage in an OverlapDetector. May hold multiple transcripts for the same gene.
The transcripts must all be relative to the same strand.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTranscript(String name, int transcriptionStart, int transcriptionEnd, int codingStart, int codingEnd, int numExons) intbooleaniterator()Methods inherited from class htsjdk.samtools.util.Interval
abuts, clone, compareTo, countBases, equalsWithStrandAndName, getContig, getEnd, getIntersectionLength, getName, getSequence, getStart, getStrand, hashCode, intersect, intersects, isNegativeStrand, isPositiveStrand, length, pad, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface htsjdk.tribble.Feature
getChrMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface htsjdk.samtools.util.Locatable
contains, contigsMatch, getLengthOnReference, overlaps, withinDistanceOf
-
Constructor Details
-
Gene
-
-
Method Details
-
addTranscript
public Gene.Transcript addTranscript(String name, int transcriptionStart, int transcriptionEnd, int codingStart, int codingEnd, int numExons) -
iterator
- Specified by:
iteratorin interfaceIterable<Gene.Transcript>
-
compareTo
-
equals
- Overrides:
equalsin classhtsjdk.samtools.util.Interval
-