Updated for basepair version 2.0.0
Command Line (CLI) bindings for Basepair's API. The CLI bindings are just a wrapper around the Python bindings, which are more fully featured. So if there is something you cannot do via the command line, then check out the Python API. An outline of the contents on this page:
- Creating a project
- Creating a sample
- Running an analysis
- Downloading results
1. Creating a project
First, check your available projects. Your initial Basepair account starts with two existing projects, one containing example data and an empty "Project 1":
Now, create a new project:
2. Creating a sample
Create a sample within your new project, specifying the sample name, data type, genome of interest, and location of data files:
To see all available data types and other available metadata:
To see all available genomes:
You can check the samples in a project with:
3. Running an analysis
To run an analysis, such as ATAC-seq alignment with bowtie2 in this case, specify the project, sample, and pipeline:
To see all available pipelines:
4. Downloading results
Download the entire analysis directory tree and all associated files to the current directory by specifying the analysis ID:
To download only the alignment BAM and BAM index files from an analysis and the associated directory tree:
To see all files of an analysis and their associated tags:
To download only the heatmaps and bigwig track from an analysis:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article