Beispiel #1
0
        private void WriteCds(IInterval codingRegion, ITranscriptRegion exon, IRequiredFields requiredFields, IGeneralAttributes attribs)
        {
            if (!GffUtilities.HasCds(codingRegion, exon))
            {
                return;
            }
            var cds = GffUtilities.GetCdsCoordinates(codingRegion, exon);

            _writer.WriteExonicRegion(cds, requiredFields, attribs, exon.Id, "CDS");
        }
Beispiel #2
0
 private void WriteUtr(IInterval codingRegion, ITranscriptRegion exon, IRequiredFields requiredFields,
                       IGeneralAttributes attribs)
 {
     if (!GffUtilities.HasUtr(codingRegion, exon))
     {
         return;
     }
     if (exon.Start < codingRegion.Start)
     {
         Write5PrimeUtr(codingRegion, exon, requiredFields, attribs);
     }
     if (exon.End > codingRegion.End)
     {
         Write3PrimeUtr(codingRegion, exon, requiredFields, attribs);
     }
 }