Bio.IO.BAM.BAMFormatter.CreateBAMIndexFile C# (CSharp) Méthode

CreateBAMIndexFile() private static méthode

Creates BAMIndex object from the specified BAM file and writes to specified BAMIndex file.
private static CreateBAMIndexFile ( Stream compressedBAMStream, Bio.IO.BAM.BAMIndexStorage indexStorage ) : void
compressedBAMStream Stream
indexStorage Bio.IO.BAM.BAMIndexStorage
Résultat void
        private static void CreateBAMIndexFile(Stream compressedBAMStream, BAMIndexStorage indexStorage)
        {
            var parser = new BAMParser();
            BAMIndex bamIndex = parser.GetIndexFromBAMStorage(compressedBAMStream);
            indexStorage.Write(bamIndex);
        }