YeoLab / outrigger

Create a *de novo* alternative splicing database, validate splicing events, and quantify percent spliced-in (Psi) from RNA seq data
http://yeolab.github.io/outrigger/
BSD 3-Clause "New" or "Revised" License
61 stars 22 forks source link

New release: v1.1.0rc1 #86

Closed olgabot closed 7 years ago

olgabot commented 7 years ago

[Briefly describe the problem this PR is attempting to address. Please use @mentions or reference issue numbers if that will help. Provide a list of top-level changes if possible.]

Before you submit a pull request, check that it meets these guidelines:

Fixes #69

Release checklist

python setup.py check --restructuredtext
rstcheck README.rst
rstcheck HISTORY.rst
git tag -a v0.2.1 -m "v0.2.1 - Release *with* requirements.txt"
git push origin v0.2.1
git push origin :refs/tags/v0.2.1
git tag -fa v0.2.1
git push --tags
warning: unexpected indent on line 615 blah blah I'm pypi RST and I'm way too strict
conda create --yes -n outrigger_pypi_test_v0.2.1 --file conda_requirements.txt
# Change to a different directory to make sure you're not importing the `outrigger` folder
# Use "pushd" instead of "cd" so it's easy to pop back to the outrigger folder
pushd $HOME
source activate outrigger_pypi_test_v0.2.1
pip install --index-url https://testpypi.python.org/pypi outrigger --extra-index-url https://pypi.python.org/simple
$ which outrigger
/Users/olga/anaconda3/envs/outrigger_pypi_v0.2.1/bin/outrigger
$ outrigger -h
usage: outrigger [-h] {index,validate,psi} ...

Calculate "percent-spliced in" (Psi) scores of alternative splicing on a *de
novo*, custom-built splicing index

positional arguments:
  {index,validate,psi}  Sub-commands
    index               Build an index of splicing events using a graph
                        database on your junction reads and an annotation
    validate            Ensure that the splicing events found all have the
                        correct splice sites
    psi                 Calculate "percent spliced-in" (Psi) values using the
                        splicing event index built with "outrigger index"

optional arguments:
  -h, --help            show this help message and exit
# Return to the outrigger directory from the `pushd`
popd
# Now upload to PyPI
python setup.py register -r pypi
python setup.py sdist upload -r pypi

Check that it appears correctly on the PyPI website.

cd ..
# If `bioconda-recipes` is not yet cloned, do this step. Otherwise you can
# skip it
git clone https://github.com/bioconda/bioconda-recipes
# Skip to this next line if you've already cloned bioconda-recipes
cd bioconda-recipes/recipes
git checkout -b outrigger_v0.2.1
# Remove existing outrigger folders
rm -rf outrigger
conda skeleton pypi outrigger
git add outrigger
git commit -m "Updated outrigger to v0.2.1"
git push origin outrigger_v0.2.1
# Go up two folders to return to the parent folder
cd ../../
# Clone your forked repo of https://github.com/conda-forge/staged-recipes
git clone https://github.com/YeoLab/staged-recipes
cd staged-recipes/recipes
git checkout -b outrigger_v0.2.1
conda skeleton pypi outrigger
# Get md5 hash from PyPI
git add outrigger
git commit -m "Updated outrigger to v0.2.1"