INNER CODE UNIT · C++
end
DecodeGenetics/graphtyper · src/graph/genomic_region.cpp:103
end = stoi64(region.substr(dash + 1, region.size() - dash));
}
}
if (begin != 0)
{
// Switch to 0-based indexing
--begin;
}
}
GenomicRegion::GenomicRegion(std::string_view chrom, long _begin, long _end) : chr(chrom), begin(_begin), end(_end)
{
if (begin != 0)
{
// Switch to 0-based indexing
--begin;
}