Usage Examples
Last updated
Was this helpful?
Last updated
Was this helpful?
DNAstack products can be accessed programmatically through the Command Line Interface (CLI) for Windows, Mac, and Linux environments.
For installation instructions, see the page.
You can easily set up your environment by using the dnastack
use command. For example, we set up the CLI to work with the service endpoints available at viral.ai.
Arguments:
DRS-URL
: A DRS URL of the resource you would like to download
Example
You can list all items in a particular collection with dnastack collections list-items -c SLUG_NAME
where SLUG_NAME
is the slug name of the collection. Here is an example.
where items can be tables or blobs/files.
Arguments:
SLUG-NAME
: The name of the collection to query against
COLLECTION-QUERY
: The SQL query to execute
Example
Alternatively, you can run the following query:
Take a look at the for a detailed guide on using search commands.
See the for usage examples