Ejemplo n.º 1
0
        public List <Intron> CreateIntrons()
        {
            Exon previous = null;

            foreach (Exon x in Exons)
            {
                if (previous == null)
                {
                    previous = x;
                    continue;
                }
                Intron intron = new Intron(this, x.ChromosomeID, x.Source, x.Strand, previous.OneBasedEnd + 1, x.OneBasedStart - 1);
                if (intron.Length() > 0)
                {
                    Introns.Add(intron);
                }
            }
            return(Introns);
        }
Ejemplo n.º 2
0
 public Intron(Intron intron)
     : base(intron)
 {
 }