Package htsjdk.tribble.bed
Class SimpleBEDFeature
java.lang.Object
htsjdk.tribble.bed.SimpleBEDFeature
- All Implemented Interfaces:
Locatable,BEDFeature,Feature
- Direct Known Subclasses:
FullBEDFeature
Feature from a BED file without exon blocks.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the contig name for the contig this is mapped to.intgetEnd()getExons()getLink()getName()floatgetScore()intgetStart()getType()voidvoidvoidsetDescription(String description) voidsetEnd(int end) voidvoidvoidsetScore(float score) voidsetStart(int start) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface htsjdk.samtools.util.Locatable
contains, contigsMatch, getLengthOnReference, overlaps, withinDistanceOf
-
Field Details
-
chr
-
start
protected int start -
end
protected int end -
strand
-
-
Constructor Details
-
SimpleBEDFeature
-
-
Method Details
-
getContig
Description copied from interface:LocatableGets the contig name for the contig this is mapped to. May return null if there is no unique mapping. -
getStart
public int getStart() -
getEnd
public int getEnd() -
getStrand
- Specified by:
getStrandin interfaceBEDFeature
-
setStrand
-
setChr
-
setStart
public void setStart(int start) -
setEnd
public void setEnd(int end) -
getType
- Specified by:
getTypein interfaceBEDFeature
-
setType
-
getColor
- Specified by:
getColorin interfaceBEDFeature
-
setColor
-
getDescription
- Specified by:
getDescriptionin interfaceBEDFeature
-
setDescription
-
getName
- Specified by:
getNamein interfaceBEDFeature
-
setName
-
getScore
public float getScore()- Specified by:
getScorein interfaceBEDFeature
-
setScore
public void setScore(float score) -
getLink
- Specified by:
getLinkin interfaceBEDFeature
-
setLink
-
getExons
- Specified by:
getExonsin interfaceBEDFeature
-