-
Notifications
You must be signed in to change notification settings - Fork 0
For Developers
Adam Taranto edited this page Sep 23, 2024
·
5 revisions
Install in developer mode.
# Clone project repo (or your own fork)
git clone git@github.com:dib-lab/oxli.git && cd oxli
# Create conda dev environment
mamba env create -f environment.yml -n oxli
# Install in development mode
pip install -e '.[test]'
# Checkout new branch
git checkout -b dev_new_feature
# Edit src/lib.rs
# Go make some changes to the rust library.
# Check formatting
cargo fmt
# Build and install python module
maturin develop
# Run tests
pytest src/python/tests/
You can open a ready to go development environment on GitPod using this link. You will need to create a GitPod account.
To test the oxli python API on GitPod, open a Jupyter Lab session with these options.
# Launch Jupyter Lab
jupyter lab --NotebookApp.allow_origin='*' \
--NotebookApp.allow_remote_access=True \
--NotebookApp.token='' \
--NotebookApp.password='' \
--no-browser \
--port=8888
Installing Oxli
Basic Setup
For Developers
Getting Started
Getting Started
Counting Kmers
Basic Counting
Extracting from Files
Handling Bad Kmers
Looking up Counts
Single Kmer Lookup
Multiple Kmer Lookup
Removing Records Remove Kmers Abundance Filtering
Exploring Count Tables
Iterating Records
Attributes
Set Operations
Basic SetOps
Exporting Data
Histo: Export Frequency Counts
Dump: Write Hash:Count Pairs
Save and Load KmerCountTables