VCFGenotypeRecord already defines all the methods needed to be SampleBacked, so let's annotate it as being SampleBacked. This way, when used as a generic Genotype, sample data can be retrieved.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2305 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
78d5ac9bc2
commit
a45adadf1f
|
|
@ -12,7 +12,7 @@ import java.util.*;
|
||||||
* Class VCFGenotypeRecord
|
* Class VCFGenotypeRecord
|
||||||
* <p/>
|
* <p/>
|
||||||
*/
|
*/
|
||||||
public class VCFGenotypeRecord implements Genotype {
|
public class VCFGenotypeRecord implements Genotype, SampleBacked {
|
||||||
|
|
||||||
// key names
|
// key names
|
||||||
public static final String GENOTYPE_KEY = "GT";
|
public static final String GENOTYPE_KEY = "GT";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue