예제 #1
0
        // constructor
        public MapperUnit(ushort referenceIndex, int start, int end, MapperUnitType id)
            : base(referenceIndex, start, end)
        {
            ID = id;

            _hashCode = End.GetHashCode() ^
                        ID.GetHashCode() ^
                        ReferenceIndex.GetHashCode() ^
                        Start.GetHashCode();
        }
예제 #2
0
 private static MutableTranscriptRegion GetCdnaMap(int fromStart, int fromEnd, MapperUnitType fromType, int toStart, int toEnd)
 {
     return(fromType == MapperUnitType.Genomic
         ? new MutableTranscriptRegion(TranscriptRegionType.Exon, 0, fromStart, fromEnd, toStart, toEnd)
         : new MutableTranscriptRegion(TranscriptRegionType.Exon, 0, toStart, toEnd, fromStart, fromEnd));
 }