Skip to content
Snippets Groups Projects
Commit 5af0581e authored by tjc's avatar tjc
Browse files

fix for duplicateGeneModel

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6955 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent c5b0acf6
No related branches found
No related tags found
No related merge requests found
......@@ -366,15 +366,27 @@ public class GeneUtils
newFeatures= duplicateFeatures(chadoGene.get3UtrOfTranscript(transcriptName), newchadoGene);
for(int k=0; k<newFeatures.size(); k++)
newchadoGene.add3PrimeUtr(newTranscriptName, (Feature)newFeatures.get(k));
{
uk.ac.sanger.artemis.Feature utrFeature =
(uk.ac.sanger.artemis.Feature)newFeatures.get(k);
newchadoGene.add3PrimeUtr(newTranscriptName, utrFeature.getEmblFeature());
}
newFeatures = duplicateFeatures(chadoGene.get5UtrOfTranscript(transcriptName), newchadoGene);
for(int k=0; k<newFeatures.size(); k++)
newchadoGene.add5PrimeUtr(newTranscriptName, (Feature)newFeatures.get(k));
{
uk.ac.sanger.artemis.Feature utrFeature =
(uk.ac.sanger.artemis.Feature)newFeatures.get(k);
newchadoGene.add5PrimeUtr(newTranscriptName, utrFeature.getEmblFeature());
}
newFeatures = duplicateFeatures(chadoGene.getOtherFeaturesOfTranscript(transcriptName), newchadoGene);
for(int k=0; k<newFeatures.size(); k++)
newchadoGene.addOtherFeatures(newTranscriptName, (Feature)newFeatures.get(k));
{
uk.ac.sanger.artemis.Feature otherFeature =
(uk.ac.sanger.artemis.Feature)newFeatures.get(k);
newchadoGene.addOtherFeatures(newTranscriptName, otherFeature.getEmblFeature());
}
newFeatures = duplicateFeatures(chadoGene.getSplicedFeaturesOfTranscript(transcriptName), newchadoGene);
for(int k=0; k<newFeatures.size(); k++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment