Esempio n. 1
0
        // common initialization routines used by the constructors
        private void Initialize()
        {
            _byteBuffer      = new byte[MaxBlockSize];
            _sequenceBuffer  = new char[BamConstants.MaxReadLength];
            _baseLookupTable = "=ACMGRSVTWYHKDBN".ToCharArray();

            _referenceNameToIndex = new Dictionary <string, int>();
            _referenceIndex       = new List <GenomeMetadata.SequenceMetadata>();
            _alignmentsOffset     = 0;

            _index = new BamIndex();
        }