use of org.broad.igv.tdf.TDFGroup in project ASCIIGenome by dariober.
the class TrackWiggles method getAttributesFromTDF.
private String getAttributesFromTDF(String attr) {
String path = this.getWorkFilename();
try {
ResourceLocator resourceLocator = new ResourceLocator(path);
TDFReader reader = new TDFReader(resourceLocator);
TDFGroup rootGroup = reader.getGroup("/");
return rootGroup.getAttribute(attr);
} catch (Exception e) {
return null;
}
}
Aggregations