Skip to content
Snippets Groups Projects
Commit bfb6bae7 authored by tcarver's avatar tcarver
Browse files

fix for getting gene ID

parent 915c80d6
No related branches found
No related tags found
No related merge requests found
...@@ -429,7 +429,7 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements ...@@ -429,7 +429,7 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements
* @return * @return
*/ */
public String getSegmentID(final Range r) { public String getSegmentID(final Range r) {
if (id_range_store != null) { if (id_range_store != null && !getKey().getKeyString().equals("gene")) {
int offset = 0; int offset = 0;
if (getGffSeqName() != null && contig_ranges != null if (getGffSeqName() != null && contig_ranges != null
&& contig_ranges.containsKey(getGffSeqName())) { && contig_ranges.containsKey(getGffSeqName())) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment