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, expander
Fields inherited from class ubic.gemma.core.loader.util.fetcher.FtpFetcher
avoidDownload, ftpClient, netDataSourceUtil
Fields 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 String
formLocalFilePath
(String unused, File newDir) protected String
formRemoteFilePath
(String identifier) void
void
Methods inherited from class ubic.gemma.core.loader.util.fetcher.FtpArchiveFetcher
cleanUp, doTask, initArchiveHandler, listFiles, setDeleteAfterUnpack, setExcludePattern, setForce, unPack
Methods inherited from class ubic.gemma.core.loader.util.fetcher.FtpFetcher
defineTask, fetch, fetch, getExpectedSize, getNetDataSourceUtil, setAvoidDownload
Methods 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:
formRemoteFilePath
in classAbstractFetcher
-
initConfig
public void initConfig()- Specified by:
initConfig
in classAbstractFetcher
-
fetch
Fetch the Taxon bundle from NCBI.- Returns:
- local files
-
formLocalFilePath
- Specified by:
formLocalFilePath
in classAbstractFetcher
-
setNetDataSourceUtil
public void setNetDataSourceUtil()- Specified by:
setNetDataSourceUtil
in classFtpFetcher
-