BaiIndexedBamReaderPrivate(const BamFile& file, const GenomicInterval& interval) : htsIndex_(nullptr) , htsIterator_(nullptr) { LoadIndex(file.Filename()); Interval(file.Header(), interval); }
DataSet::DataSet(const BamFile& bamFile) : d_(DataSetIO::FromUri(bamFile.Filename())) , path_(FileUtils::CurrentWorkingDirectory()) { CreatedAt(internal::ToIso8601(CurrentTime())); }
ExternalResource::ExternalResource(const BamFile& bamFile) : IndexedDataType("PacBio.SubreadFile.SubreadBamFile", bamFile.Filename(), "ExternalResource", XsdType::BASE_DATA_MODEL) { }
DataSet::DataSet(const BamFile& bamFile) : d_(DataSetIO::FromUri(bamFile.Filename())) , path_(FileUtils::CurrentWorkingDirectory()) { InitDefaults(*this); }