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:
depristo 2010-01-16 20:22:31 +00:00
parent d0af7f6c7b
commit 64225b28fd
1 changed files with 10 additions and 1 deletions

View File

@ -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;