(Hopefully) temporary hack: load contig information by contig name rather than contig id to avoid
off-by-one errors. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2078 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
0fbd81766b
commit
85bc9d3e91
|
|
@ -92,7 +92,7 @@ public class LocusIteratorByState extends LocusIterator {
|
||||||
public int getGenomePosition() { return read.getAlignmentStart() + getGenomeOffset(); }
|
public int getGenomePosition() { return read.getAlignmentStart() + getGenomeOffset(); }
|
||||||
|
|
||||||
public GenomeLoc getLocation() {
|
public GenomeLoc getLocation() {
|
||||||
return GenomeLocParser.createGenomeLoc(read.getReferenceIndex(), getGenomePosition());
|
return GenomeLocParser.createGenomeLoc(read.getReferenceName(), getGenomePosition());
|
||||||
}
|
}
|
||||||
|
|
||||||
//private CigarElement getCurElement() { return curElement; }
|
//private CigarElement getCurElement() { return curElement; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue