Package ubic.gemma.core.loader.genome
Class SimpleFastaCmd
java.lang.Object
ubic.gemma.core.loader.genome.SimpleFastaCmd
- All Implemented Interfaces:
FastaCmd
Simple implementation of methods for fetching sequences from blast-formatted databases, using blastdbcmd (aka
fastacmd)
- Author:
- pavlidis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBatchAccessions(Collection<String> accessions, String database) getBatchIdentifiers(Collection<Integer> identifiers, String database) getByAccession(String accession, String database) getByIdentifier(int identifier, String database) voidsetBlastHome(Path blastDbHome) Override theBLASTDBenvironment variable.
-
Constructor Details
-
SimpleFastaCmd
-
-
Method Details
-
setBlastHome
Override theBLASTDBenvironment variable.If
null, the BLAST process will inherit the value of the environment. -
getByAccession
- Specified by:
getByAccessionin interfaceFastaCmd
-
getByIdentifier
- Specified by:
getByIdentifierin interfaceFastaCmd
-
getBatchAccessions
- Specified by:
getBatchAccessionsin interfaceFastaCmd
-
getBatchIdentifiers
public Collection<BioSequence> getBatchIdentifiers(Collection<Integer> identifiers, String database) - Specified by:
getBatchIdentifiersin interfaceFastaCmd
-