Closed hargup closed 9 years ago
@yeban resizeExon
strips the input transcript of all the CDSes. Is this a expected behavior?
It adds back the CDS as well. On Fri, 26 Dec 2014 at 7:16 pm Harsh Gupta notifications@github.com wrote:
@yeban https://github.com/yeban resizeExon strips the input transcript of all the CDSes. Is this a expected behavior?
— Reply to this email directly or view it on GitHub https://github.com/yeban/afra/pull/70#issuecomment-68141653.
@yeban I'm somewhat confused about the about the various coordinate systems used in afra
. Here are my observations. Can you verify and comment on them.
interval(start, end)
is exclusive of the end
Returns a number between 0 and the length of CDNA of the given transcript minus one (inclusive)
which means CDNA coordinate system uses 0 based indexing and both side closed interval.
After some personal discussion with @yeban I have create this wiki entry https://github.com/yeban/afra/wiki/Co-ordinate-Systems-used-in-Afra
I need to critically review editing functionality and write automated tests.
mergeTranscripts
andresizeExon
andnormalizeFeature
each has the same code to "compress" the gene model.Write a Comparison Function for Transcripts/Feature
name
,uniqueID
of the transcripts are different.subfeature
attribute of a feature is an (ordered) array, this makes the (current) implementation of the comparison function return wrong result. The issue can be resolved in two ways: (1) make sure the order of thesubfeatures
corresponding a feature is unique. (2) Compute equality ofsubfeatures
as sets. We are using the first method now but it is not thoroughly tested.Testing
resizeExon
resizeExon
depends needs to tested firstgetWholeCDSCoordinates
setORF
getCDNA
getCDS
transcriptToCDNA
CDNAToTranscript
setCDS
Testing
mergeTranscripts
resizeExon
depends needs to tested firstareOnSameStrand
sortAnnotationsByLocation
createTranscript
Testing
normalizeFeature
resizeExon
depends needs to tested first[x] Figure out and document various coordinate systems used in the program. I created a wiki: https://github.com/yeban/afra/wiki/Co-ordinate-Systems-used-in-Afra
Optional:
transcript_data.js
indata/transcripts
if there are new transcripts in that directory.