Convenience methods for getting the VCFReader and VCFRecord
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2614 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
d0af7f6c7b
commit
64225b28fd
|
|
@ -21,15 +21,24 @@ import java.util.*;
|
|||
* An implementation of the ROD for VCF.
|
||||
*/
|
||||
public class RodVCF extends BasicReferenceOrderedDatum implements VariationRod, VariantBackedByGenotype, Iterator<RodVCF> {
|
||||
public VCFReader getReader() {
|
||||
return mReader;
|
||||
}
|
||||
|
||||
// our VCF related information
|
||||
private VCFReader mReader;
|
||||
|
||||
public VCFRecord getRecord() {
|
||||
return mCurrentRecord;
|
||||
}
|
||||
|
||||
public VCFRecord mCurrentRecord;
|
||||
|
||||
public RodVCF(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
||||
private RodVCF(String name, VCFRecord currentRecord, VCFReader reader) {
|
||||
public RodVCF(String name, VCFRecord currentRecord, VCFReader reader) {
|
||||
super(name);
|
||||
mCurrentRecord = currentRecord;
|
||||
mReader = reader;
|
||||
|
|
|
|||
Loading…
Reference in New Issue