Package gov.nih.nlm.ncbi.ngs
Class NGS
java.lang.Object
gov.nih.nlm.ncbi.ngs.NGS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExceptionInInitializerError
Returns exception which occurred during initialization If the exception is a subclass of LibraryLoadError, then there was a problem with loading native librariesstatic boolean
Check to see if NGS SDK is supported by current environmentstatic boolean
Check to see if spec string represents an SRA archivestatic void
static ReadCollection
openReadCollection
(String spec) Create an object representing a named collection of readsstatic ReferenceSequence
openReferenceSequence
(String spec) Create an object representing a named reference sequencestatic void
setAppVersionString
(String app_version) Updates User-Agent header in HTTP communications
-
Constructor Details
-
NGS
public NGS()
-
-
Method Details
-
isSupported
public static boolean isSupported()Check to see if NGS SDK is supported by current environment- Returns:
- true if NGS SDK is supported
-
getInitializationError
Returns exception which occurred during initialization If the exception is a subclass of LibraryLoadError, then there was a problem with loading native libraries- Returns:
- initialization error or null
-
setAppVersionString
Updates User-Agent header in HTTP communications- Parameters:
app_version
- gives app name and version, e.g. "pileup-stats.1.0.0"
-
openReadCollection
Create an object representing a named collection of reads -
openReferenceSequence
Create an object representing a named reference sequence -
isValid
Check to see if spec string represents an SRA archive- Parameters:
spec
- may be a path to an object or may be an id, accession, or URL- Returns:
- true spec represents an SRA archive
-
main
-