Bug fix. decodeLoc() should update lineNo so you get meaningful line no when indexing
due to malformed VCF files.
This commit is contained in:
parent
849c0757f2
commit
a340a1aeac
|
|
@ -162,6 +162,7 @@ public abstract class AbstractVCFCodec implements FeatureCodec, NameAwareCodec,
|
|||
* @return a feature, (not guaranteed complete) that has the correct start and stop
|
||||
*/
|
||||
public Feature decodeLoc(String line) {
|
||||
lineNo++;
|
||||
String[] locParts = new String[6];
|
||||
int nParts = ParsingUtils.split(line, locParts, VCFConstants.FIELD_SEPARATOR_CHAR, true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue