Package htsjdk.tribble.bed
Class SimpleBEDFeature
- java.lang.Object
-
- htsjdk.tribble.bed.SimpleBEDFeature
-
- All Implemented Interfaces:
Locatable,BEDFeature,Feature
- Direct Known Subclasses:
FullBEDFeature
public class SimpleBEDFeature extends Object implements BEDFeature
Feature from a BED file without exon blocks.
-
-
Constructor Summary
Constructors Constructor Description SimpleBEDFeature(int start, int end, String chr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetColor()StringgetContig()Gets the contig name for the contig this is mapped to.StringgetDescription()intgetEnd()List<FullBEDFeature.Exon>getExons()StringgetLink()StringgetName()floatgetScore()intgetStart()StrandgetStrand()StringgetType()voidsetChr(String chr)voidsetColor(Color color)voidsetDescription(String description)voidsetEnd(int end)voidsetLink(String link)voidsetName(String name)voidsetScore(float score)voidsetStart(int start)voidsetStrand(Strand strand)voidsetType(String type)-
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
-
-
-
-
Constructor Detail
-
SimpleBEDFeature
public SimpleBEDFeature(int start, int end, String chr)
-
-
Method Detail
-
getContig
public String 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
public Strand getStrand()
- Specified by:
getStrandin interfaceBEDFeature
-
setStrand
public void setStrand(Strand strand)
-
setChr
public void setChr(String chr)
-
setStart
public void setStart(int start)
-
setEnd
public void setEnd(int end)
-
getType
public String getType()
- Specified by:
getTypein interfaceBEDFeature
-
setType
public void setType(String type)
-
getColor
public Color getColor()
- Specified by:
getColorin interfaceBEDFeature
-
setColor
public void setColor(Color color)
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceBEDFeature
-
setDescription
public void setDescription(String description)
-
getName
public String getName()
- Specified by:
getNamein interfaceBEDFeature
-
setName
public void setName(String name)
-
getScore
public float getScore()
- Specified by:
getScorein interfaceBEDFeature
-
setScore
public void setScore(float score)
-
getLink
public String getLink()
- Specified by:
getLinkin interfaceBEDFeature
-
setLink
public void setLink(String link)
-
getExons
public List<FullBEDFeature.Exon> getExons()
- Specified by:
getExonsin interfaceBEDFeature
-
-