Class ProbeMapperImpl
java.lang.Object
ubic.gemma.core.analysis.sequence.ProbeMapperImpl
- All Implemented Interfaces:
ProbeMapper
Provides methods for mapping sequences to genes and gene products. Some methods accept a configuration object that
allows threshold etc. to be modified.
- Author:
- pavlidis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessBlatResults(GoldenPathSequenceAnalysis goldenPathDb, Collection<BlatResult> blatResults) Given some blat results (possibly for multiple sequences) determine which if any gene products they should be associatd with; if there are multiple results for a single sequence, these are further analyzed for specificity and redundancy, so that there is a single BlatAssociation between any sequence andy andy gene product.processBlatResults(GoldenPathSequenceAnalysis goldenPathDb, Collection<BlatResult> blatResults, ProbeMapperConfig config) Given some blat results (possibly for multiple sequences) determine which if any gene products they should be associated with; if there are multiple results for a single sequence, these are further analyzed for specificity and redundancy, so that there is a single BlatAssociation between any sequence andy andy gene product.processGbId(GoldenPathSequenceAnalysis goldenPathDb, String genbankId) Given a genbank accession (for a mRNA or EST), find alignment data from GoldenPath.processGbIds(GoldenPathSequenceAnalysis goldenPathDb, Collection<String[]> genbankIds) processSequence(GoldenPathSequenceAnalysis goldenPath, BioSequence sequence) Get BlatAssociation results for a single sequence.processSequences(GoldenPathSequenceAnalysis goldenpath, Collection<BioSequence> sequences, ProbeMapperConfig config) Given a collection of sequences, blat them against the selected genome.
-
Constructor Details
-
ProbeMapperImpl
public ProbeMapperImpl()
-
-
Method Details
-
processBlatResults
public Map<String, Collection<BlatAssociation>> processBlatResults(GoldenPathSequenceAnalysis goldenPathDb, Collection<BlatResult> blatResults) Description copied from interface:ProbeMapperGiven some blat results (possibly for multiple sequences) determine which if any gene products they should be associatd with; if there are multiple results for a single sequence, these are further analyzed for specificity and redundancy, so that there is a single BlatAssociation between any sequence andy andy gene product. Default settings (ProbeMapperConfig) are used. This is a major entry point for this API.- Specified by:
processBlatResultsin interfaceProbeMapper- Parameters:
goldenPathDb- golden path dbblatResults- blat results- Returns:
- map
- See Also:
-
processBlatResults
public Map<String, Collection<BlatAssociation>> processBlatResults(GoldenPathSequenceAnalysis goldenPathDb, Collection<BlatResult> blatResults, ProbeMapperConfig config) Description copied from interface:ProbeMapperGiven some blat results (possibly for multiple sequences) determine which if any gene products they should be associated with; if there are multiple results for a single sequence, these are further analyzed for specificity and redundancy, so that there is a single BlatAssociation between any sequence andy andy gene product. This is a major entry point for this API.- Specified by:
processBlatResultsin interfaceProbeMapper- Parameters:
goldenPathDb- golden path dbblatResults- blat resultsconfig- config- Returns:
- A map of sequence names to collections of blat associations for each sequence.
-
processGbId
public Map<String, Collection<BlatAssociation>> processGbId(GoldenPathSequenceAnalysis goldenPathDb, String genbankId) Description copied from interface:ProbeMapperGiven a genbank accession (for a mRNA or EST), find alignment data from GoldenPath.- Specified by:
processGbIdin interfaceProbeMapper- Parameters:
goldenPathDb- Gp analysisgenbankId- gene bank id- Returns:
- map
-
processGbIds
public Map<String, Collection<BlatAssociation>> processGbIds(GoldenPathSequenceAnalysis goldenPathDb, Collection<String[]> genbankIds) - Specified by:
processGbIdsin interfaceProbeMapper
-
processSequence
public Collection<BlatAssociation> processSequence(GoldenPathSequenceAnalysis goldenPath, BioSequence sequence) Description copied from interface:ProbeMapperGet BlatAssociation results for a single sequence. If you have multiple sequences to run it is always better to use processSequences();- Specified by:
processSequencein interfaceProbeMapper- Parameters:
goldenPath- golden path analysissequence- sequence- Returns:
- blat associations
-
processSequences
public Map<String, Collection<BlatAssociation>> processSequences(GoldenPathSequenceAnalysis goldenpath, Collection<BioSequence> sequences, ProbeMapperConfig config) Description copied from interface:ProbeMapperGiven a collection of sequences, blat them against the selected genome.- Specified by:
processSequencesin interfaceProbeMapper- Parameters:
goldenpath- for the genome to be used.sequences- sequencesconfig- config- Returns:
- map
-