Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 get sequences and metadata #162

Merged
merged 9 commits into from
Oct 21, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,30 @@ language: python
env:
- PYTHON_VERSION=2.7
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-3.7.3-Linux-x86_64.sh -O miniconda.sh
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
# Update conda itself
- conda update --yes conda
- export PATH=/home/travis/miniconda3/bin:$TRAVIS_BUILD_DIR/scripts:$PATH
- export AG_TESTING='True'
install:
- conda create --yes -n env_name python=$PYTHON_VERSION pip nose numpy scipy matplotlib pandas>=0.15 flake8 statsmodels lxml h5py>=2.3.1
- conda create --yes -n env_name python=$PYTHON_VERSION pip nose numpy=1.9.2 scipy matplotlib pandas>=0.15 flake8 statsmodels lxml h5py>=2.3.1 notebook
- source activate env_name
# upgrade click, older versions of click do not have __version__
- pip install -U click
- pip install scikit-bio==0.2.3 biom-format colorbrewer
- pip install scikit-bio==0.2.3 biom-format colorbrewer seaborn click
- pip install qiime runipy ipymd
script:
- source activate env_name
- export PYTHONPATH=$TRAVIS_BUILD_DIR:$PYTHONPATH
- nosetests --with-doctest
- flake8 americangut/*.py
- flake8 scripts/*.py scripts/ag
# The test code contains a LOT of non-flake8 lines, mostly due to expected
# data
#- flake8 tests/*
- ipymd --from markdown --to notebook ipynb/primary-processing/*.md
- runipy ipynb/primary-processing/1-get_sequences_and_metadata.ipynb
# runipy ipynb/primary-processing/2-filter_sequences_for_blooms.ipynb
# runipy ipynb/primary-processing/3-pick_otus.ipynb
# runipy ipynb/primary-processing/4-prepare_metaanalyses.ipynb
# runipy ipynb/primary-processing/5-alpha_diversity.ipynb
# runipy ipynb/primary-processing/6-beta-diversity.ipynb
# runipy ipynb/primary-processing/7-taxonomy-summaries.ipynb
# runipy ipynb/primary-processing/7.5-collapse_samples.ipynb
8 changes: 8 additions & 0 deletions americangut/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import os

WORKING_DIR = 'agp_processing'
if not os.path.exists(WORKING_DIR):
os.mkdir(WORKING_DIR)


__all__ = ['WORKING_DIR']
Loading