Package htsjdk.tribble.bed
Class SimpleBEDFeature
java.lang.Object
htsjdk.tribble.bed.SimpleBEDFeature
- All Implemented Interfaces:
Locatable
,BEDFeature
,Feature
,NamedFeature
- Direct Known Subclasses:
FullBEDFeature
Feature from a BED file without exon blocks.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Gets the contig name for the contig this is mapped to.int
getEnd()
getExons()
getLink()
getName()
float
getScore()
int
getStart()
getType()
void
void
void
setDescription
(String description) void
setEnd
(int end) void
void
void
setScore
(float score) void
setStart
(int start) void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:Locatable
Gets 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:
getStrand
in interfaceBEDFeature
-
setStrand
-
setChr
-
setStart
public void setStart(int start) -
setEnd
public void setEnd(int end) -
getType
- Specified by:
getType
in interfaceBEDFeature
-
setType
-
getColor
- Specified by:
getColor
in interfaceBEDFeature
-
setColor
-
getDescription
- Specified by:
getDescription
in interfaceBEDFeature
-
setDescription
-
getName
- Specified by:
getName
in interfaceNamedFeature
-
setName
-
getScore
public float getScore()- Specified by:
getScore
in interfaceBEDFeature
-
setScore
public void setScore(float score) -
getLink
- Specified by:
getLink
in interfaceBEDFeature
-
setLink
-
getExons
- Specified by:
getExons
in interfaceBEDFeature
-