scRNA-seq gene selection code
First create a conda environment with
conda create -n enetgsel python=3.8
conda activate enetgsel
conda install -c conda-forge fortran-compiler
Then:
Stable Release: pip install elastic_net_gene_selection
Development Head: pip install git+https://github.com/AllenCellModeling/elastic_net_gene_selection.git
For full package documentation please visit AllenCellModeling.github.io/elastic_net_gene_selection.
See CONTRIBUTING.md for information related to developing the code.
-
pip install -e .[dev]
This will install your package in editable mode with all the required development dependencies (i.e.
tox
). -
make build
This will run
tox
which will run all your tests in both Python 3.6, Python 3.7, and Python 3.8 as well as linting your code. -
make clean
This will clean up various Python and build generated files so that you can ensure that you are working in a clean environment.
-
make docs
This will generate and launch a web browser to view the most up-to-date documentation for your Python package.
- Register your project with PyPI:
- Make an account on pypi.org
- Go to your GitHub repository's settings and under the
Secrets
tab, add a secret calledPYPI_TOKEN
with your password for your PyPI account. Don't worry, no one will see this password because it will be encrypted. - Next time you push to the branch:
stable
, GitHub actions will build and deploy your Python package to PyPI. - Recommendation: Prior to pushing to
stable
it is recommended to install and runbumpversion
as this will, tag a git commit for release and update thesetup.py
version number.
Free software: Allen Institute Software License