ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/tophat_cpp/gff.h
(Generate patch)
# Line 608 | Line 608
608       if (sid==gff_fid_exon && isCDS) sid=gff_fid_CDS;
609       return names->feats.getName(sid);
610       }
611 +   void addCDS(uint cd_start, uint cd_end, char phase=0);
612 +  
613     bool monoFeature() {
614       return (exons.Count()==0 ||
615 <          (exons.Count()==1 && exon_ftype_id==ftype_id));
615 >          (exons.Count()==1 &&  //exon_ftype_id==ftype_id &&
616 >              exons[0]->end==this->end && exons[0]->start==this->start));
617       }
618  
619     bool hasCDS() { return (CDstart>0); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines