Class TaxonFetcher
java.lang.Object
ubic.gemma.core.loader.util.fetcher.AbstractFetcher
ubic.gemma.core.loader.util.fetcher.FtpFetcher
ubic.gemma.core.loader.util.fetcher.FtpArchiveFetcher
ubic.gemma.core.loader.genome.taxon.TaxonFetcher
- All Implemented Interfaces:
ArchiveFetcher,Fetcher
Taxon information from NCBI comes as a tar.gz archive; only the names.dmp file is of interest. From
ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz
- Author:
- pavlidis
-
Field Summary
Fields inherited from class ubic.gemma.core.loader.util.fetcher.FtpArchiveFetcher
doDelete, expanderFields inherited from class ubic.gemma.core.loader.util.fetcher.FtpFetcher
avoidDownload, ftpClient, netDataSourceUtilFields inherited from class ubic.gemma.core.loader.util.fetcher.AbstractFetcher
allowUseExisting, force, INFO_UPDATE_INTERVAL, localBasePath, log, remoteBaseDir -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetch()Fetch the Taxon bundle from NCBI.protected StringformLocalFilePath(String unused, File newDir) protected StringformRemoteFilePath(String identifier) voidvoidMethods inherited from class ubic.gemma.core.loader.util.fetcher.FtpArchiveFetcher
cleanUp, doTask, initArchiveHandler, listFiles, setDeleteAfterUnpack, setExcludePattern, setForce, unPackMethods inherited from class ubic.gemma.core.loader.util.fetcher.FtpFetcher
defineTask, fetch, fetch, getExpectedSize, getNetDataSourceUtil, setAvoidDownloadMethods inherited from class ubic.gemma.core.loader.util.fetcher.AbstractFetcher
fetchedFile, fetchedFile, getExistingFile, getLocalBasePath, isForce, mkdir, mkdir, setAllowUseExisting, waitForDownload
-
Constructor Details
-
TaxonFetcher
public TaxonFetcher()
-
-
Method Details
-
formRemoteFilePath
- Specified by:
formRemoteFilePathin classAbstractFetcher
-
initConfig
public void initConfig()- Specified by:
initConfigin classAbstractFetcher
-
fetch
Fetch the Taxon bundle from NCBI.- Returns:
- local files
-
formLocalFilePath
- Specified by:
formLocalFilePathin classAbstractFetcher
-
setNetDataSourceUtil
public void setNetDataSourceUtil()- Specified by:
setNetDataSourceUtilin classFtpFetcher
-