|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.config.DefaultNameAdapter
apollo.config.GmodNameAdapter
apollo.config.FlyNameAdapter
public class FlyNameAdapter
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
| Fields inherited from class apollo.config.GmodNameAdapter |
|---|
annotNumber |
| Constructor Summary | |
|---|---|
FlyNameAdapter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
generateAnnotSplitName(SeqFeatureI annot,
StrandedFeatureSetI annotParent,
java.lang.String curationName)
generates both temp names and split names. |
java.lang.String |
generateId(StrandedFeatureSetI annots,
java.lang.String curation_name,
SeqFeatureI feature)
generates a ID for a given feature. |
java.lang.String |
generateName(StrandedFeatureSetI annots,
java.lang.String curation_name,
SeqFeatureI feature)
This is used by ChadoXmlWrite to generate a (new) name for exons in FlyBase Harvard's preferred style. |
protected java.lang.String |
generateTranscriptSuffix(int t_index,
java.util.Vector transcripts,
boolean addTemp)
Construct a new index for transcript #t_index, following the pattern -RA, -RB, ..., -RAA, -RAB, ... |
protected java.lang.String |
getDefaultIDPrefix()
The prefix to use if idFormat is not specified in tiers file for a type |
protected java.lang.String |
getPeptideSuffixRoot()
returns "-P", The peptide suffix minus the ordinal |
protected java.lang.String |
getPrefix(java.lang.String idFormat)
Given a format string (e.g. |
protected java.lang.String |
getTranscriptSuffixRoot()
This needs some explaining. |
CompoundTransaction |
setAnnotId(AnnotatedFeatureI annot,
java.lang.String id)
returns CompoundTransaction of all id changes - this is used by GeneEditPanel for explicit id changes(fly) and UpdateTransaction/TransactionUtil for id changes caused by type changes (fly) which should eventually use compound trans - at the moment this is really just for fly Merge & split dont use this (should they?) |
protected UpdateTransaction |
setPeptideIdFromTranscript(SeqFeatureI trans)
Flys peptide ids derive from its transcript id (unlike gmod/rice) |
protected CompoundTransaction |
setSeqNamesFromTranscript(AnnotatedFeatureI trans)
Set the cDNA *and* peptide names based on the new transcript name. |
protected int |
skipUsedTempNum(java.lang.String curation_name,
java.lang.String id,
int num)
helper function to create new temp ids - gets the next temp number. |
protected boolean |
transcriptCanHaveTempSuffix()
Returns false - fly doesnt temp transcripts |
protected boolean |
transcriptOrdinalIsNumeric()
Returns false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public FlyNameAdapter()
| Method Detail |
|---|
public java.lang.String generateName(StrandedFeatureSetI annots,
java.lang.String curation_name,
SeqFeatureI feature)
generateName in interface ApolloNameAdapterIgenerateName in class GmodNameAdapter
public java.lang.String generateId(StrandedFeatureSetI annots,
java.lang.String curation_name,
SeqFeatureI feature)
generateId in interface ApolloNameAdapterIgenerateId in class GmodNameAdapter
public java.lang.String generateAnnotSplitName(SeqFeatureI annot,
StrandedFeatureSetI annotParent,
java.lang.String curationName)
GmodNameAdapter
generateAnnotSplitName in interface ApolloNameAdapterIgenerateAnnotSplitName in class GmodNameAdapter
protected int skipUsedTempNum(java.lang.String curation_name,
java.lang.String id,
int num)
protected java.lang.String generateTranscriptSuffix(int t_index,
java.util.Vector transcripts,
boolean addTemp)
generateTranscriptSuffix in class GmodNameAdapterprotected CompoundTransaction setSeqNamesFromTranscript(AnnotatedFeatureI trans)
setSeqNamesFromTranscript in class GmodNameAdapterprotected java.lang.String getDefaultIDPrefix()
getDefaultIDPrefix in class GmodNameAdapterprotected java.lang.String getPrefix(java.lang.String idFormat)
getPrefix in class GmodNameAdapterprotected java.lang.String getTranscriptSuffixRoot()
GmodNameAdapter
getTranscriptSuffixRoot in class GmodNameAdapterprotected java.lang.String getPeptideSuffixRoot()
getPeptideSuffixRoot in class GmodNameAdapterprotected boolean transcriptOrdinalIsNumeric()
transcriptOrdinalIsNumeric in class GmodNameAdapterprotected boolean transcriptCanHaveTempSuffix()
transcriptCanHaveTempSuffix in class GmodNameAdapter
public CompoundTransaction setAnnotId(AnnotatedFeatureI annot,
java.lang.String id)
setAnnotId in interface ApolloNameAdapterIsetAnnotId in class DefaultNameAdapterprotected UpdateTransaction setPeptideIdFromTranscript(SeqFeatureI trans)
setPeptideIdFromTranscript in class GmodNameAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||