public interface ExternalFileGeneLoaderService
Modifier and Type | Method and Description |
---|---|
int |
load(InputStream geneInputStream,
String taxonName) |
int |
load(String geneFile,
String taxonName)
Work flow is: The file is first checked to see if readable, and the taxon checked to see it is in Gemma.
|
int load(String geneFile, String taxonName) throws Exception
geneFile
- Full path to file containing genes detailstaxonName
- taxonName to be associated to this gene, does not have to be a species.Exception
- Thrown with a file format error or problem in persisting gene to database.int load(InputStream geneInputStream, String taxonName) throws Exception
geneInputStream
- gene input streamtaxonName
- taxon nameException
- Thrown with a file format error or problem in persisting gene to database.Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.