-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from widdowquinn/strath_move
Update ncfp for the move to Strathclyde
- Loading branch information
Showing
31 changed files
with
1,117 additions
and
947 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
# CHANGES.md - `ncfp` | ||
|
||
## v0.1.1dev1 | ||
## v0.2.0-a1 | ||
|
||
* Add installation instructions and other improvements to documentation | ||
* Tidied codebase in some places (removing `print` statements, unused functions, etc.). | ||
* Add CLI tests. | ||
* Correct `ncfp` program name in help/usage text. | ||
- Update copyright notices | ||
- Convert parsers to use `pathlib` | ||
- Add requirements file for development tools | ||
- Convert tests to use `pytest`, not `nose` | ||
- Revise logging usage | ||
- Change continuous integration from TravisCI to CircleCI | ||
- Guess sequence origin rather than asking user to provide at CLI (allows mixed origin files) | ||
- Update CLI parser and docs to reflect new sequence origin guessing | ||
|
||
## v0.1.1 | ||
|
||
- Add installation instructions and other improvements to documentation | ||
- Tidied codebase in some places (removing `print` statements, unused functions, etc.). | ||
- Add CLI tests. | ||
- Correct `ncfp` program name in help/usage text. | ||
|
||
## v0.1.0 | ||
|
||
* First release of `ncfp` | ||
*- First release of `ncfp` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Makefile | ||
# | ||
# This file is part of the ncfp package distribution | ||
# (https://github.com/widdowquinn/ncfp) | ||
|
||
# Set up all development dependencies in the current conda environment | ||
setup_env: | ||
@conda install --file requirements-dev.txt --yes | ||
@conda install --file requirements.txt --yes | ||
@pip install -r requirements-pip.txt | ||
@pre-commit install | ||
@pip install -U -e . | ||
|
||
# Run all tests and display coverage report in a browser | ||
test: | ||
@pytest --cov-report=html --cov=ncbi_cds_from_protein -v tests/ && open htmlcov/index.html | ||
|
||
# Build and display documentation | ||
docs: clean_docs uml | ||
@cd docs && make html && open _build/html/index.html | ||
|
||
uml: | ||
pyreverse -o pdf -p ncbi_cds_from_protein ncbi_cds_from_protein | ||
|
||
# Clean up outputs | ||
clean: clean_docs clean_tests clean_examples | ||
|
||
clean_docs: | ||
@rm -rf docs/_build/html && \ | ||
rm -rf classes_ncbi_cds_From_protein.pdf && \ | ||
rm -rf packages_ncbi_cds_From_protein.pdf | ||
|
||
clean_examples: | ||
@rm -rf tests/test_output/* | ||
|
||
clean_tests: | ||
@rm -rf tests/test_output/* | ||
|
||
# Run examples from documentation | ||
examples: | ||
# NCBI no introns | ||
@ncfp tests/test_input/sequences/input_ncbi.fasta \ | ||
tests/examples/ncbi [email protected] -v | ||
# UniProt no introns | ||
@ncfp tests/test_input/sequences/input_uniprot.fasta \ | ||
tests/examples/uniprot [email protected] -v | ||
# UniProt/Stockholm no introns | ||
@ncfp -s tests/test_input/sequences/input_uniprot_stockholm.fasta \ | ||
tests/examples/uniprot_stockholm [email protected] -v | ||
# Human isoforms/intron-exon | ||
@ncfp tests/test_input/sequences/human.fasta \ | ||
tests/examples/human [email protected] -v | ||
# Logging | ||
@ncfp tests/test_input/sequences/human.fasta \ | ||
tests/examples/logging [email protected] \ | ||
-l tests/examples/logging/human.log | ||
# Cache location | ||
@ncfp tests/test_input/sequences/human.fasta \ | ||
tests/examples/caches [email protected] \ | ||
-d tests/examples/caches \ | ||
-c ncfp_cache | ||
# Cache reuse | ||
@ncfp tests/test_input/sequences/human.fasta \ | ||
tests/examples/caches1 [email protected] \ | ||
-d tests/examples/caches \ | ||
-c ncfp_cache | ||
@ncfp tests/test_input/sequences/human.fasta \ | ||
tests/examples/caches2 [email protected] \ | ||
-d tests/examples/caches \ | ||
-c ncfp_cache \ | ||
--filestem cached \ | ||
--keepcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.