scikit-bio 0.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scikit-bio-0.6.0/CHANGELOG.md +929 -0
- scikit-bio-0.6.0/LICENSE.txt +27 -0
- scikit-bio-0.6.0/MANIFEST.in +22 -0
- scikit-bio-0.6.0/Makefile +49 -0
- scikit-bio-0.6.0/PKG-INFO +178 -0
- scikit-bio-0.6.0/README.rst +151 -0
- scikit-bio-0.6.0/ci/aarch64.conda_requirements.txt +7 -0
- scikit-bio-0.6.0/ci/aarch64.requirements.txt +2 -0
- scikit-bio-0.6.0/ci/conda_host_env.yml +9 -0
- scikit-bio-0.6.0/ci/conda_requirements.txt +9 -0
- scikit-bio-0.6.0/ci/requirements.doc.txt +7 -0
- scikit-bio-0.6.0/ci/requirements.lint.txt +5 -0
- scikit-bio-0.6.0/ci/requirements.test.txt +4 -0
- scikit-bio-0.6.0/doc/Makefile +183 -0
- scikit-bio-0.6.0/doc/README.md +8 -0
- scikit-bio-0.6.0/doc/source/_static/css/style.css +76 -0
- scikit-bio-0.6.0/doc/source/_static/favicon.ico +0 -0
- scikit-bio-0.6.0/doc/source/_static/logo.svg +76 -0
- scikit-bio-0.6.0/doc/source/_static/logo_inv.svg +76 -0
- scikit-bio-0.6.0/doc/source/_templates/autosummary/attribute.rst +9 -0
- scikit-bio-0.6.0/doc/source/_templates/autosummary/class.rst +59 -0
- scikit-bio-0.6.0/doc/source/_templates/autosummary/method.rst +9 -0
- scikit-bio-0.6.0/doc/source/_templates/autosummary/module.rst +19 -0
- scikit-bio-0.6.0/doc/source/alignment.rst +1 -0
- scikit-bio-0.6.0/doc/source/conf.py +260 -0
- scikit-bio-0.6.0/doc/source/diversity.rst +1 -0
- scikit-bio-0.6.0/doc/source/index.rst +74 -0
- scikit-bio-0.6.0/doc/source/io.rst +1 -0
- scikit-bio-0.6.0/doc/source/metadata.rst +1 -0
- scikit-bio-0.6.0/doc/source/sequence.rst +1 -0
- scikit-bio-0.6.0/doc/source/stats.rst +1 -0
- scikit-bio-0.6.0/doc/source/table.rst +1 -0
- scikit-bio-0.6.0/doc/source/tree.rst +1 -0
- scikit-bio-0.6.0/doc/source/util.rst +1 -0
- scikit-bio-0.6.0/doc/source/workflow.rst +1 -0
- scikit-bio-0.6.0/doc/suburl.py +52 -0
- scikit-bio-0.6.0/licenses/bx_python.txt +20 -0
- scikit-bio-0.6.0/licenses/fastq-example-files-readme.txt +109 -0
- scikit-bio-0.6.0/licenses/flask.txt +33 -0
- scikit-bio-0.6.0/licenses/ipython.txt +74 -0
- scikit-bio-0.6.0/licenses/nb-slideshow-template.txt +30 -0
- scikit-bio-0.6.0/licenses/pydata_sphinx_theme.txt +29 -0
- scikit-bio-0.6.0/licenses/qiita.txt +27 -0
- scikit-bio-0.6.0/licenses/scikit-learn.txt +35 -0
- scikit-bio-0.6.0/licenses/scipy.txt +31 -0
- scikit-bio-0.6.0/licenses/simde.txt +20 -0
- scikit-bio-0.6.0/licenses/ssw.txt +46 -0
- scikit-bio-0.6.0/licenses/verman.txt +27 -0
- scikit-bio-0.6.0/logos/favicon.ico +0 -0
- scikit-bio-0.6.0/logos/horizontal_powered_by.png +0 -0
- scikit-bio-0.6.0/logos/horizontal_powered_by.svg +152 -0
- scikit-bio-0.6.0/logos/logo.png +0 -0
- scikit-bio-0.6.0/logos/logo.svg +76 -0
- scikit-bio-0.6.0/logos/logo_and_powered.pdf +0 -0
- scikit-bio-0.6.0/logos/logo_inverted.png +0 -0
- scikit-bio-0.6.0/logos/logo_inverted.svg +76 -0
- scikit-bio-0.6.0/logos/vertical_powered_by.png +0 -0
- scikit-bio-0.6.0/logos/vertical_powered_by.svg +152 -0
- scikit-bio-0.6.0/pyproject.toml +38 -0
- scikit-bio-0.6.0/scikit_bio.egg-info/PKG-INFO +178 -0
- scikit-bio-0.6.0/scikit_bio.egg-info/SOURCES.txt +794 -0
- scikit-bio-0.6.0/scikit_bio.egg-info/dependency_links.txt +1 -0
- scikit-bio-0.6.0/scikit_bio.egg-info/requires.txt +9 -0
- scikit-bio-0.6.0/scikit_bio.egg-info/top_level.txt +1 -0
- scikit-bio-0.6.0/setup.cfg +4 -0
- scikit-bio-0.6.0/setup.py +258 -0
- scikit-bio-0.6.0/simde-sse2.h +23182 -0
- scikit-bio-0.6.0/skbio/__init__.py +93 -0
- scikit-bio-0.6.0/skbio/_base.py +57 -0
- scikit-bio-0.6.0/skbio/alignment/__init__.py +234 -0
- scikit-bio-0.6.0/skbio/alignment/_indexing.py +240 -0
- scikit-bio-0.6.0/skbio/alignment/_lib/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/alignment/_lib/ssw.c +862 -0
- scikit-bio-0.6.0/skbio/alignment/_lib/ssw.h +131 -0
- scikit-bio-0.6.0/skbio/alignment/_pairwise.py +1062 -0
- scikit-bio-0.6.0/skbio/alignment/_repr.py +66 -0
- scikit-bio-0.6.0/skbio/alignment/_ssw_wrapper.c +22259 -0
- scikit-bio-0.6.0/skbio/alignment/_ssw_wrapper.pyx +709 -0
- scikit-bio-0.6.0/skbio/alignment/_tabular_msa.py +2479 -0
- scikit-bio-0.6.0/skbio/alignment/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/alignment/tests/test_pairwise.py +786 -0
- scikit-bio-0.6.0/skbio/alignment/tests/test_ssw.py +772 -0
- scikit-bio-0.6.0/skbio/alignment/tests/test_tabular_msa.py +3898 -0
- scikit-bio-0.6.0/skbio/diversity/__init__.py +455 -0
- scikit-bio-0.6.0/skbio/diversity/_block.py +337 -0
- scikit-bio-0.6.0/skbio/diversity/_driver.py +480 -0
- scikit-bio-0.6.0/skbio/diversity/_phylogenetic.c +12470 -0
- scikit-bio-0.6.0/skbio/diversity/_phylogenetic.pyx +216 -0
- scikit-bio-0.6.0/skbio/diversity/_util.py +195 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/__init__.py +131 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/_ace.py +139 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/_base.py +1127 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/_chao1.py +220 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/_gini.py +123 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/_lladser.py +598 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/_pd.py +424 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/data/qiime-191-tt/README.md +1 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/data/qiime-191-tt/faith-pd.txt +9 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/data/qiime-191-tt/otu-table.tsv +12 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/data/qiime-191-tt/tree.nwk +1 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/test_ace.py +40 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/test_base.py +315 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/test_chao1.py +78 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/test_gini.py +66 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/test_lladser.py +231 -0
- scikit-bio-0.6.0/skbio/diversity/alpha/tests/test_pd.py +401 -0
- scikit-bio-0.6.0/skbio/diversity/beta/__init__.py +32 -0
- scikit-bio-0.6.0/skbio/diversity/beta/_unifrac.py +640 -0
- scikit-bio-0.6.0/skbio/diversity/beta/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/diversity/beta/tests/data/qiime-191-tt/README.md +26 -0
- scikit-bio-0.6.0/skbio/diversity/beta/tests/data/qiime-191-tt/otu-table.tsv +12 -0
- scikit-bio-0.6.0/skbio/diversity/beta/tests/data/qiime-191-tt/tree.nwk +1 -0
- scikit-bio-0.6.0/skbio/diversity/beta/tests/data/qiime-191-tt/unweighted_unifrac_dm.txt +10 -0
- scikit-bio-0.6.0/skbio/diversity/beta/tests/data/qiime-191-tt/weighted_normalized_unifrac_dm.txt +10 -0
- scikit-bio-0.6.0/skbio/diversity/beta/tests/data/qiime-191-tt/weighted_unifrac_dm.txt +10 -0
- scikit-bio-0.6.0/skbio/diversity/beta/tests/test_unifrac.py +688 -0
- scikit-bio-0.6.0/skbio/diversity/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/diversity/tests/test_block.py +207 -0
- scikit-bio-0.6.0/skbio/diversity/tests/test_driver.py +908 -0
- scikit-bio-0.6.0/skbio/diversity/tests/test_util.py +300 -0
- scikit-bio-0.6.0/skbio/io/__init__.py +310 -0
- scikit-bio-0.6.0/skbio/io/_exception.py +132 -0
- scikit-bio-0.6.0/skbio/io/_fileobject.py +84 -0
- scikit-bio-0.6.0/skbio/io/_iosources.py +256 -0
- scikit-bio-0.6.0/skbio/io/_warning.py +19 -0
- scikit-bio-0.6.0/skbio/io/format/__init__.py +9 -0
- scikit-bio-0.6.0/skbio/io/format/_base.py +239 -0
- scikit-bio-0.6.0/skbio/io/format/_blast.py +95 -0
- scikit-bio-0.6.0/skbio/io/format/_sequence_feature_vocabulary.py +378 -0
- scikit-bio-0.6.0/skbio/io/format/binary_dm.py +183 -0
- scikit-bio-0.6.0/skbio/io/format/biom.py +130 -0
- scikit-bio-0.6.0/skbio/io/format/blast6.py +288 -0
- scikit-bio-0.6.0/skbio/io/format/blast7.py +405 -0
- scikit-bio-0.6.0/skbio/io/format/clustal.py +351 -0
- scikit-bio-0.6.0/skbio/io/format/embl.py +1613 -0
- scikit-bio-0.6.0/skbio/io/format/emptyfile.py +39 -0
- scikit-bio-0.6.0/skbio/io/format/fasta.py +998 -0
- scikit-bio-0.6.0/skbio/io/format/fastq.py +658 -0
- scikit-bio-0.6.0/skbio/io/format/genbank.py +756 -0
- scikit-bio-0.6.0/skbio/io/format/gff3.py +551 -0
- scikit-bio-0.6.0/skbio/io/format/lsmat.py +244 -0
- scikit-bio-0.6.0/skbio/io/format/newick.py +490 -0
- scikit-bio-0.6.0/skbio/io/format/ordination.py +431 -0
- scikit-bio-0.6.0/skbio/io/format/phylip.py +363 -0
- scikit-bio-0.6.0/skbio/io/format/qseq.py +355 -0
- scikit-bio-0.6.0/skbio/io/format/sample_metadata.py +363 -0
- scikit-bio-0.6.0/skbio/io/format/stockholm.py +815 -0
- scikit-bio-0.6.0/skbio/io/format/taxdump.py +326 -0
- scikit-bio-0.6.0/skbio/io/format/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_custom_minimal +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_custom_mixed_nans +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_custom_multi_line +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_custom_single_line +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_default_multi_line +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_default_single_line +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_invalid_column_types +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_invalid_number_of_columns +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast6_invalid_type_in_column +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_custom_minimal +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_custom_mixed_nans +16 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_custom_multi_line +16 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_custom_single_line +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_default_multi_line +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_default_single_line +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_invalid_differing_fields +21 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_invalid_for_sniffer +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_invalid_for_sniffer_2 +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_invalid_gibberish +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_invalid_no_data +24 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_invalid_too_many_columns +21 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/blast7_invalid_unrecognized_field +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_constructed +39 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_feature_level_record +83 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_feature_level_record_no_FT +64 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_multi_records +166 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_single_record +107 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_single_record_lower +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_single_record_simple +105 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_single_record_upper +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_uniprot_record +48 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/embl_w_beginning_whitespace +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/empty +0 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_diff_ids.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_double_qual.fastq +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_double_seq.fastq +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_long_qual.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_no_qual.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_qual_del.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_qual_escape.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_qual_null.fastq +0 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_qual_space.fastq +21 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_qual_tab.fastq +21 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_qual_unit_sep.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_qual_vtab.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_short_qual.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_spaces.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_tabs.fastq +21 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_trunc_at_plus.fastq +19 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_trunc_at_qual.fastq +19 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_trunc_at_seq.fastq +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_trunc_in_plus.fastq +19 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_trunc_in_qual.fastq +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_trunc_in_seq.fastq +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/error_trunc_in_title.fastq +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_10_seqs +24 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_3_seqs_defaults +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_3_seqs_non_defaults +9 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_5_blanks_start_of_file +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_5_ws_lines_start_of_file +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_6_blanks_start_of_file +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_6_ws_lines_start_of_file +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_blank_lines_between_records +24 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_blanks_end_of_file +19 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_description_newline_replacement_empty_str +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_description_newline_replacement_multi_char +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_description_newline_replacement_none +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_id_whitespace_replacement_empty_str +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_id_whitespace_replacement_multi_char +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_id_whitespace_replacement_none +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_after_10_seqs +25 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_blank_line_after_header +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_blank_line_within_sequence +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_blank_sequence +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_legacy_format +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_missing_header +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_missing_seq_data_first +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_missing_seq_data_last +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_missing_seq_data_middle +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_whitespace_line_after_header +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_whitespace_only_line_within_sequence +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_invalid_whitespace_only_sequence +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_max_width_1 +11 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_max_width_5 +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_mixed_qual_scores +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_multi_seq +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_multi_seq_roundtrip +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_prot_seqs_odd_labels +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_bio_seq_defaults +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_bio_seq_non_defaults +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_dna_seq_defaults +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_dna_seq_non_defaults +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_prot_seq_defaults +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_prot_seq_non_defaults +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_rna_seq_defaults +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_rna_seq_non_defaults +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_single_seq +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_tabular_msa_different_type +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_ws_lines_between_records +23 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fasta_ws_lines_end_of_file +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_5_blanks_start_of_file +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_5_ws_lines_start_of_file +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_blank_lines +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_blank_after_header +13 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_blank_after_plus +13 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_blank_after_seq +13 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_blank_in_seq_at_symbol +14 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_blank_within_qual +14 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_blank_within_seq +14 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_missing_header +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_missing_seq_data +13 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_ws_line_after_header +13 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_ws_line_after_plus +13 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_ws_line_after_seq +13 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_ws_line_within_qual +14 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_invalid_ws_line_within_seq +14 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_multi_blank_between_records +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_multi_blank_end_of_file +19 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_multi_blank_start_of_file +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_multi_seq_sanger +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_multi_whitespace_stripping +14 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_multi_ws_lines_between_records +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_multi_ws_lines_end_of_file +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_multi_ws_lines_start_of_file +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_single_seq_illumina1.3 +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_single_seq_illumina1.8 +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_whitespace_only_lines +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_wrapping_as_illumina_no_description +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_wrapping_as_sanger_no_description +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_wrapping_original_sanger_no_description +24 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_writer_illumina1.3_defaults +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_writer_sanger_defaults +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/fastq_writer_sanger_non_defaults +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/genbank_5_blanks_start_of_file +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/genbank_6_blanks_start_of_file +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/genbank_missing_locus_name +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/genbank_multi_records +46 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/genbank_single_record +26 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/genbank_single_record_lower +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/genbank_single_record_upper +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/genbank_w_beginning_whitespace +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/gff3_bad_missing_directive +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/gff3_bad_wrong_columns +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/gff3_dna +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/gff3_multi_record +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/gff3_single_record +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/illumina_full_range_as_illumina.fastq +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/illumina_full_range_as_sanger.fastq +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/illumina_full_range_original_illumina.fastq +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/legacy9_and_blast7_default +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/legacy9_invalid_differing_fields +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/legacy9_invalid_too_many_columns +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/legacy9_mixed_nans +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/legacy9_multi_line +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/legacy9_single_line +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/longreads_as_illumina.fastq +40 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/longreads_as_sanger.fastq +40 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/longreads_original_sanger.fastq +120 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/misc_dna_as_illumina.fastq +16 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/misc_dna_as_sanger.fastq +16 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/misc_dna_original_sanger.fastq +16 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/misc_rna_as_illumina.fastq +16 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/misc_rna_as_sanger.fastq +16 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/misc_rna_original_sanger.fastq +16 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_L&L_CA_data_scores +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_PCoA_sample_data_3_scores +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error1 +43 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error10 +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error11 +44 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error12 +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error13 +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error14 +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error15 +21 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error16 +44 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error17 +44 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error18 +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error19 +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error2 +42 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error20 +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error21 +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error22 +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error23 +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error24 +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error3 +43 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error4 +43 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error5 +44 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error6 +44 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error7 +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error8 +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_error9 +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_example2_scores +42 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_example3_scores +44 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_exp_Ordination_CCA_site +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_exp_Ordination_CCA_site_constraints +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_exp_Ordination_CCA_species +9 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_exp_Ordination_PCoA_site +9 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_exp_Ordination_RDA_site +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_exp_Ordination_RDA_site_constraints +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/ordination_exp_Ordination_RDA_species +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_dna_3_seqs +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_empty_line_after_header +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_empty_line_before_header +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_empty_line_between_seqs +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_header_too_long +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_header_too_short +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_no_header +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_seq_too_long +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_seq_too_short +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_too_few_seqs +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_too_many_seqs +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_zero_seq_len +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_invalid_zero_seqs +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_single_seq_long +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_single_seq_short +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_two_chunks +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_variable_length_ids +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_varied_whitespace_in_seqs +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_whitespace_in_header_1 +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_whitespace_in_header_2 +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/phylip_whitespace_in_header_3 +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qseq_invalid_filter +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qseq_invalid_lane +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qseq_invalid_read +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qseq_invalid_tile +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qseq_invalid_x +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qseq_invalid_y +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qseq_multi_seq_illumina1.3 +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qseq_single_seq_sanger +1 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_2_seqs_defaults +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_3_seqs_defaults +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_3_seqs_defaults_desc_mismatch +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_3_seqs_defaults_extra +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_3_seqs_defaults_id_mismatch +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_3_seqs_defaults_length_mismatch +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_3_seqs_non_defaults +14 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_5_blanks_start_of_file +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_5_ws_lines_start_of_file +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_6_blanks_start_of_file +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_6_ws_lines_start_of_file +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_blank_lines_between_records +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_blanks_end_of_file +19 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_description_newline_replacement_empty_str +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_description_newline_replacement_multi_char +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_description_newline_replacement_none +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_id_whitespace_replacement_empty_str +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_id_whitespace_replacement_multi_char +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_id_whitespace_replacement_none +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_blank_line_after_header +9 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_blank_line_within_seq +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_blank_sequence +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_legacy_format +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_missing_header +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_missing_qual_scores_first +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_missing_qual_scores_last +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_missing_qual_scores_middle +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_qual_scores_float +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_qual_scores_negative +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_qual_scores_over_255 +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_qual_scores_string +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_whitespace_line_in_seq +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_whitespace_only_sequence +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_invalid_ws_line_after_header +9 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_max_width_1 +11 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_max_width_5 +29 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_multi_seq +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_multi_seq_roundtrip +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_prot_seqs_odd_labels +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_single_bio_seq_non_defaults +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_single_dna_seq_non_defaults +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_single_nuc_seq_non_defaults +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_single_prot_seq_non_defaults +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_single_rna_seq_non_defaults +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_single_seq +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_tabular_msa_different_type +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_ws_lines_between_records +22 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/qual_ws_lines_end_of_file +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sample-metadata-comments-comment-char-id.tsv +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sample-metadata-comments-mixed-case.tsv +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sample-metadata-comments.tsv +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sample-metadata-complete-types-directive.tsv +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sample-metadata-empty-rows.tsv +32 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sample-metadata-leading-trailing-whitespace-split-id.tsv +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sample-metadata-leading-trailing-whitespace.tsv +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sanger_full_range_as_illumina.fastq +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sanger_full_range_as_sanger.fastq +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/sanger_full_range_original_sanger.fastq +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/solexa_full_range_original_solexa.fastq +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_all_data_types +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_blank_lines +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_data_only +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_different_padding +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_differing_gc_data_length +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_differing_gr_data_length +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_differing_seq_lengths +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_duplicate_gc +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_duplicate_gr +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_duplicate_sequence_names +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_duplicate_tree_ids +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_extensive +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_extensive_mixed +15 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_invalid_data_type +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_invalid_nonexistent_gr +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_invalid_nonexistent_gs +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_malformed_data_line +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_malformed_gc_line +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_malformed_gf_line +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_malformed_gr_line +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_malformed_gs_line +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_metadata_only +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_minimal +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_missing_footer +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_missing_header +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_missing_reference_items +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_missing_rn_tag +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_multi_line_tree_no_id +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_multi_line_tree_with_id +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_multiple_msa +18 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_multiple_multi_line_trees +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_multiple_references +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_multiple_trees +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_no_data +2 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_nonstring_labels +7 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_rna +9 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_runon_gf_no_whitespace +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_runon_gf_with_whitespace +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_runon_gs_no_whitespace +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_runon_gs_with_whitespace +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_runon_references +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_runon_references_mixed +10 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_single_reference +8 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_single_tree_with_id +4 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_single_tree_without_id +3 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_two_of_each_metadata +11 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/stockholm_whitespace_only_lines +5 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/taxdump_names.dmp +24 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/taxdump_nodes.dmp +20 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/tsv_10_fields +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/tsv_8_fields +6 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/whitespace_only +17 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/wrapping_as_illumina.fastq +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/wrapping_as_sanger.fastq +12 -0
- scikit-bio-0.6.0/skbio/io/format/tests/data/wrapping_original_sanger.fastq +24 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_base.py +325 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_binary_dm.py +125 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_biom.py +66 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_blast6.py +120 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_blast7.py +210 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_clustal.py +291 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_embl.py +888 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_emptyfile.py +36 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_fasta.py +1075 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_fastq.py +675 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_genbank.py +407 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_gff3.py +348 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_lsmat.py +282 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_newick.py +369 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_ordination.py +253 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_phylip.py +256 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_qseq.py +352 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_sample_metadata.py +79 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_sequence_feature_vocabulary.py +102 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_stockholm.py +907 -0
- scikit-bio-0.6.0/skbio/io/format/tests/test_taxdump.py +169 -0
- scikit-bio-0.6.0/skbio/io/registry.py +1189 -0
- scikit-bio-0.6.0/skbio/io/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/io/tests/data/big5_file +1 -0
- scikit-bio-0.6.0/skbio/io/tests/data/big5_file.bz2 +0 -0
- scikit-bio-0.6.0/skbio/io/tests/data/big5_file.gz +0 -0
- scikit-bio-0.6.0/skbio/io/tests/data/example_file +2 -0
- scikit-bio-0.6.0/skbio/io/tests/data/example_file.bz2 +0 -0
- scikit-bio-0.6.0/skbio/io/tests/data/example_file.gz +0 -0
- scikit-bio-0.6.0/skbio/io/tests/data/real_file +5 -0
- scikit-bio-0.6.0/skbio/io/tests/data/real_file_2 +6 -0
- scikit-bio-0.6.0/skbio/io/tests/test_iosources.py +51 -0
- scikit-bio-0.6.0/skbio/io/tests/test_registry.py +1945 -0
- scikit-bio-0.6.0/skbio/io/tests/test_util.py +629 -0
- scikit-bio-0.6.0/skbio/io/util.py +296 -0
- scikit-bio-0.6.0/skbio/metadata/__init__.py +68 -0
- scikit-bio-0.6.0/skbio/metadata/_enan.py +87 -0
- scikit-bio-0.6.0/skbio/metadata/_intersection.c +20216 -0
- scikit-bio-0.6.0/skbio/metadata/_intersection.pyx +529 -0
- scikit-bio-0.6.0/skbio/metadata/_interval.py +1036 -0
- scikit-bio-0.6.0/skbio/metadata/_metadata.py +1323 -0
- scikit-bio-0.6.0/skbio/metadata/_mixin.py +562 -0
- scikit-bio-0.6.0/skbio/metadata/_repr.py +188 -0
- scikit-bio-0.6.0/skbio/metadata/_testing.py +1373 -0
- scikit-bio-0.6.0/skbio/metadata/base.py +65 -0
- scikit-bio-0.6.0/skbio/metadata/io.py +533 -0
- scikit-bio-0.6.0/skbio/metadata/missing.py +115 -0
- scikit-bio-0.6.0/skbio/metadata/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/column-name-conflicts-with-id-header.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/comments-and-empty-rows-only.tsv +10 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/data-longer-than-header.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/directive-after-directives-section.tsv +6 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/directive-before-header.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/directive-longer-than-header.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/duplicate-column-names-with-whitespace.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/duplicate-column-names.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/duplicate-directives.tsv +6 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/duplicate-ids-with-whitespace.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/duplicate-ids.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/empty-column-name.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/empty-file +0 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/empty-id.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/header-only-with-comments-and-empty-rows.tsv +10 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/header-only.tsv +1 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/id-conflicts-with-id-header.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/invalid-header.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/missing-unknown-scheme.tsv +9 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/non-utf-8.tsv +0 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/qiime1-empty.tsv +3 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/simple-utf-16be.txt +0 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/simple-utf-16le.txt +0 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/types-directive-non-numeric.tsv +25 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/unrecognized-column-type.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/unrecognized-directive.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/whitespace-only-column-name.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/invalid/whitespace-only-id.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/BOM-simple.txt +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/all-cells-padded.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/biom-observation-metadata.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/case-insensitive-types-directive.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/column-order.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/comments.tsv +17 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/complete-types-directive.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/complete-types-directive_w_sk.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/empty-rows.tsv +30 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/empty-types-directive.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/jagged-trailing-columns.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/jagged.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/leading-trailing-whitespace.tsv +13 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/mac-line-endings.tsv +1 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/minimal.tsv +2 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/missing-data.tsv +12 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/missing-insdc-no-directive.tsv +7 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/missing-insdc.tsv +9 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/no-columns.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/no-id-or-column-name-type-cast.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/no-newline-at-eof.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/non-standard-characters.tsv +21 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/numeric-column.tsv +13 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/override-insdc.tsv +6 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/partial-types-directive.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/qiime1.tsv +6 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/qiita-preparation-information.tsv +3 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/qiita-sample-information.tsv +3 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/recommended-ids.tsv +3 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/rows-shorter-than-header.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/simple-with-directive.tsv +5 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/simple.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/simple.txt +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/single-column.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/single-id.tsv +2 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/trailing-columns.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/unix-line-endings.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/data/valid/windows-line-endings.tsv +4 -0
- scikit-bio-0.6.0/skbio/metadata/tests/test_enan.py +42 -0
- scikit-bio-0.6.0/skbio/metadata/tests/test_intersection.py +241 -0
- scikit-bio-0.6.0/skbio/metadata/tests/test_interval.py +795 -0
- scikit-bio-0.6.0/skbio/metadata/tests/test_io.py +1606 -0
- scikit-bio-0.6.0/skbio/metadata/tests/test_metadata.py +866 -0
- scikit-bio-0.6.0/skbio/metadata/tests/test_metadata_column.py +888 -0
- scikit-bio-0.6.0/skbio/metadata/tests/test_missing.py +93 -0
- scikit-bio-0.6.0/skbio/metadata/tests/test_mixin.py +118 -0
- scikit-bio-0.6.0/skbio/sequence/__init__.py +339 -0
- scikit-bio-0.6.0/skbio/sequence/_alphabet.py +274 -0
- scikit-bio-0.6.0/skbio/sequence/_dna.py +495 -0
- scikit-bio-0.6.0/skbio/sequence/_genetic_code.py +858 -0
- scikit-bio-0.6.0/skbio/sequence/_grammared_sequence.py +940 -0
- scikit-bio-0.6.0/skbio/sequence/_nucleotide_mixin.py +376 -0
- scikit-bio-0.6.0/skbio/sequence/_protein.py +299 -0
- scikit-bio-0.6.0/skbio/sequence/_repr.py +111 -0
- scikit-bio-0.6.0/skbio/sequence/_rna.py +473 -0
- scikit-bio-0.6.0/skbio/sequence/_sequence.py +2406 -0
- scikit-bio-0.6.0/skbio/sequence/_substitution.py +593 -0
- scikit-bio-0.6.0/skbio/sequence/distance.py +177 -0
- scikit-bio-0.6.0/skbio/sequence/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_alphabet.py +215 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_distance.py +234 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_dna.py +49 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_genetic_code.py +503 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_grammared_sequence.py +771 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_nucleotide_sequences.py +518 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_protein.py +139 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_rna.py +49 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_sequence.py +2857 -0
- scikit-bio-0.6.0/skbio/sequence/tests/test_substitution.py +154 -0
- scikit-bio-0.6.0/skbio/stats/__init__.py +71 -0
- scikit-bio-0.6.0/skbio/stats/__subsample.c +10771 -0
- scikit-bio-0.6.0/skbio/stats/__subsample.pyx +34 -0
- scikit-bio-0.6.0/skbio/stats/_misc.py +27 -0
- scikit-bio-0.6.0/skbio/stats/_subsample.py +248 -0
- scikit-bio-0.6.0/skbio/stats/composition.py +2077 -0
- scikit-bio-0.6.0/skbio/stats/distance/__init__.py +221 -0
- scikit-bio-0.6.0/skbio/stats/distance/_anosim.py +202 -0
- scikit-bio-0.6.0/skbio/stats/distance/_base.py +1402 -0
- scikit-bio-0.6.0/skbio/stats/distance/_bioenv.py +233 -0
- scikit-bio-0.6.0/skbio/stats/distance/_cutils.c +38303 -0
- scikit-bio-0.6.0/skbio/stats/distance/_cutils.pyx +295 -0
- scikit-bio-0.6.0/skbio/stats/distance/_mantel.py +703 -0
- scikit-bio-0.6.0/skbio/stats/distance/_permanova.py +129 -0
- scikit-bio-0.6.0/skbio/stats/distance/_permdisp.py +316 -0
- scikit-bio-0.6.0/skbio/stats/distance/_utils.py +219 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/bioenv_df_vegan.txt +25 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/bioenv_dm_vegan.txt +25 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/bioenv_exp_results_vegan.txt +7 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/df.txt +8 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/df_extra_column.txt +8 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/dm.txt +7 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/dm2.txt +7 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/dm3.txt +7 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/dm4.txt +7 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/dm_reordered.txt +7 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/exp_results.txt +12 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/exp_results_different_column_order.txt +12 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/exp_results_single_column.txt +2 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/frameSeries_dm.tsv +43 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/frameSeries_grouping.tsv +43 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/mantel_env_dm_vegan.txt +24 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/mantel_veg_dm_vegan.txt +24 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/moving_pictures_dm.tsv +34 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/moving_pictures_mf.tsv +35 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/pwmantel_exp_results_all_dms.txt +7 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/pwmantel_exp_results_dm_dm2.txt +2 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/pwmantel_exp_results_duplicate_dms.txt +4 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/pwmantel_exp_results_minimal.txt +4 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/pwmantel_exp_results_minimal_with_labels.txt +4 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/pwmantel_exp_results_na_p_value.txt +2 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/data/pwmantel_exp_results_reordered_distance_matrices.txt +4 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/test_anosim.py +119 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/test_base.py +1207 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/test_bioenv.py +222 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/test_mantel.py +764 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/test_permanova.py +178 -0
- scikit-bio-0.6.0/skbio/stats/distance/tests/test_permdisp.py +300 -0
- scikit-bio-0.6.0/skbio/stats/evolve/__init__.py +34 -0
- scikit-bio-0.6.0/skbio/stats/evolve/_hommola.py +267 -0
- scikit-bio-0.6.0/skbio/stats/evolve/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/stats/evolve/tests/test_hommola.py +187 -0
- scikit-bio-0.6.0/skbio/stats/gradient.py +913 -0
- scikit-bio-0.6.0/skbio/stats/ordination/__init__.py +188 -0
- scikit-bio-0.6.0/skbio/stats/ordination/_canonical_correspondence_analysis.py +234 -0
- scikit-bio-0.6.0/skbio/stats/ordination/_correspondence_analysis.py +197 -0
- scikit-bio-0.6.0/skbio/stats/ordination/_cutils.c +34002 -0
- scikit-bio-0.6.0/skbio/stats/ordination/_cutils.pyx +163 -0
- scikit-bio-0.6.0/skbio/stats/ordination/_ordination_results.py +401 -0
- scikit-bio-0.6.0/skbio/stats/ordination/_principal_coordinate_analysis.py +405 -0
- scikit-bio-0.6.0/skbio/stats/ordination/_redundancy_analysis.py +237 -0
- scikit-bio-0.6.0/skbio/stats/ordination/_utils.py +290 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/L&L_CA_data +3 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_biplot_descriptors +9 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_biplot_projected_descriptors +9 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_sample_data +14 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_sample_data_12dim +13 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_sample_data_2 +6 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_sample_data_3 +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_sample_data_3_eigh_ref_3dim +22 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_sample_data_3_fsvd_ref_3dim +22 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/PCoA_skbio +22 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_X +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_Y +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_biplot_scaling1 +4 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_biplot_scaling2 +4 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_sample_constraints_scaling1 +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_sample_constraints_scaling2 +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_site_scaling1_from_vegan +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_site_scaling2_from_vegan +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_species_scaling1_from_vegan +6 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example2_species_scaling2_from_vegan +6 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_X +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_Y +13 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_biplot_scaling1 +3 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_biplot_scaling2 +3 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_sample_constraints_scaling1 +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_sample_constraints_scaling2 +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_site_scaling1_from_vegan +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_site_scaling2_from_vegan +10 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_species_scaling1_from_vegan +9 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/example3_species_scaling2_from_vegan +9 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/exp_PCoAEigenResults_site +9 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/exp_PCoAzeros_site +14 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/vare_rda_biplot_from_vegan.csv +15 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/vare_rda_constraints_from_vegan.csv +25 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/vare_rda_eigvals_from_vegan.csv +24 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/vare_rda_propexpl_from_vegan.csv +24 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/vare_rda_sites_from_vegan.csv +25 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/vare_rda_species_from_vegan.csv +45 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/varechem.csv +25 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/data/varespec.csv +25 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/test_canonical_correspondence_analysis.py +175 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/test_correspondence_analysis.py +201 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/test_ordination_results.py +282 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/test_principal_coordinate_analysis.py +317 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/test_redundancy_analysis.py +257 -0
- scikit-bio-0.6.0/skbio/stats/ordination/tests/test_util.py +127 -0
- scikit-bio-0.6.0/skbio/stats/power.py +1200 -0
- scikit-bio-0.6.0/skbio/stats/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/cr_data_out +6 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/cr_data_raw +8 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/cr_no_data_out +1 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/cr_no_data_raw +0 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/gr_w_msg_out +3 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/gr_w_msg_raw +4 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/gr_wo_msg_out +2 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/gr_wo_msg_raw +3 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/vr_out +12 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/vr_raw +13 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/vr_real_out +14 -0
- scikit-bio-0.6.0/skbio/stats/tests/data/vr_real_raw +13 -0
- scikit-bio-0.6.0/skbio/stats/tests/test_composition.py +1498 -0
- scikit-bio-0.6.0/skbio/stats/tests/test_gradient.py +1047 -0
- scikit-bio-0.6.0/skbio/stats/tests/test_misc.py +57 -0
- scikit-bio-0.6.0/skbio/stats/tests/test_power.py +510 -0
- scikit-bio-0.6.0/skbio/stats/tests/test_subsample.py +223 -0
- scikit-bio-0.6.0/skbio/table/__init__.py +41 -0
- scikit-bio-0.6.0/skbio/table/_base.py +11 -0
- scikit-bio-0.6.0/skbio/table/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/table/tests/test_base.py +46 -0
- scikit-bio-0.6.0/skbio/test.py +16 -0
- scikit-bio-0.6.0/skbio/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/tests/test_base.py +55 -0
- scikit-bio-0.6.0/skbio/tests/test_workflow.py +404 -0
- scikit-bio-0.6.0/skbio/tree/__init__.py +208 -0
- scikit-bio-0.6.0/skbio/tree/_exception.py +37 -0
- scikit-bio-0.6.0/skbio/tree/_majority_rule.py +290 -0
- scikit-bio-0.6.0/skbio/tree/_nj.py +288 -0
- scikit-bio-0.6.0/skbio/tree/_tree.py +3358 -0
- scikit-bio-0.6.0/skbio/tree/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/tree/tests/test_majority_rule.py +206 -0
- scikit-bio-0.6.0/skbio/tree/tests/test_nj.py +196 -0
- scikit-bio-0.6.0/skbio/tree/tests/test_tree.py +1672 -0
- scikit-bio-0.6.0/skbio/util/__init__.py +78 -0
- scikit-bio-0.6.0/skbio/util/_decorator.py +103 -0
- scikit-bio-0.6.0/skbio/util/_exception.py +19 -0
- scikit-bio-0.6.0/skbio/util/_misc.py +252 -0
- scikit-bio-0.6.0/skbio/util/_plotting.py +98 -0
- scikit-bio-0.6.0/skbio/util/_testing.py +424 -0
- scikit-bio-0.6.0/skbio/util/_warning.py +61 -0
- scikit-bio-0.6.0/skbio/util/tests/__init__.py +7 -0
- scikit-bio-0.6.0/skbio/util/tests/test_decorator.py +136 -0
- scikit-bio-0.6.0/skbio/util/tests/test_misc.py +279 -0
- scikit-bio-0.6.0/skbio/util/tests/test_plotting.py +108 -0
- scikit-bio-0.6.0/skbio/util/tests/test_testing.py +262 -0
- scikit-bio-0.6.0/skbio/workflow.py +567 -0
|
@@ -0,0 +1,929 @@
|
|
|
1
|
+
# scikit-bio changelog
|
|
2
|
+
|
|
3
|
+
## Version 0.6.0
|
|
4
|
+
|
|
5
|
+
### Performance enhancements
|
|
6
|
+
|
|
7
|
+
* Launched the new scikit-bio website: https://scikit.bio. The previous domain names _scikit-bio.org_ and _skbio.org_ continue to work and redirect to the new website.
|
|
8
|
+
* Migrated the scikit-bio website repo from the `gh-pages` branch of the `scikit-bio` repo to a standalone repo: [`scikit-bio.github.io`](https://github.com/scikit-bio/scikit-bio.github.io).
|
|
9
|
+
* Replaced the [Bootstrap theme](https://sphinx-bootstrap-theme.readthedocs.io/en/latest/) with the [PyData theme](https://pydata-sphinx-theme.readthedocs.io/en/stable/) for building documentation using Sphinx. Extended this theme to the website. Customized design elements ([#1934](https://github.com/scikit-bio/scikit-bio/pull/1934)).
|
|
10
|
+
* Improved the calculation of Fisher's alpha diversity index (`fisher_alpha`). It is now compatible with optimizers in SciPy 1.11+. Edge cases such as all singletons can be handled correctly. Handling of errors and warnings was improved. Documentation was enriched ([#1890](https://github.com/scikit-bio/scikit-bio/pull/1890)).
|
|
11
|
+
* Allowed `delimiter=None` which represents whitespace of arbitrary length in reading lsmat format matrices ([#1912](https://github.com/scikit-bio/scikit-bio/pull/1912)).
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Added biom-format Table import and updated corresponding requirement files ([#1907](https://github.com/scikit-bio/scikit-bio/pull/1907)).
|
|
16
|
+
* Added biom-format 2.1.0 IO support ([#1984](https://github.com/scikit-bio/scikit-bio/pull/1984)).
|
|
17
|
+
* Added `Table` support to `alpha_diversity` and `beta_diversity` drivers ([#1984](https://github.com/scikit-bio/scikit-bio/pull/1984)).
|
|
18
|
+
* Implemented a mechanism to automatically build documentation and/or homepage and deploy them to the website ([#1934](https://github.com/scikit-bio/scikit-bio/pull/1934)).
|
|
19
|
+
* Added the Benjamini-Hochberg method as an option for FDR correction (in addition to the existing Holm-Bonferroni method) for `ancom` and `dirmult_ttest` ([#1988](https://github.com/scikit-bio/scikit-bio/pull/1988)).
|
|
20
|
+
* Added function `dirmult_ttest`, which performs differential abundance test using a Dirichilet multinomial distribution. This function mirrors the method provided by ALDEx2 ([#1956](https://github.com/scikit-bio/scikit-bio/pull/1956)).
|
|
21
|
+
* Added method `Sequence.to_indices` to convert a sequence into a vector of indices of characters in an alphabet (can be from a substitution matrix) or unique characters observed in the sequence. Supports gap masking and wildcard substitution ([#1917](https://github.com/scikit-bio/scikit-bio/pull/1917)).
|
|
22
|
+
* Added class `SubstitutionMatrix` to support subsitution matrices for nucleotides, amino acids are more general cases ([#1913](https://github.com/scikit-bio/scikit-bio/pull/1913)).
|
|
23
|
+
* Added alpha diversity metric `sobs`, which is the observed species richness (S_{obs}) of a sample. `sobs` will replace `observed_otus`, which uses the historical term "OTU". Also added metric `observed_features` to be compatible with the QIIME 2 terminology. All three metrics are equivalent ([#1902](https://github.com/scikit-bio/scikit-bio/pull/1902)).
|
|
24
|
+
* `beta_diversity` now supports use of Pandas a `DataFrame` index, issue [#1808](https://github.com/scikit-bio/scikit-bio/issues/1808).
|
|
25
|
+
* Added alpha diversity metric `phydiv`, which is a generalized phylogenetic diversity (PD) framework permitting unrooted or rooted tree, unweighted or weighted by abundance, and an exponent parameter of the weight term ([#1893](https://github.com/scikit-bio/scikit-bio/pull/1893)).
|
|
26
|
+
* Adopted NumPy's new random generator `np.random.Generator` (see [NEP 19](https://numpy.org/neps/nep-0019-rng-policy.html)) ([#1889](https://github.com/scikit-bio/scikit-bio/pull/1889)).
|
|
27
|
+
* SciPy 1.11+ is now supported ([#1887](https://github.com/scikit-bio/scikit-bio/pull/1887)).
|
|
28
|
+
* Removed IPython as a dependency. Scikit-bio continues to support displaying plots in IPython, but it no longer requires importing IPython functionality ([#1901](https://github.com/scikit-bio/scikit-bio/pull/1901)).
|
|
29
|
+
* Made Matplotlib an optional dependency. Scikit-bio no longer requires Matplotlib except for plotting, during which it attempts to import Matplotlib if it is present in the system, and raises an error if not ([#1901](https://github.com/scikit-bio/scikit-bio/pull/1901)).
|
|
30
|
+
* Ported the QIIME 2 metadata object into skbio. ([#1929](https://github.com/scikit-bio/scikit-bio/pull/1929))
|
|
31
|
+
* Python 3.12+ is now supported, thank you @actapia ([#1930](https://github.com/scikit-bio/scikit-bio/pull/1930))
|
|
32
|
+
* Introduced native character conversion ([#1971])(https://github.com/scikit-bio/scikit-bio/pull/1971)
|
|
33
|
+
|
|
34
|
+
### Backward-incompatible changes [experimental]
|
|
35
|
+
|
|
36
|
+
* Beta diversity metric `kulsinski` was removed. This was motivated by that SciPy replaced this distance metric with `kulczynski1` in version 1.11 (see SciPy issue [#2009](https://github.com/scipy/scipy/issues/2009)), and that both metrics do not return 0 on two identical vectors ([#1887](https://github.com/scikit-bio/scikit-bio/pull/1887)).
|
|
37
|
+
|
|
38
|
+
### Bug fixes
|
|
39
|
+
|
|
40
|
+
* Fixed documentation interface of `vlr` and relevant functions ([#1934](https://github.com/scikit-bio/scikit-bio/pull/1934)).
|
|
41
|
+
* Fixed broken link in documentation of Simpson's evenness index. See issue [#1923](https://github.com/scikit-bio/scikit-bio/issues/1923).
|
|
42
|
+
* Safely handle `Sequence.iter_kmers` where `k` is greater than the sequence length ([#1723](https://github.com/scikit-bio/scikit-bio/issues/1723))
|
|
43
|
+
* Re-enabled OpenMP support, which has been mistakenly disabled in 0.5.8 ([#1874](https://github.com/scikit-bio/scikit-bio/pull/1874))
|
|
44
|
+
* `permanova` and `permdist` operate on a `DistanceMatrix` and a grouping object. Element IDs must be synchronized to compare correct sets of pairwise distances. This failed in case the grouping was provided as a `pandas.Series`, because it was interpreted as an ordered `list` and indices were ignored (see issue [#1877](https://github.com/scikit-bio/scikit-bio/issues/1877) for an example). Note: `pandas.DataFrame` was handled correctly. This behavior has been fixed with PR [#1879](https://github.com/scikit-bio/scikit-bio/pull/1879)
|
|
45
|
+
* Fixed slicing for `TabularMSALoc` on Python 3.12. See issue [#1926](https://github.com/scikit-bio/scikit-bio/issues/1926).
|
|
46
|
+
|
|
47
|
+
### Miscellaneous
|
|
48
|
+
|
|
49
|
+
* Replaced the historical term "OTU" with the more generic term "taxon" (plural: "taxa"). As a consequence, the parameter "otu_ids" in phylogenetic alpha and beta diversity metrics was replaced by "taxa". Meanwhile, the old parameter "otu_ids" is still kept as an alias of "taxa" for backward compatibility. However it will be removed in a future release.
|
|
50
|
+
* Revised contributor's guidelines.
|
|
51
|
+
* Renamed function `multiplicative_replacement` as `multi_replace` for conciseness ([#1988](https://github.com/scikit-bio/scikit-bio/pull/1988)).
|
|
52
|
+
* Renamed parameter `multiple_comparisons_correction` as `p_adjust` of function `ancom` for conciseness ([#1988](https://github.com/scikit-bio/scikit-bio/pull/1988)).
|
|
53
|
+
* Enabled code coverage reporting via Codecov. See [#1954](https://github.com/scikit-bio/scikit-bio/pull/1954).
|
|
54
|
+
* Renamed the default branch from "master" to "main". See [#1953](https://github.com/scikit-bio/scikit-bio/pull/1953).
|
|
55
|
+
* Enabled subclassing of DNA, RNA and Protein classes to allow secondary development.
|
|
56
|
+
* Dropped support for NumPy < 1.17.0 in order to utilize the new random generator.
|
|
57
|
+
* Use CYTHON by default during build ([#1874](https://github.com/scikit-bio/scikit-bio/pull/1874))
|
|
58
|
+
* Implemented augmented assignments proposed in issue [#1789](https://github.com/scikit-bio/scikit-bio/issues/1789)
|
|
59
|
+
* Incorporated Ruff's formatting and linting via pre-commit hooks and GitHub Actions. See PR [#1924](https://github.com/scikit-bio/scikit-bio/pull/1924).
|
|
60
|
+
* Improved docstrings for functions accross the entire codebase. See [#1933](https://github.com/scikit-bio/scikit-bio/pull/1933) and [#1940](https://github.com/scikit-bio/scikit-bio/pull/1940)
|
|
61
|
+
* Removed API lifecycle decorators in favor of deprecation warnings. See [#1916](https://github.com/scikit-bio/scikit-bio/issues/1916)
|
|
62
|
+
|
|
63
|
+
## Version 0.5.9
|
|
64
|
+
|
|
65
|
+
### Features
|
|
66
|
+
|
|
67
|
+
* Adding Variance log ratio estimators in `skbio.stats.composition.vlr` and `skbio.stats.composition.pairwise_vlr` ([#1803](https://github.com/scikit-bio/scikit-bio/pull/1803))
|
|
68
|
+
* Added `skbio.stats.composition.tree_basis` to construct ILR bases from `TreeNode` objects. ([#1862](https://github.com/scikit-bio/scikit-bio/pull/1862))
|
|
69
|
+
* `IntervalMetadata.query` now defaults to obtaining all results, see [#1817](https://github.com/scikit-bio/scikit-bio/issues/1817).
|
|
70
|
+
|
|
71
|
+
### Backward-incompatible changes [experimental]
|
|
72
|
+
* With the introduction of the `tree_basis` object, the ILR bases are now represented in log-odds coordinates rather than in probabilities to minimize issues with numerical stability. Furthermore, the `ilr` and `ilr_inv` functions now takes the `basis` input parameter in terms of log-odds coordinates. This affects the `skbio.stats.composition.sbp_basis` as well. ([#1862](https://github.com/scikit-bio/scikit-bio/pull/1862))
|
|
73
|
+
|
|
74
|
+
### Important
|
|
75
|
+
|
|
76
|
+
* Complex multiple axis indexing operations with `TabularMSA` have been removed from testing due to incompatibilities with modern versions of Pandas. ([#1851](https://github.com/scikit-bio/scikit-bio/pull/1851))
|
|
77
|
+
* Pinning `scipy <= 1.10.1` ([#1851](https://github.com/scikit-bio/scikit-bio/pull/1867))
|
|
78
|
+
|
|
79
|
+
### Bug fixes
|
|
80
|
+
|
|
81
|
+
* Fixed a bug that caused build failure on the ARM64 microarchitecture due to floating-point number handling. ([#1859](https://github.com/scikit-bio/scikit-bio/pull/1859))
|
|
82
|
+
* Never let the Gini index go below 0.0, see [#1844](https://github.com/scikit-bio/scikit-bio/issue/1844).
|
|
83
|
+
* Fixed bug [#1847](https://github.com/scikit-bio/scikit-bio/issues/1847) in which the edge from the root was inadvertantly included in the calculation for `descending_branch_length`
|
|
84
|
+
|
|
85
|
+
### Miscellaneous
|
|
86
|
+
|
|
87
|
+
* Replaced dependencies `CacheControl` and `lockfile` with `requests` to avoid a dependency inconsistency issue of the former. (See [#1863](https://github.com/scikit-bio/scikit-bio/pull/1863), merged in [#1859](https://github.com/scikit-bio/scikit-bio/pull/1859))
|
|
88
|
+
* Updated installation instructions for developers in `CONTRIBUTING.md` ([#1860](https://github.com/scikit-bio/scikit-bio/pull/1860))
|
|
89
|
+
|
|
90
|
+
## Version 0.5.8
|
|
91
|
+
|
|
92
|
+
### Features
|
|
93
|
+
|
|
94
|
+
* Added NCBI taxonomy database dump format (`taxdump`) ([#1810](https://github.com/scikit-bio/scikit-bio/pull/1810)).
|
|
95
|
+
* Added `TreeNode.from_taxdump` for converting taxdump into a tree ([#1810](https://github.com/scikit-bio/scikit-bio/pull/1810)).
|
|
96
|
+
* scikit-learn has been removed as a dependency. This was a fairly heavy-weight dependency that was providing minor functionality to scikit-bio. The critical components have been implemented in scikit-bio directly, and the non-criticial components are listed under "Backward-incompatible changes [experimental]".
|
|
97
|
+
* Python 3.11 is now supported.
|
|
98
|
+
|
|
99
|
+
### Backward-incompatible changes [experimental]
|
|
100
|
+
* With the removal of the scikit-learn dependency, three beta diversity metric names can no longer be specified. These are `wminkowski`, `nan_euclidean`, and `haversine`. On testing, `wminkowski` and `haversine` did not work through `skbio.diversity.beta_diversity` (or `sklearn.metrics.pairwise_distances`). The former was deprecated in favor of calling `minkowski` with a vector of weights provided as kwarg `w` (example below), and the latter does not work with data of this shape. `nan_euclidean` can still be accessed fron scikit-learn directly if needed, if a user installs scikit-learn in their environment (example below).
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
counts = [[23, 64, 14, 0, 0, 3, 1],
|
|
104
|
+
[0, 3, 35, 42, 0, 12, 1],
|
|
105
|
+
[0, 5, 5, 0, 40, 40, 0],
|
|
106
|
+
[44, 35, 9, 0, 1, 0, 0],
|
|
107
|
+
[0, 2, 8, 0, 35, 45, 1],
|
|
108
|
+
[0, 0, 25, 35, 0, 19, 0],
|
|
109
|
+
[88, 31, 0, 5, 5, 5, 5],
|
|
110
|
+
[44, 39, 0, 0, 0, 0, 0]]
|
|
111
|
+
|
|
112
|
+
# new mechanism of accessing wminkowski
|
|
113
|
+
from skbio.diversity import beta_diversity
|
|
114
|
+
beta_diversity("minkowski", counts, w=[1,1,1,1,1,1,2])
|
|
115
|
+
|
|
116
|
+
# accessing nan_euclidean through scikit-learn directly
|
|
117
|
+
import skbio
|
|
118
|
+
from sklearn.metrics import pairwise_distances
|
|
119
|
+
sklearn_dm = pairwise_distances(counts, metric="nan_euclidean")
|
|
120
|
+
skbio_dm = skbio.DistanceMatrix(sklearn_dm)
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Deprecated functionality [experimental]
|
|
124
|
+
* `skbio.alignment.local_pairwise_align_ssw` has been deprecated ([#1814](https://github.com/scikit-bio/scikit-bio/issues/1814)) and will be removed or replaced in scikit-bio 0.6.0.
|
|
125
|
+
|
|
126
|
+
### Bug fixes
|
|
127
|
+
* Use `oldest-supported-numpy` as build dependency. This fixes problems with environments that use an older version of numpy than the one used to build scikit-bio ([#1813](https://github.com/scikit-bio/scikit-bio/pull/1813)).
|
|
128
|
+
|
|
129
|
+
## Version 0.5.7
|
|
130
|
+
|
|
131
|
+
### Features
|
|
132
|
+
|
|
133
|
+
* Introduce support for Python 3.10 ([#1801](https://github.com/scikit-bio/scikit-bio/pull/1801)).
|
|
134
|
+
* Tentative support for Apple M1 ([#1709](https://github.com/scikit-bio/scikit-bio/pull/1709)).
|
|
135
|
+
* Added support for reading and writing a binary distance matrix object format. ([#1716](https://github.com/scikit-bio/scikit-bio/pull/1716))
|
|
136
|
+
* Added support for `np.float32` with `DissimilarityMatrix` objects.
|
|
137
|
+
* Added support for method and number_of_dimensions to permdisp reducing the runtime by 100x at 4000 samples, [issue #1769](https://github.com/scikit-bio/scikit-bio/pull/1769).
|
|
138
|
+
* OrdinationResults object is now accepted as input for permdisp.
|
|
139
|
+
|
|
140
|
+
### Performance enhancements
|
|
141
|
+
|
|
142
|
+
* Avoid an implicit data copy on construction of `DissimilarityMatrix` objects.
|
|
143
|
+
* Avoid validation on copy of `DissimilarityMatrix` and `DistanceMatrix` objects, see [PR #1747](https://github.com/scikit-bio/scikit-bio/pull/1747)
|
|
144
|
+
* Use an optimized version of symmetry check in DistanceMatrix, see [PR #1747](https://github.com/scikit-bio/scikit-bio/pull/1747)
|
|
145
|
+
* Avoid performing filtering when ids are identical, see [PR #1752](https://github.com/scikit-bio/scikit-bio/pull/1752)
|
|
146
|
+
* center_distance_matrix has been re-implemented in cython for both speed and memory use. Indirectly speeds up pcoa [PR #1749](https://github.com/scikit-bio/scikit-bio/pull/1749)
|
|
147
|
+
* Use a memory-optimized version of permute in DistanceMatrix, see [PR #1756](https://github.com/scikit-bio/scikit-bio/pull/1756).
|
|
148
|
+
* Refactor pearson and spearman skbio.stats.distance.mantel implementations to drastically improve memory locality. Also cache intermediate results that are invariant across permutations, see [PR #1756](https://github.com/scikit-bio/scikit-bio/pull/1756).
|
|
149
|
+
* Refactor permanova to remove intermediate buffers and cythonize the internals, see [PR #1768](https://github.com/scikit-bio/scikit-bio/pull/1768).
|
|
150
|
+
|
|
151
|
+
### Bug fixes
|
|
152
|
+
|
|
153
|
+
* Fix windows and 32bit incompatibility in `unweighted_unifrac`.
|
|
154
|
+
|
|
155
|
+
### Miscellaneous
|
|
156
|
+
|
|
157
|
+
* Python 3.6 has been removed from our testing matrix.
|
|
158
|
+
* Specify build dependencies in pyproject.toml. This allows the package to be installed without having to first manually install numpy.
|
|
159
|
+
* Update hdmedians package to a version which doesn't require an initial manual numpy install.
|
|
160
|
+
* Now buildable on non-x86 platforms due to use of the [SIMD Everywhere](https://github.com/simd-everywhere/simde) library.
|
|
161
|
+
* Regenerate Cython wrapper by default to avoid incompatibilities with installed CPython.
|
|
162
|
+
* Update documentation for the `skbio.stats.composition.ancom` function. ([#1741](https://github.com/scikit-bio/scikit-bio/pull/1741))
|
|
163
|
+
|
|
164
|
+
## Version 0.5.6
|
|
165
|
+
|
|
166
|
+
### Features
|
|
167
|
+
|
|
168
|
+
* Added option to return a capture group compiled regex pattern to any class inheriting ``GrammaredSequence`` through the ``to_regex`` method. ([#1431](https://github.com/scikit-bio/scikit-bio/issues/1431))
|
|
169
|
+
|
|
170
|
+
* Added `Dissimilarity.within` and `.between` to obtain the respective distances and express them as a `DataFrame`. ([#1662](https://github.com/scikit-bio/scikit-bio/pull/1662))
|
|
171
|
+
|
|
172
|
+
* Added Kendall Tau as possible correlation method in the `skbio.stats.distance.mantel` function ([#1675](https://github.com/scikit-bio/scikit-bio/issues/1675)).
|
|
173
|
+
|
|
174
|
+
* Added support for IUPAC amino acid codes U (selenocysteine), O (pyrrolysine), and J (leucine or isoleucine). ([#1576](https://github.com/scikit-bio/scikit-bio/issues/1576)
|
|
175
|
+
|
|
176
|
+
### Backward-incompatible changes [stable]
|
|
177
|
+
|
|
178
|
+
### Backward-incompatible changes [experimental]
|
|
179
|
+
|
|
180
|
+
* Changed `skbio.tree.TreeNode.support` from a method to a property.
|
|
181
|
+
* Added `assign_supports` method to `skbio.tree.TreeNode` to extract branch support values from node labels.
|
|
182
|
+
* Modified the way a node's label is printed: `support:name` if both exist, or `support` or `name` if either exists.
|
|
183
|
+
|
|
184
|
+
### Performance enhancements
|
|
185
|
+
|
|
186
|
+
### Bug fixes
|
|
187
|
+
|
|
188
|
+
* Require `Sphinx <= 3.0`. Newer Sphinx versions caused build errors. [#1719](https://github.com/scikit-bio/scikit-bio/pull/1719)
|
|
189
|
+
|
|
190
|
+
* * `skbio.stats.ordination` tests have been relaxed. ([#1713](https://github.com/scikit-bio/scikit-bio/issues/1713))
|
|
191
|
+
|
|
192
|
+
* Fixes build errors for newer versions of NumPy, Pandas, and SciPy.
|
|
193
|
+
|
|
194
|
+
* Corrected a criticial bug in `skbio.alignment.StripedSmithWaterman`/`skbio.alignment.local_pairwise_align_ssw` which would cause the formatting of the aligned sequences to misplace gap characters by the number of gap characters present in the opposing aligned sequence up to that point. This was caused by a faulty implementation of CIGAR string parsing, see [#1679](https://github.com/scikit-bio/scikit-bio/pull/1679) for full details.
|
|
195
|
+
|
|
196
|
+
* Fixes build errors for newer versions of NumPy, Pandas, and SciPy.
|
|
197
|
+
|
|
198
|
+
* Corrected a criticial bug in `skbio.alignment.StripedSmithWaterman`/`skbio.alignment.local_pairwise_align_ssw` which would cause the formatting of the aligned sequences to misplace gap characters by the number of gap characters present in the opposing aligned sequence up to that point. This was caused by a faulty implementation of CIGAR string parsing, see [#1679](https://github.com/scikit-bio/scikit-bio/pull/1679) for full details.
|
|
199
|
+
|
|
200
|
+
### Deprecated functionality [stable]
|
|
201
|
+
|
|
202
|
+
### Deprecated functionality [experimental]
|
|
203
|
+
|
|
204
|
+
### Miscellaneous
|
|
205
|
+
|
|
206
|
+
* `skbio.diversity.beta_diversity` now accepts a pandas DataFrame as input.
|
|
207
|
+
|
|
208
|
+
* Avoid pandas 1.0.0 import warning ([#1688](https://github.com/scikit-bio/scikit-bio/issues/1688))
|
|
209
|
+
|
|
210
|
+
* Added support for Python 3.8 and dropped support for Python 3.5.
|
|
211
|
+
|
|
212
|
+
* This version now depends on `scipy >= 1.3` and `pandas >= 1.0`.
|
|
213
|
+
|
|
214
|
+
## Version 0.5.5 (2018-12-10)
|
|
215
|
+
|
|
216
|
+
### Features
|
|
217
|
+
|
|
218
|
+
* `skbio.stats.composition` now has methods to compute additive log-ratio transformation and inverse additive log-ratio transformation (`alr`, `alr_inv`) as well as a method to build a basis from a sequential binary partition (`sbp_basis`).
|
|
219
|
+
|
|
220
|
+
### Backward-incompatible changes [stable]
|
|
221
|
+
|
|
222
|
+
### Backward-incompatible changes [experimental]
|
|
223
|
+
|
|
224
|
+
### Performance enhancements
|
|
225
|
+
|
|
226
|
+
### Bug fixes
|
|
227
|
+
|
|
228
|
+
### Deprecated functionality [stable]
|
|
229
|
+
|
|
230
|
+
### Deprecated functionality [experimental]
|
|
231
|
+
|
|
232
|
+
### Miscellaneous
|
|
233
|
+
* Python 3.6 and 3.7 compatibility is now supported
|
|
234
|
+
|
|
235
|
+
* A pytest runner is shipped with every installation ([#1633](https://github.com/scikit-bio/scikit-bio/pull/1633))
|
|
236
|
+
|
|
237
|
+
* The nosetest framework has been replaced in favor of pytest ([#1624](https://github.com/scikit-bio/scikit-bio/pull/1624))
|
|
238
|
+
|
|
239
|
+
* The numpy docs are deprecated in favor of [Napoleon](http://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html) ([#1629](https://github.com/scikit-bio/scikit-bio/pull/1629))
|
|
240
|
+
|
|
241
|
+
* This version is now compatible with numpy >= 1.17.0 and Pandas >= 0.23. ([#1627](https://github.com/scikit-bio/scikit-bio/pull/1627))
|
|
242
|
+
|
|
243
|
+
## Version 0.5.4 (2018-08-23)
|
|
244
|
+
|
|
245
|
+
### Features
|
|
246
|
+
|
|
247
|
+
* Added `FSVD`, an alternative fast heuristic method to perform Principal Coordinates Analysis, to `skbio.stats.ordination.pcoa`.
|
|
248
|
+
|
|
249
|
+
### Backward-incompatible changes [stable]
|
|
250
|
+
|
|
251
|
+
### Backward-incompatible changes [experimental]
|
|
252
|
+
|
|
253
|
+
### Performance enhancements
|
|
254
|
+
|
|
255
|
+
* Added optimized utility methods `f_matrix_inplace` and `e_matrix_inplace` which perform `f_matrix` and `e_matrix` computations in-place and are used by the new `center_distance_matrix` method in `skbio.stats.ordination`.
|
|
256
|
+
|
|
257
|
+
### Bug fixes
|
|
258
|
+
|
|
259
|
+
### Deprecated functionality [stable]
|
|
260
|
+
|
|
261
|
+
### Deprecated functionality [experimental]
|
|
262
|
+
|
|
263
|
+
### Miscellaneous
|
|
264
|
+
|
|
265
|
+
## Version 0.5.3 (2018-08-07)
|
|
266
|
+
|
|
267
|
+
### Features
|
|
268
|
+
* Added `unpack` and `unpack_by_func` methods to `skbio.tree.TreeNode` to unpack one or multiple internal nodes. The `unpack` operation removes an internal node and regrafts its children to its parent while retaining the overall length. ([#1572](https://github.com/scikit-bio/scikit-bio/pull/1572))
|
|
269
|
+
* Added `support` to `skbio.tree.TreeNode` to return the support value of a node.
|
|
270
|
+
* Added `permdisp` to `skbio.stats.distance` to test for the homogeniety of groups. ([#1228](https://github.com/scikit-bio/scikit-bio/issues/1228)).
|
|
271
|
+
|
|
272
|
+
* Added `pcoa_biplot` to `skbio.stats.ordination` to project descriptors into a PCoA plot.
|
|
273
|
+
|
|
274
|
+
* Fixed pandas to 0.22.0 due to this: https://github.com/pandas-dev/pandas/issues/20527
|
|
275
|
+
|
|
276
|
+
### Backward-incompatible changes [stable]
|
|
277
|
+
|
|
278
|
+
### Backward-incompatible changes [experimental]
|
|
279
|
+
|
|
280
|
+
### Performance enhancements
|
|
281
|
+
|
|
282
|
+
### Bug fixes
|
|
283
|
+
|
|
284
|
+
* Relaxing type checking in diversity calculations. ([#1583](https://github.com/scikit-bio/scikit-bio/issues/1583)).
|
|
285
|
+
|
|
286
|
+
### Deprecated functionality [stable]
|
|
287
|
+
|
|
288
|
+
### Deprecated functionality [experimental]
|
|
289
|
+
|
|
290
|
+
### Miscellaneous
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
## Version 0.5.2 (2018-04-18)
|
|
294
|
+
|
|
295
|
+
### Features
|
|
296
|
+
* Added ``skbio.io.format.embl`` for reading and writing EMBL files for ``DNA``, ``RNA`` and ``Sequence`` classes.
|
|
297
|
+
|
|
298
|
+
* Removing ValueError check in `skbio.stats._subsample.subsample_counts` when `replace=True` and `n` is greater than the number of items in counts. [#1527](https://github.com/scikit-bio/scikit-bio/pull/1527)
|
|
299
|
+
|
|
300
|
+
* Added ``skbio.io.format.gff3`` for reading and writing GFF3 files for ``DNA``, ``Sequence``, and ``IntervalMetadata`` classes. ([#1450](https://github.com/scikit-bio/scikit-bio/pull/1450))
|
|
301
|
+
|
|
302
|
+
* `skbio.metadata.IntervalMetadata` constructor has a new keyword argument, `copy_from`, for creating an `IntervalMetadata` object from an existing `IntervalMetadata` object with specified `upper_bound`.
|
|
303
|
+
|
|
304
|
+
* `skbio.metadata.IntervalMetadata` constructor allows `None` as a valid value for `upper_bound`. An `upper_bound` of `None` means that the `IntervalMetadata` object has no upper bound.
|
|
305
|
+
|
|
306
|
+
* `skbio.metadata.IntervalMetadata.drop` has a new boolean parameter `negate` to indicate whether to drop or keep the specified `Interval` objects.
|
|
307
|
+
|
|
308
|
+
### Backward-incompatible changes [stable]
|
|
309
|
+
|
|
310
|
+
### Backward-incompatible changes [experimental]
|
|
311
|
+
|
|
312
|
+
### Performance enhancements
|
|
313
|
+
* `skbio.tree.nj` wall-clock runtime was decreased by 99% for a 500x500 distance matrix and 93% for a 100x100 distance matrix. ([#1512](https://github.com/scikit-bio/scikit-bio/pull/1512), [#1513](https://github.com/scikit-bio/scikit-bio/pull/1513))
|
|
314
|
+
|
|
315
|
+
### Bug fixes
|
|
316
|
+
* The `include_self` parameter was not being honored in `skbio.TreeNode.tips`. The scope of this bug was that if `TreeNode.tips` was called on a tip, it would always result in an empty `list` when unrolled.
|
|
317
|
+
|
|
318
|
+
* In `skbio.stats.ordination.ca`, `proportion_explained` was missing in the returned `OrdinationResults` object. ([#1345](https://github.com/scikit-bio/scikit-bio/issues/1345))
|
|
319
|
+
|
|
320
|
+
* `skbio.diversity.beta_diversity` now handles qualitative metrics as expected such that `beta_diversity('jaccard', mat) == beta_diversity('jaccard', mat > 0)`. Please see [#1549](https://github.com/scikit-bio/scikit-bio/issues/1549) for further detail.
|
|
321
|
+
|
|
322
|
+
* `skbio.stats.ordination.rda` The occasional column mismatch in output `biplot_scores` is fixed ([#1519](https://github.com/scikit-bio/scikit-bio/issues/1519)).
|
|
323
|
+
|
|
324
|
+
### Deprecated functionality [stable]
|
|
325
|
+
|
|
326
|
+
### Deprecated functionality [experimental]
|
|
327
|
+
|
|
328
|
+
### Miscellaneous
|
|
329
|
+
* scikit-bio now depends on pandas >= 0.19.2, and is compatible with newer pandas versions (e.g. 0.20.3) that were previously incompatible.
|
|
330
|
+
* scikit-bio now depends on `numpy >= 1.17.0, < 1.14.0` for compatibility with Python 3.4, 3.5, and 3.6 and the available numpy conda packages in `defaults` and `conda-forge` channels.
|
|
331
|
+
* added support for running tests from `setup.py`. Both `python setup.py nosetests` and `python setup.py test` are now supported, however `python setup.py test` will only run a subset of the full test suite. ([#1341](https://github.com/scikit-bio/scikit-bio/issues/1341))
|
|
332
|
+
|
|
333
|
+
## Version 0.5.1 (2016-11-12)
|
|
334
|
+
|
|
335
|
+
### Features
|
|
336
|
+
* Added `IntervalMetadata` and `Interval` classes in `skbio.metadata` to store, query, and manipulate information of a sub-region of a sequence. ([#1414](https://github.com/scikit-bio/scikit-bio/issues/1414))
|
|
337
|
+
* `Sequence` and its child classes (including `GrammaredSequence`, `RNA`, `DNA`, `Protein`) now accept `IntervalMetadata` in their constructor API. Some of their relevant methods are also updated accordingly. ([#1430](https://github.com/scikit-bio/scikit-bio/pull/1430))
|
|
338
|
+
* GenBank parser now reads and writes `Sequence` or its subclass objects with `IntervalMetadata`. ([#1440](https://github.com/scikit-bio/scikit-bio/pull/1440))
|
|
339
|
+
* `DissimilarityMatrix` now has a new constructor method called `from_iterable`. ([#1343](https://github.com/scikit-bio/scikit-bio/issues/1343)).
|
|
340
|
+
* `DissimilarityMatrix` now allows non-hollow matrices. ([#1343](https://github.com/scikit-bio/scikit-bio/issues/1343)).
|
|
341
|
+
* `DistanceMatrix.from_iterable` now accepts a `validate=True` parameter. ([#1343](https://github.com/scikit-bio/scikit-bio/issues/1343)).
|
|
342
|
+
* ``DistanceMatrix`` now has a new method called ``to_series`` to create a ``pandas.Series`` from a ``DistanceMatrix`` ([#1397](https://github.com/scikit-bio/scikit-bio/issues/1397)).
|
|
343
|
+
* Added parallel beta diversity calculation support via `skbio.diversity.block_beta_diversity`. The issue and idea is discussed in ([#1181](https://github.com/scikit-bio/scikit-bio/issues/1181), while the actual code changes are in [#1352](https://github.com/scikit-bio/scikit-bio/pull/1352)).
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
### Backward-incompatible changes [stable]
|
|
347
|
+
* The constructor API for `Sequence` and its child classes (including `GrammaredSequence`, `RNA`, `DNA`, `Protein`) are changed from `(sequence, metadata=None, positional_metadata=None, lowercase=False)` to `(sequence, metadata=None, positional_metadata=None, interval_metadata=None, lowercase=False)`
|
|
348
|
+
|
|
349
|
+
The changes are made to allow these classes to adopt `IntervalMetadata` object for interval features on the sequence. The `interval_metadata` parameter is added imediately after `positional_metadata` instead of appended to the end, because it is more natural and logical and, more importantly, because it is unlikely in practice to break user code. A user's code would break only if they had supplied `metadata`, `postional_metadata`, and `lowercase` parameters positionally. In the unlikely event that this happens, users will get an error telling them a bool isn't a valid `IntervalMetadata` type, so it won't silently produce buggy behavior.
|
|
350
|
+
|
|
351
|
+
### Backward-incompatible changes [experimental]
|
|
352
|
+
* Modifying basis handling in `skbio.stats.composition.ilr_inv` prior to checking for orthogonality. Now the basis is strictly assumed to be in the Aitchison simplex.
|
|
353
|
+
* `DistanceMatrix.from_iterable` default behavior is now to validate matrix by computing all pairwise distances. Pass `validate=False` to get the previous behavior (no validation, but faster execution).([#1343](https://github.com/scikit-bio/scikit-bio/issues/1343)).
|
|
354
|
+
* GenBank I/O now parses sequence features into the attribute of `interval_metadata` instead of `positiona_metadata`. And the key of `FEATURES` is removed from `metadata` attribute.
|
|
355
|
+
|
|
356
|
+
### Performance enhancements
|
|
357
|
+
* `TreeNode.shear` was rewritten for approximately a 25% performance increase. ([#1399](https://github.com/scikit-bio/scikit-bio/pull/1399))
|
|
358
|
+
* The `IntervalMetadata` allows dramatic decrease in memory usage in reading GenBank files of feature rich sequences. ([#1159](https://github.com/scikit-bio/scikit-bio/issues/1159))
|
|
359
|
+
|
|
360
|
+
### Bug fixes
|
|
361
|
+
|
|
362
|
+
* `skbio.tree.TreeNode.prune` and implicitly `skbio.tree.TreeNode.shear` were not handling a situation in which a parent was validly removed during pruning operations as may happen if the resulting subtree does not include the root. Previously, an `AttributeError` would raise as `parent` would be `None` in this situation.
|
|
363
|
+
* numpy linking was fixed for installation under El Capitan.
|
|
364
|
+
* A bug was introduced in #1398 into `TreeNode.prune` and fixed in #1416 in which, under the special case of a single descendent existing from the root, the resulting children parent references were not updated. The cause of the bug was a call made to `self.children.extend` as opposed to `self.extend` where the former is a `list.extend` without knowledge of the tree, while the latter is `TreeNode.extend` which is able to adjust references to `self.parent`.
|
|
365
|
+
|
|
366
|
+
### Miscellaneous
|
|
367
|
+
|
|
368
|
+
* Removed deprecated functions from `skbio.util`: `is_casava_v180_or_later`, `remove_files`, and `create_dir`.
|
|
369
|
+
* Removed deprecated `skbio.Sequence.copy` method.
|
|
370
|
+
|
|
371
|
+
## Version 0.5.0 (2016-06-14)
|
|
372
|
+
|
|
373
|
+
**IMPORTANT**: scikit-bio is no longer compatible with Python 2. scikit-bio is compatible with Python 3.4 and later.
|
|
374
|
+
|
|
375
|
+
### Features
|
|
376
|
+
* Added more descriptive error message to `skbio.io.registry` when attempting to read without specifying `into` and when there is no generator reader. ([#1326](https://github.com/scikit-bio/scikit-bio/issues/1326))
|
|
377
|
+
* Added support for reference tags to `skbio.io.format.stockholm` reader and writer. ([#1348](https://github.com/scikit-bio/scikit-bio/issues/1348))
|
|
378
|
+
* Expanded error message in `skbio.io.format.stockholm` reader when `constructor` is not passed, in order to provide better explanation to user. ([#1327](https://github.com/scikit-bio/scikit-bio/issues/1327))
|
|
379
|
+
* Added `skbio.sequence.distance.kmer_distance` for computing the kmer distance between two sequences. ([#913](https://github.com/scikit-bio/scikit-bio/issues/913))
|
|
380
|
+
* Added `skbio.sequence.Sequence.replace` for assigning a character to positions in a `Sequence`. ([#1222](https://github.com/scikit-bio/scikit-bio/issues/1222))
|
|
381
|
+
* Added support for `pandas.RangeIndex`, lowering the memory footprint of default integer index objects. `Sequence.positional_metadata` and `TabularMSA.positional_metadata` now use `pd.RangeIndex` as the positional metadata index. `TabularMSA` now uses `pd.RangeIndex` as the default index. Usage of `pd.RangeIndex` over the previous `pd.Int64Index` [should be transparent](http://pandas.pydata.org/pandas-docs/version/0.18.0/whatsnew.html#range-index), so these changes should be non-breaking to users. scikit-bio now depends on pandas >= 0.18.0 ([#1308](https://github.com/scikit-bio/scikit-bio/issues/1308))
|
|
382
|
+
* Added `reset_index=False` parameter to `TabularMSA.append` and `TabularMSA.extend` for resetting the MSA's index to the default index after appending/extending.
|
|
383
|
+
* Added support for partial pairwise calculations via `skbio.diversity.partial_beta_diversity`. ([#1221](https://github.com/scikit-bio/scikit-bio/issues/1221), [#1337](https://github.com/scikit-bio/scikit-bio/pull/1337)). This function is immediately deprecated as its return type will change in the future and should be used with caution in its present form (see the function's documentation for details).
|
|
384
|
+
* `TemporaryFile` and `NamedTemporaryFile` are now supported IO sources for `skbio.io` and related functionality. ([#1291](https://github.com/scikit-bio/scikit-bio/issues/1291))
|
|
385
|
+
* Added `tree_node_class=TreeNode` parameter to `skbio.tree.majority_rule` to support returning consensus trees of type `TreeNode` (the default) or a type that has the same interface as `TreeNode` (e.g. `TreeNode` subclasses) ([#1193](https://github.com/scikit-bio/scikit-bio/pull/1193))
|
|
386
|
+
* `TreeNode.from_linkage_matrix` and `TreeNode.from_taxonomy` now support constructing `TreeNode` subclasses. `TreeNode.bifurcate` now supports `TreeNode` subclasses ([#1193](https://github.com/scikit-bio/scikit-bio/pull/1193))
|
|
387
|
+
* The `ignore_metadata` keyword has been added to `TabularMSA.iter_positions` to improve performance when metadata is not necessary.
|
|
388
|
+
* Pairwise aligners in `skbio.alignment` now propagate per-sequence `metadata` objects (this does not include `positional_metadata`).
|
|
389
|
+
|
|
390
|
+
### Backward-incompatible changes [stable]
|
|
391
|
+
|
|
392
|
+
### Backward-incompatible changes [experimental]
|
|
393
|
+
* `TabularMSA.append` and `TabularMSA.extend` now require one of `minter`, `index`, or `reset_index` to be provided when incorporating new sequences into an MSA. Previous behavior was to auto-increment the index labels if `minter` and `index` weren't provided and the MSA had a default integer index, otherwise error. Use `reset_index=True` to obtain the previous behavior in a more explicit way.
|
|
394
|
+
* `skbio.stats.composition.ancom` now returns two `pd.DataFrame` objects, where it previously returned one. The first contains the ANCOM test results, as before, and the second contains percentile abundances of each feature in each group. The specific percentiles that are computed and returned is controlled by the new `percentiles` parameter to `skbio.stats.composition.ancom`. In the future, this second `pd.DataFrame` will not be returned by this function, but will be available through the [contingency table API](https://github.com/scikit-bio/scikit-bio/issues/848). ([#1293](https://github.com/scikit-bio/scikit-bio/issues/1293))
|
|
395
|
+
* `skbio.stats.composition.ancom` now performs multiple comparisons correction by default. The previous behavior of not performing multiple comparisons correction can be achieved by passing ``multiple_comparisons_correction=None``.
|
|
396
|
+
* The ``reject`` column in the first ``pd.DataFrame`` returned from `skbio.stats.composition.ancom` has been renamed ``Reject null hypothesis`` for clarity. ([#1375](https://github.com/scikit-bio/scikit-bio/issues/1375))
|
|
397
|
+
|
|
398
|
+
### Bug fixes
|
|
399
|
+
* Fixed row and column names to `biplot_scores` in the `OrdinationResults` object from `skbio.stats.ordination`. This fix affect the `cca` and `rda` methods. ([#1322](https://github.com/scikit-bio/scikit-bio/issues/1322))
|
|
400
|
+
* Fixed bug when using `skbio.io.format.stockholm` reader on file with multi-line tree with no id. Previously this raised an `AttributeError`, now it correctly handles this type of tree. ([#1334](https://github.com/scikit-bio/scikit-bio/issues/1334))
|
|
401
|
+
* Fixed bug when reading Stockholm files with GF or GS features split over multiple lines. Previously, the feature text was simply concatenated because it was assumed to have trailing whitespace. There are examples of Stockholm files with and without trailing whitespace for multi-line features, so the `skbio.io.format.stockholm` reader now adds a single space when concatenating feature text without trailing whitespace to avoid joining words together. Multi-line trees stored as GF metadata are concatenated as they appear in the file; a space is not added when concatenating. ([#1328](https://github.com/scikit-bio/scikit-bio/issues/1328))
|
|
402
|
+
* Fixed bug when using `Sequence.iter_kmers` on empty `Sequence` object. Previously this raised a `ValueError`, now it returns
|
|
403
|
+
an empty generator.
|
|
404
|
+
* Fixed minor bug where adding sequences to an empty `TabularMSA` with MSA-wide `positional_metadata` would result in a `TabularMSA` object in an inconsistent state. This could happen using `TabularMSA.append` or `TabularMSA.extend`. This bug only affects a `TabularMSA` object *without* sequences that has MSA-wide `positional_metadata` (for example, `TabularMSA([], positional_metadata={'column': []})`).
|
|
405
|
+
* `TreeNode.distance` now handles the situation in which `self` or `other` are ancestors. Previosly, a node further up the tree was used resulting in inflated distances. ([#807](https://github.com/scikit-bio/scikit-bio/issues/807))
|
|
406
|
+
* `TreeNode.prune` can now handle a root with a single descendent. Previously, the root was ignored from possibly having a single descendent. ([#1247](https://github.com/scikit-bio/scikit-bio/issues/1247))
|
|
407
|
+
* Providing the `format` keyword to `skbio.io.read` when creating a generator with an empty file will now return an empty generator instead of raising `StopIteration`. ([#1313](https://github.com/scikit-bio/scikit-bio/issues/1313))
|
|
408
|
+
* `OrdinationResults` is now importable from `skbio` and `skbio.stats.ordination` and correctly linked from the documentation ([#1205](https://github.com/scikit-bio/scikit-bio/issues/1205))
|
|
409
|
+
* Fixed performance bug in pairwise aligners resulting in 100x worse performance than in 0.2.4.
|
|
410
|
+
|
|
411
|
+
### Deprecated functionality [stable]
|
|
412
|
+
* Deprecated use of the term "non-degenerate", in favor of "definite". `GrammaredSequence.nondegenerate_chars`, `GrammaredSequence.nondegenerates`, and `GrammaredSequence.has_nondegenerates` have been renamed to `GrammaredSequence.definite_chars`, `GrammaredSequence.definites`, and `GrammaredSequence.has_definites`, respectively. The old names will be removed in scikit-bio 0.5.2. Relevant affected public classes include `GrammaredSequence`, `DNA`, `RNA`, and `Protein`.
|
|
413
|
+
|
|
414
|
+
### Deprecated functionality [experimental]
|
|
415
|
+
* Deprecated function `skbio.util.create_dir`. This function will be removed in scikit-bio 0.5.1. Please use the Python standard library
|
|
416
|
+
functionality described [here](https://docs.python.org/2/library/os.html#os.makedirs). ([#833](https://github.com/scikit-bio/scikit-bio/issues/833))
|
|
417
|
+
* Deprecated function `skbio.util.remove_files`. This function will be removed in scikit-bio 0.5.1. Please use the Python standard library
|
|
418
|
+
functionality described [here](https://docs.python.org/2/library/os.html#os.remove). ([#833](https://github.com/scikit-bio/scikit-bio/issues/833))
|
|
419
|
+
* Deprecated function `skbio.util.is_casava_v180_or_later`. This function will be removed in 0.5.1. Functionality moved to FASTQ sniffer.
|
|
420
|
+
([#833](https://github.com/scikit-bio/scikit-bio/issues/833))
|
|
421
|
+
|
|
422
|
+
### Miscellaneous
|
|
423
|
+
* When installing scikit-bio via `pip`, numpy must now be installed first ([#1296](https://github.com/scikit-bio/scikit-bio/issues/1296))
|
|
424
|
+
|
|
425
|
+
## Version 0.4.2 (2016-02-17)
|
|
426
|
+
|
|
427
|
+
Minor maintenance release. **This is the last Python 2.7 compatible release. Future scikit-bio releases will only support Python 3.**
|
|
428
|
+
|
|
429
|
+
### Features
|
|
430
|
+
* Added `skbio.tree.TreeNode.bifurcate` for converting multifurcating trees into bifurcating trees. ([#896](https://github.com/scikit-bio/scikit-bio/issues/896))
|
|
431
|
+
* Added `skbio.io.format.stockholm` for reading Stockholm files into a `TabularMSA` and writing from a `TabularMSA`. ([#967](https://github.com/scikit-bio/scikit-bio/issues/967))
|
|
432
|
+
* scikit-bio `Sequence` objects have better compatibility with numpy. For example, calling `np.asarray(sequence)` now converts the sequence to a numpy array of characters (the same as calling `sequence.values`).
|
|
433
|
+
* Added `skbio.sequence.distance` subpackage for computing distances between scikit-bio `Sequence` objects ([#913](https://github.com/scikit-bio/scikit-bio/issues/913))
|
|
434
|
+
* Added ``skbio.sequence.GrammaredSequence``, which can be inherited from to create grammared sequences with custom alphabets (e.g., for use with TabularMSA) ([#1175](https://github.com/scikit-bio/scikit-bio/issues/1175))
|
|
435
|
+
* Added ``skbio.util.classproperty`` decorator
|
|
436
|
+
|
|
437
|
+
### Backward-incompatible changes [stable]
|
|
438
|
+
* When sniffing or reading a file (`skbio.io.sniff`, `skbio.io.read`, or the object-oriented `.read()` interface), passing `newline` as a keyword argument to `skbio.io.open` now raises a `TypeError`. This backward-incompatible change to a stable API is necessary because it fixes a bug (more details in bug fix section below).
|
|
439
|
+
* When reading a FASTQ or QSEQ file and passing `variant='solexa'`, `ValueError` is now raised instead of `NotImplementedError`. This backward-incompatible change to a stable API is necessary to avoid creating a spin-locked process due to [a bug in Python](https://bugs.python.org/issue25786). See [#1256](https://github.com/scikit-bio/scikit-bio/issues/1256) for details. This change is temporary and will be reverted to `NotImplementedError` when the bug is fixed in Python.
|
|
440
|
+
|
|
441
|
+
### Backward-incompatible changes [experimental]
|
|
442
|
+
* `skbio.io.format.genbank`: When reading GenBank files, the date field of the LOCUS line is no longer parsed into a `datetime.datetime` object and is left as a string. When writing GenBank files, the locus date metadata is expected to be a string instead of a `datetime.datetime` object ([#1153](https://github.com/scikit-bio/scikit-bio/issues/1153))
|
|
443
|
+
* `Sequence.distance` now converts the input sequence (`other`) to its type before passing both sequences to `metric`. Previous behavior was to always convert to `Sequence`.
|
|
444
|
+
|
|
445
|
+
### Bug fixes
|
|
446
|
+
* Fixed bug when using `Sequence.distance` or `DistanceMatrix.from_iterable` to compute distances between `Sequence` objects with differing `metadata`/`positional_metadata` and passing `metric=scipy.spatial.distance.hamming` ([#1254](https://github.com/scikit-bio/scikit-bio/issues/1254))
|
|
447
|
+
* Fixed performance bug when computing Hamming distances between `Sequence` objects in `DistanceMatrix.from_iterable` ([#1250](https://github.com/scikit-bio/scikit-bio/issues/1250))
|
|
448
|
+
* Changed `skbio.stats.composition.multiplicative_replacement` to raise an error whenever a large value of `delta` is chosen ([#1241](https://github.com/scikit-bio/scikit-bio/issues/1241))
|
|
449
|
+
* When sniffing or reading a file (`skbio.io.sniff`, `skbio.io.read`, or the object-oriented `.read()` interface), passing `newline` as a keyword argument to `skbio.io.open` now raises a `TypeError`. The file format's `newline` character will be used when opening the file. Previous behavior allowed overriding the format's `newline` character but this could cause issues with readers that assume newline characters are those defined by the file format (which is an entirely reasonable assumption). This bug is very unlikely to have surfaced in practice as the default `newline` behavior is *universal newlines mode*.
|
|
450
|
+
* DNA, RNA, and Protein are no longer inheritable because they assume an IUPAC alphabet.
|
|
451
|
+
* `DistanceMatrix` constructor provides more informative error message when data contains NaNs ([#1276](https://github.com/scikit-bio/scikit-bio/issues/1276))
|
|
452
|
+
|
|
453
|
+
### Miscellaneous
|
|
454
|
+
* Warnings raised by scikit-bio now share a common subclass ``skbio.util.SkbioWarning``.
|
|
455
|
+
|
|
456
|
+
## Version 0.4.1 (2015-12-09)
|
|
457
|
+
|
|
458
|
+
### Features
|
|
459
|
+
* The ``TabularMSA`` object was added to represent and operate on tabular multiple sequence alignments. This satisfies [RFC 1](https://github.com/scikit-bio/scikit-bio-rfcs/blob/master/active/001-tabular-msa.md). See the ``TabularMSA`` docs for full details.
|
|
460
|
+
* Added phylogenetic diversity metrics, including weighted UniFrac, unweighted UniFrac, and Faith's Phylogenetic Diversity. These are accessible as ``skbio.diversity.beta.unweighted_unifrac``, ``skbio.diversity.beta.weighted_unifrac``, and ``skbio.diversity.alpha.faith_pd``, respectively.
|
|
461
|
+
* Addition of the function ``skbio.diversity.alpha_diversity`` to support applying an alpha diversity metric to multiple samples in one call.
|
|
462
|
+
* Addition of the functions ``skbio.diversity.get_alpha_diversity_metrics`` and ``skbio.diversity.get_beta_diversity_metrics`` to support discovery of the alpha and beta diversity metrics implemented in scikit-bio.
|
|
463
|
+
* Added `skbio.stats.composition.ancom` function, a test for OTU differential abundance across sample categories. ([#1054](https://github.com/scikit-bio/scikit-bio/issues/1054))
|
|
464
|
+
* Added `skbio.io.format.blast7` for reading BLAST+ output format 7 or BLAST output format 9 files into a `pd.DataFrame`. ([#1110](https://github.com/scikit-bio/scikit-bio/issues/1110))
|
|
465
|
+
* Added `skbio.DissimilarityMatrix.to_data_frame` method for creating a ``pandas.DataFrame`` from a `DissimilarityMatrix` or `DistanceMatrix`. ([#757](https://github.com/scikit-bio/scikit-bio/issues/757))
|
|
466
|
+
* Added support for one-dimensional vector of dissimilarities in `skbio.stats.distance.DissimilarityMatrix`
|
|
467
|
+
constructor. ([#6240](https://github.com/scikit-bio/scikit-bio/issues/624))
|
|
468
|
+
* Added `skbio.io.format.blast6` for reading BLAST+ output format 6 or BLAST output format 8 files into a `pd.DataFrame`. ([#1110](https://github.com/scikit-bio/scikit-bio/issues/1110))
|
|
469
|
+
* Added `inner`, `ilr`, `ilr_inv` and `clr_inv`, ``skbio.stats.composition``, which enables linear transformations on compositions ([#892](https://github.com/scikit-bio/scikit-bio/issues/892)
|
|
470
|
+
* Added ``skbio.diversity.alpha.pielou_e`` function as an evenness metric of alpha diversity. ([#1068](https://github.com/scikit-bio/scikit-bio/issues/1068))
|
|
471
|
+
* Added `to_regex` method to `skbio.sequence._iupac_sequence` ABC - it returns a regex object that matches all non-degenerate versions of the sequence.
|
|
472
|
+
* Added ``skbio.util.assert_ordination_results_equal`` function for comparing ``OrdinationResults`` objects in unit tests.
|
|
473
|
+
* Added ``skbio.io.format.genbank`` for reading and writing GenBank/GenPept for ``DNA``, ``RNA``, ``Protein`` and ``Sequence`` classes.
|
|
474
|
+
* Added ``skbio.util.RepresentationWarning`` for warning about substitutions, assumptions, or particular alterations that were made for the successful completion of a process.
|
|
475
|
+
* ``TreeNode.tip_tip_distances`` now supports nodes without an associated length. In this case, a length of 0.0 is assumed and an ``skbio.util.RepresentationWarning`` is raised. Previous behavior was to raise a ``NoLengthError``. ([#791](https://github.com/scikit-bio/scikit-bio/issues/791))
|
|
476
|
+
* ``DistanceMatrix`` now has a new constructor method called `from_iterable`.
|
|
477
|
+
* ``Sequence`` now accepts ``lowercase`` keyword like ``DNA`` and others. Updated ``fasta``, ``fastq``, and ``qseq`` readers/writers for ``Sequence`` to reflect this.
|
|
478
|
+
* The ``lowercase`` method has been moved up to ``Sequence`` meaning all sequence objects now have a ``lowercase`` method.
|
|
479
|
+
* Added ``reverse_transcribe`` class method to ``RNA``.
|
|
480
|
+
* Added `Sequence.observed_chars` property for obtaining the set of observed characters in a sequence. ([#1075](https://github.com/scikit-bio/scikit-bio/issues/1075))
|
|
481
|
+
* Added `Sequence.frequencies` method for computing character frequencies in a sequence. ([#1074](https://github.com/scikit-bio/scikit-bio/issues/1074))
|
|
482
|
+
* Added experimental class-method ``Sequence.concat`` which will produce a new sequence from an iterable of existing sequences. Parameters control how positional metadata is propagated during a concatenation.
|
|
483
|
+
* ``TreeNode.to_array`` now supports replacing ``nan`` branch lengths in the resulting branch length vector with the value provided as ``nan_length_value``.
|
|
484
|
+
* ``skbio.io.format.phylip`` now supports sniffing and reading strict, sequential PHYLIP-formatted files into ``skbio.Alignment`` objects. ([#1006](https://github.com/scikit-bio/scikit-bio/issues/1006))
|
|
485
|
+
* Added `default_gap_char` class property to ``DNA``, ``RNA``, and ``Protein`` for representing gap characters in a new sequence.
|
|
486
|
+
|
|
487
|
+
### Backward-incompatible changes [stable]
|
|
488
|
+
* `Sequence.kmer_frequencies` now returns a `dict`. Previous behavior was to return a `collections.Counter` if `relative=False` was passed, and a `collections.defaultdict` if `relative=True` was passed. In the case of a missing key, the `Counter` would return 0 and the `defaultdict` would return 0.0. Because the return type is now always a `dict`, attempting to access a missing key will raise a `KeyError`. This change *may* break backwards-compatibility depending on how the `Counter`/`defaultdict` is being used. We hope that in most cases this change will not break backwards-compatibility because both `Counter` and `defaultdict` are `dict` subclasses.
|
|
489
|
+
|
|
490
|
+
If the previous behavior is desired, convert the `dict` into a `Counter`/`defaultdict`:
|
|
491
|
+
|
|
492
|
+
```python
|
|
493
|
+
import collections
|
|
494
|
+
from skbio import Sequence
|
|
495
|
+
seq = Sequence('ACCGAGTTTAACCGAATA')
|
|
496
|
+
|
|
497
|
+
# Counter
|
|
498
|
+
freqs_dict = seq.kmer_frequencies(k=8)
|
|
499
|
+
freqs_counter = collections.Counter(freqs_dict)
|
|
500
|
+
|
|
501
|
+
# defaultdict
|
|
502
|
+
freqs_dict = seq.kmer_frequencies(k=8, relative=True)
|
|
503
|
+
freqs_default_dict = collections.defaultdict(float, freqs_dict)
|
|
504
|
+
```
|
|
505
|
+
|
|
506
|
+
**Rationale:** We believe it is safer to return `dict` instead of `Counter`/`defaultdict` as this may prevent error-prone usage of the return value. Previous behavior allowed accessing missing kmers, returning 0 or 0.0 depending on the `relative` parameter. This is convenient in many cases but also potentially misleading. For example, consider the following code:
|
|
507
|
+
|
|
508
|
+
```python
|
|
509
|
+
from skbio import Sequence
|
|
510
|
+
seq = Sequence('ACCGAGTTTAACCGAATA')
|
|
511
|
+
freqs = seq.kmer_frequencies(k=8)
|
|
512
|
+
freqs['ACCGA']
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
Previous behavior would return 0 because the kmer `'ACCGA'` is not present in the `Counter`. In one respect this is the correct answer because we asked for kmers of length 8; `'ACCGA'` is a different length so it is not included in the results. However, we believe it is safer to avoid this implicit behavior in case the user assumes there are no `'ACCGA'` kmers in the sequence (which there are!). A `KeyError` in this case is more explicit and forces the user to consider their query. Returning a `dict` will also be consistent with `Sequence.frequencies`.
|
|
516
|
+
|
|
517
|
+
### Backward-incompatible changes [experimental]
|
|
518
|
+
* Replaced ``PCoA``, ``CCA``, ``CA`` and ``RDA`` in ``skbio.stats.ordination`` with equivalent functions ``pcoa``, ``cca``, ``ca`` and ``rda``. These functions now take ``pd.DataFrame`` objects.
|
|
519
|
+
* Change ``OrdinationResults`` to have its attributes based on ``pd.DataFrame`` and ``pd.Series`` objects, instead of pairs of identifiers and values. The changes are as follows:
|
|
520
|
+
- ``species`` and ``species_ids`` have been replaced by a ``pd.DataFrame`` named ``features``.
|
|
521
|
+
- ``site`` and ``site_ids`` have been replaced by a ``pd.DataFrame`` named ``samples``.
|
|
522
|
+
- ``eigvals`` is now a ``pd.Series`` object.
|
|
523
|
+
- ``proportion_explained`` is now a ``pd.Series`` object.
|
|
524
|
+
- ``biplot`` is now a ``pd.DataFrame`` object named ``biplot_scores``.
|
|
525
|
+
- ``site_constraints`` is now a ``pd.DataFrame`` object named ``sample_constraints``.
|
|
526
|
+
* ``short_method_name`` and ``long_method_name`` are now required arguments of the ``OrdinationResults`` object.
|
|
527
|
+
* Removed `skbio.diversity.alpha.equitability`. Please use `skbio.diversity.alpha.pielou_e`, which is more accurately named and better documented. Note that `equitability` by default used logarithm base 2 while `pielou_e` uses logarithm base `e` as described in Heip 1974.
|
|
528
|
+
* ``skbio.diversity.beta.pw_distances`` is now called ``skbio.diversity.beta_diversity``. This function no longer defines a default metric, and ``metric`` is now the first argument to this function. This function can also now take a pairwise distances function as ``pairwise_func``.
|
|
529
|
+
* Deprecated function ``skbio.diversity.beta.pw_distances_from_table`` has been removed from scikit-bio as scheduled. Code that used this should be adapted to use ``skbio.diversity.beta_diversity``.
|
|
530
|
+
* ``TreeNode.index_tree`` now returns a 2-D numpy array as its second return value (the child node index) instead of a 1-D numpy array.
|
|
531
|
+
* Deprecated functions `skbio.draw.boxplots` and `skbio.draw.grouped_distributions` have been removed from scikit-bio as scheduled. These functions generated plots that were not specific to bioinformatics. These types of plots can be generated with seaborn or another general-purpose plotting package.
|
|
532
|
+
* Deprecated function `skbio.stats.power.bootstrap_power_curve` has been removed from scikit-bio as scheduled. Use `skbio.stats.power.subsample_power` or `skbio.stats.power.subsample_paired_power` followed by `skbio.stats.power.confidence_bound`.
|
|
533
|
+
* Deprecated function `skbio.stats.spatial.procrustes` has been removed from scikit-bio as scheduled in favor of `scipy.spatial.procrustes`.
|
|
534
|
+
* Deprecated class `skbio.tree.CompressedTrie` and function `skbio.tree.fasta_to_pairlist` have been removed from scikit-bio as scheduled in favor of existing general-purpose Python trie packages.
|
|
535
|
+
* Deprecated function `skbio.util.flatten` has been removed from scikit-bio as scheduled in favor of solutions available in the Python standard library (see [here](http://stackoverflow.com/a/952952/3639023) and [here](http://stackoverflow.com/a/406199/3639023) for examples).
|
|
536
|
+
* Pairwise alignment functions in `skbio.alignment` now return a tuple containing the `TabularMSA` alignment, alignment score, and start/end positions. The returned `TabularMSA`'s `index` is always the default integer index; sequence IDs are no longer propagated to the MSA. Additionally, the pairwise alignment functions now accept the following input types to align:
|
|
537
|
+
- `local_pairwise_align_nucleotide`: `DNA` or `RNA`
|
|
538
|
+
- `local_pairwise_align_protein`: `Protein`
|
|
539
|
+
- `local_pairwise_align`: `IUPACSequence`
|
|
540
|
+
- `global_pairwise_align_nucleotide`: `DNA`, `RNA`, or `TabularMSA[DNA|RNA]`
|
|
541
|
+
- `global_pairwise_align_protein`: `Protein` or `TabularMSA[Protein]`
|
|
542
|
+
- `global_pairwise_align`: `IUPACSequence` or `TabularMSA`
|
|
543
|
+
- `local_pairwise_align_ssw`: `DNA`, `RNA`, or `Protein`. Additionally, this function now overrides the `protein` kwarg based on input type. `constructor` parameter was removed because the function now determines the return type based on input type.
|
|
544
|
+
* Removed `skbio.alignment.SequenceCollection` in favor of using a list or other standard library containers to store scikit-bio sequence objects (most `SequenceCollection` operations were simple list comprehensions). Use `DistanceMatrix.from_iterable` instead of `SequenceCollection.distances` (pass `key="id"` to exactly match original behavior).
|
|
545
|
+
* Removed `skbio.alignment.Alignment` in favor of `skbio.alignment.TabularMSA`.
|
|
546
|
+
* Removed `skbio.alignment.SequenceCollectionError` and `skbio.alignment.AlignmentError` exceptions as their corresponding classes no longer exist.
|
|
547
|
+
|
|
548
|
+
### Bug Fixes
|
|
549
|
+
|
|
550
|
+
* ``Sequence`` objects now handle slicing of empty positional metadata correctly. Any metadata that is empty will no longer be propagated by the internal ``_to`` constructor. ([#1133](https://github.com/scikit-bio/scikit-bio/issues/1133))
|
|
551
|
+
* ``DissimilarityMatrix.plot()`` no longer leaves a white border around the
|
|
552
|
+
heatmap it plots (PR #1070).
|
|
553
|
+
* TreeNode.root_at_midpoint`` no longer fails when a node with two equal length child branches exists in the tree. ([#1077](https://github.com/scikit-bio/scikit-bio/issues/1077))
|
|
554
|
+
* ``TreeNode._set_max_distance``, as called through ``TreeNode.get_max_distance`` or ``TreeNode.root_at_midpoint`` would store distance information as ``list``s in the attribute ``MaxDistTips`` on each node in the tree, however, these distances were only valid for the node in which the call to ``_set_max_distance`` was made. The values contained in ``MaxDistTips`` are now correct across the tree following a call to ``get_max_distance``. The scope of impact of this bug is limited to users that were interacting directly with ``MaxDistTips`` on descendant nodes; this bug does not impact any known method within scikit-bio. ([#1223](https://github.com/scikit-bio/scikit-bio/issues/1223))
|
|
555
|
+
* Added missing `nose` dependency to setup.py's `install_requires`. ([#1214](https://github.com/scikit-bio/scikit-bio/issues/1214))
|
|
556
|
+
* Fixed issue that resulted in legends of ``OrdinationResult`` plots sometimes being truncated. ([#1210](https://github.com/scikit-bio/scikit-bio/issues/1210))
|
|
557
|
+
|
|
558
|
+
### Deprecated functionality [stable]
|
|
559
|
+
* `skbio.Sequence.copy` has been deprecated in favor of `copy.copy(seq)` and `copy.deepcopy(seq)`.
|
|
560
|
+
|
|
561
|
+
### Miscellaneous
|
|
562
|
+
* Doctests are now written in Python 3.
|
|
563
|
+
* ``make test`` now validates MANIFEST.in using [check-manifest](https://github.com/mgedmin/check-manifest). ([#461](https://github.com/scikit-bio/scikit-bio/issues/461))
|
|
564
|
+
* Many new alpha diversity equations added to ``skbio.diversity.alpha`` documentation. ([#321](https://github.com/scikit-bio/scikit-bio/issues/321))
|
|
565
|
+
* Order of ``lowercase`` and ``validate`` keywords swapped in ``DNA``, ``RNA``, and ``Protein``.
|
|
566
|
+
|
|
567
|
+
## Version 0.4.0 (2015-07-08)
|
|
568
|
+
|
|
569
|
+
Initial beta release. In addition to the changes detailed below, the following
|
|
570
|
+
subpackages have been mostly or entirely rewritten and most of their APIs are
|
|
571
|
+
substantially different (and improved!):
|
|
572
|
+
|
|
573
|
+
* `skbio.sequence`
|
|
574
|
+
* `skbio.io`
|
|
575
|
+
|
|
576
|
+
The APIs of these subpackages are now stable, and all others are experimental. See the [API stability docs](https://github.com/scikit-bio/scikit-bio/tree/0.4.0/doc/source/user/api_stability.rst) for more details, including what we mean by *stable* and *experimental* in this context. We recognize that this is a lot of backward-incompatible changes. To avoid these types of changes being a surprise to our users, our public APIs are now decorated to make it clear to developers when an API can be relied upon (stable) and when it may be subject to change (experimental).
|
|
577
|
+
|
|
578
|
+
### Features
|
|
579
|
+
* Added `skbio.stats.composition` for analyzing data made up of proportions
|
|
580
|
+
* Added new ``skbio.stats.evolve`` subpackage for evolutionary statistics. Currently contains a single function, ``hommola_cospeciation``, which implements a permutation-based test of correlation between two distance matrices.
|
|
581
|
+
* Added support for ``skbio.io.util.open_file`` and ``skbio.io.util.open_files`` to pull files from HTTP and HTTPS URLs. This behavior propagates to the I/O registry.
|
|
582
|
+
* FASTA/QUAL (``skbio.io.format.fasta``) and FASTQ (``skbio.io.format.fastq``) readers now allow blank or whitespace-only lines at the beginning of the file, between records, or at the end of the file. A blank or whitespace-only line in any other location will continue to raise an error [#781](https://github.com/scikit-bio/scikit-bio/issues/781).
|
|
583
|
+
* scikit-bio now ignores leading and trailing whitespace characters on each line while reading FASTA/QUAL and FASTQ files.
|
|
584
|
+
* Added `ratio` parameter to `skbio.stats.power.subsample_power`. This allows the user to calculate power on groups for uneven size (For example, draw twice as many samples from Group B than Group A). If `ratio` is not set, group sizes will remain equal across all groups.
|
|
585
|
+
* Power calculations (`skbio.stats.power.subsample_power` and `skbio.stats.power.subsample_paired_power`) can use test functions that return multiple p values, like some multivariate linear regression models. Previously, the power calculations required the test to return a single p value.
|
|
586
|
+
* Added ``skbio.util.assert_data_frame_almost_equal`` function for comparing ``pd.DataFrame`` objects in unit tests.
|
|
587
|
+
|
|
588
|
+
### Performance enhancements
|
|
589
|
+
* The speed of quality score decoding has been significantly improved (~2x) when reading `fastq` files.
|
|
590
|
+
* The speed of `NucleotideSequence.reverse_complement` has been improved (~6x).
|
|
591
|
+
|
|
592
|
+
### Bug fixes
|
|
593
|
+
* Changed `Sequence.distance` to raise an error any time two sequences are passed of different lengths regardless of the `distance_fn` being passed. [(#514)](https://github.com/scikit-bio/scikit-bio/issues/514)
|
|
594
|
+
* Fixed issue with ``TreeNode.extend`` where if given the children of another ``TreeNode`` object (``tree.children``), both trees would be left in an incorrect and unpredictable state. ([#889](https://github.com/scikit-bio/scikit-bio/issues/889))
|
|
595
|
+
* Changed the way power was calculated in `subsample_paired_power` to move the subsample selection before the test is performed. This increases the number of Monte Carlo simulations performed during power estimation, and improves the accuracy of the returned estimate. Previous power estimates from `subsample_paired_power` should be disregarded and re-calculated. ([#910](https://github.com/scikit-bio/scikit-bio/issues/910))
|
|
596
|
+
* Fixed issue where `randdm` was attempting to create asymmetric distance matrices.This was causing an error to be raised by the `DistanceMatrix` constructor inside of the `randdm` function, so that `randdm` would fail when attempting to create large distance matrices. ([#943](https://github.com/scikit-bio/scikit-bio/issues/943))
|
|
597
|
+
|
|
598
|
+
### Deprecated functionality
|
|
599
|
+
* Deprecated `skbio.util.flatten`. This function will be removed in scikit-bio 0.3.1. Please use standard python library functionality
|
|
600
|
+
described here [Making a flat list out of lists of lists](http://stackoverflow.com/a/952952/3639023), [Flattening a shallow list](http://stackoverflow.com/a/406199/3639023) ([#833](https://github.com/scikit-bio/scikit-bio/issues/833))
|
|
601
|
+
* Deprecated `skbio.stats.power.bootstrap_power_curve` will be removed in scikit-bio 0.4.1. It is deprecated in favor of using ``subsample_power`` or ``sample_paired_power`` to calculate a power matrix, and then the use of ``confidence_bounds`` to calculate the average and confidence intervals.
|
|
602
|
+
|
|
603
|
+
### Backward-incompatible changes
|
|
604
|
+
* Removed the following deprecated functionality:
|
|
605
|
+
- `skbio.parse` subpackage, including `SequenceIterator`, `FastaIterator`, `FastqIterator`, `load`, `parse_fasta`, `parse_fastq`, `parse_qual`, `write_clustal`, `parse_clustal`, and `FastqParseError`; please use `skbio.io` instead.
|
|
606
|
+
- `skbio.format` subpackage, including `fasta_from_sequence`, `fasta_from_alignment`, and `format_fastq_record`; please use `skbio.io` instead.
|
|
607
|
+
- `skbio.alignment.SequenceCollection.int_map`; please use `SequenceCollection.update_ids` instead.
|
|
608
|
+
- `skbio.alignment.SequenceCollection` methods `to_fasta` and `toFasta`; please use `SequenceCollection.write` instead.
|
|
609
|
+
- `constructor` parameter in `skbio.alignment.Alignment.majority_consensus`; please convert returned biological sequence object manually as desired (e.g., `str(seq)`).
|
|
610
|
+
- `skbio.alignment.Alignment.to_phylip`; please use `Alignment.write` instead.
|
|
611
|
+
- `skbio.sequence.BiologicalSequence.to_fasta`; please use `BiologicalSequence.write` instead.
|
|
612
|
+
- `skbio.tree.TreeNode` methods `from_newick`, `from_file`, and `to_newick`; please use `TreeNode.read` and `TreeNode.write` instead.
|
|
613
|
+
- `skbio.stats.distance.DissimilarityMatrix` methods `from_file` and `to_file`; please use `DissimilarityMatrix.read` and `DissimilarityMatrix.write` instead.
|
|
614
|
+
- `skbio.stats.ordination.OrdinationResults` methods `from_file` and `to_file`; please use `OrdinationResults.read` and `OrdinationResults.write` instead.
|
|
615
|
+
- `skbio.stats.p_value_to_str`; there is no replacement.
|
|
616
|
+
- `skbio.stats.subsample`; please use `skbio.stats.subsample_counts` instead.
|
|
617
|
+
- `skbio.stats.distance.ANOSIM`; please use `skbio.stats.distance.anosim` instead.
|
|
618
|
+
- `skbio.stats.distance.PERMANOVA`; please use `skbio.stats.distance.permanova` instead.
|
|
619
|
+
- `skbio.stats.distance.CategoricalStatsResults`; there is no replacement, please use `skbio.stats.distance.anosim` or `skbio.stats.distance.permanova`, which will return a `pandas.Series` object.
|
|
620
|
+
* `skbio.alignment.Alignment.majority_consensus` now returns `BiologicalSequence('')` if the alignment is empty. Previously, `''` was returned.
|
|
621
|
+
* `min_observations` was removed from `skbio.stats.power.subsample_power` and `skbio.stats.power.subsample_paired_power`. The minimum number of samples for subsampling depends on the data set and statistical tests. Having a default parameter to set unnecessary limitations on the technique.
|
|
622
|
+
|
|
623
|
+
### Miscellaneous
|
|
624
|
+
* Changed testing procedures
|
|
625
|
+
- Developers should now use `make test`
|
|
626
|
+
- Users can use `python -m skbio.test`
|
|
627
|
+
- Added `skbio.util._testing.TestRunner` (available through `skbio.util.TestRunner`). Used to provide a `test` method for each module init file. This class represents a unified testing path which wraps all `skbio` testing functionality.
|
|
628
|
+
- Autodetect Python version and disable doctests for Python 3.
|
|
629
|
+
* `numpy` is no longer required to be installed before installing scikit-bio!
|
|
630
|
+
* Upgraded checklist.py to check source files non-conforming to [new header style](http://scikit-bio.org/docs/latest/development/new_module.html). ([#855](https://github.com/scikit-bio/scikit-bio/issues/855))
|
|
631
|
+
* Updated to use `natsort` >= 4.0.0.
|
|
632
|
+
* The method of subsampling was changed for ``skbio.stats.power.subsample_paired_power``. Rather than drawing a paired sample for the run and then subsampling for each count, the subsample is now drawn for each sample and each run. In test data, this did not significantly alter the power results.
|
|
633
|
+
* checklist.py now enforces `__future__` imports in .py files.
|
|
634
|
+
|
|
635
|
+
## Version 0.2.3 (2015-02-13)
|
|
636
|
+
|
|
637
|
+
### Features
|
|
638
|
+
* Modified ``skbio.stats.distance.pwmantel`` to accept a list of filepaths. This is useful as it allows for a smaller amount of memory consumption as it only loads two matrices at a time as opposed to requiring that all distance matrices are loaded into memory.
|
|
639
|
+
* Added ``skbio.util.find_duplicates`` for finding duplicate elements in an iterable.
|
|
640
|
+
|
|
641
|
+
### Bug fixes
|
|
642
|
+
* Fixed floating point precision bugs in ``Alignment.position_frequencies``, ``Alignment.position_entropies``, ``Alignment.omit_gap_positions``, ``Alignment.omit_gap_sequences``, ``BiologicalSequence.k_word_frequencies``, and ``SequenceCollection.k_word_frequencies`` ([#801](https://github.com/scikit-bio/scikit-bio/issues/801)).
|
|
643
|
+
|
|
644
|
+
### Backward-incompatible changes
|
|
645
|
+
* Removed ``feature_types`` attribute from ``BiologicalSequence`` and all subclasses ([#797](https://github.com/scikit-bio/scikit-bio/pull/797)).
|
|
646
|
+
* Removed ``find_features`` method from ``BiologicalSequence`` and ``ProteinSequence`` ([#797](https://github.com/scikit-bio/scikit-bio/pull/797)).
|
|
647
|
+
* ``BiologicalSequence.k_word_frequencies`` now returns a ``collections.defaultdict`` of type ``float`` instead of type ``int``. This only affects the "default" case, when a key isn't present in the dictionary. Previous behavior would return ``0`` as an ``int``, while the new behavior is to return ``0.0`` as a ``float``. This change also affects the ``defaultdict``s that are returned by ``SequenceCollection.k_word_frequencies``.
|
|
648
|
+
|
|
649
|
+
### Miscellaneous
|
|
650
|
+
* ``DissimilarityMatrix`` and ``DistanceMatrix`` now report duplicate IDs in the ``DissimilarityMatrixError`` message that can be raised during validation.
|
|
651
|
+
|
|
652
|
+
## Version 0.2.2 (2014-12-04)
|
|
653
|
+
|
|
654
|
+
### Features
|
|
655
|
+
* Added ``plot`` method to ``skbio.stats.distance.DissimilarityMatrix`` for creating basic heatmaps of a dissimilarity/distance matrix (see [#684](https://github.com/scikit-bio/scikit-bio/issues/684)). Also added ``_repr_png_`` and ``_repr_svg_`` methods for automatic display in the IPython Notebook, with ``png`` and ``svg`` properties for direct access.
|
|
656
|
+
* Added `__str__` method to `skbio.stats.ordination.OrdinationResults`.
|
|
657
|
+
* Added ``skbio.stats.distance.anosim`` and ``skbio.stats.distance.permanova`` functions, which replace the ``skbio.stats.distance.ANOSIM`` and ``skbio.stats.distance.PERMANOVA`` classes. These new functions provide simpler procedural interfaces to running these statistical methods. They also provide more convenient access to results by returning a ``pandas.Series`` instead of a ``CategoricalStatsResults`` object. These functions have more extensive documentation than their previous versions. If significance tests are suppressed, p-values are returned as ``np.nan`` instead of ``None`` for consistency with other statistical methods in scikit-bio. [#754](https://github.com/scikit-bio/scikit-bio/issues/754)
|
|
658
|
+
* Added `skbio.stats.power` for performing empirical power analysis. The module uses existing datasets and iteratively draws samples to estimate the number of samples needed to see a significant difference for a given critical value.
|
|
659
|
+
* Added `skbio.stats.isubsample` for subsampling from an unknown number of values. This method supports subsampling from multiple partitions and does not require that all items be stored in memory, requiring approximately `O(N*M)`` space where `N` is the number of partitions and `M` is the maximum subsample size.
|
|
660
|
+
* Added ``skbio.stats.subsample_counts``, which replaces ``skbio.stats.subsample``. See deprecation section below for more details ([#770](https://github.com/scikit-bio/scikit-bio/issues/770)).
|
|
661
|
+
|
|
662
|
+
### Bug fixes
|
|
663
|
+
* Fixed issue where SSW wouldn't compile on i686 architectures ([#409](https://github.com/scikit-bio/scikit-bio/issues/409)).
|
|
664
|
+
|
|
665
|
+
### Deprecated functionality
|
|
666
|
+
* Deprecated ``skbio.stats.p_value_to_str``. This function will be removed in scikit-bio 0.3.0. Permutation-based p-values in scikit-bio are calculated as ``(num_extreme + 1) / (num_permutations + 1)``, so it is impossible to obtain a p-value of zero. This function historically existed for correcting the number of digits displayed when obtaining a p-value of zero. Since this is no longer possible, this functionality will be removed.
|
|
667
|
+
* Deprecated ``skbio.stats.distance.ANOSIM`` and ``skbio.stats.distance.PERMANOVA`` in favor of ``skbio.stats.distance.anosim`` and ``skbio.stats.distance.permanova``, respectively.
|
|
668
|
+
* Deprecated ``skbio.stats.distance.CategoricalStatsResults`` in favor of using ``pandas.Series`` to store statistical method results. ``anosim`` and ``permanova`` return ``pandas.Series`` instead of ``CategoricalStatsResults``.
|
|
669
|
+
* Deprecated ``skbio.stats.subsample`` in favor of ``skbio.stats.subsample_counts``, which provides an identical interface; only the function name has changed. ``skbio.stats.subsample`` will be removed in scikit-bio 0.3.0.
|
|
670
|
+
|
|
671
|
+
### Backward-incompatible changes
|
|
672
|
+
* Deprecation warnings are now raised using ``DeprecationWarning`` instead of ``UserWarning`` ([#774](https://github.com/scikit-bio/scikit-bio/issues/774)).
|
|
673
|
+
|
|
674
|
+
### Miscellaneous
|
|
675
|
+
* The ``pandas.DataFrame`` returned by ``skbio.stats.distance.pwmantel`` now stores p-values as floats and does not convert them to strings with a specific number of digits. p-values that were previously stored as "N/A" are now stored as ``np.nan`` for consistency with other statistical methods in scikit-bio. See note in "Deprecated functionality" above regarding ``p_value_to_str`` for details.
|
|
676
|
+
* scikit-bio now supports versions of IPython < 2.0.0 ([#767](https://github.com/scikit-bio/scikit-bio/issues/767)).
|
|
677
|
+
|
|
678
|
+
## Version 0.2.1 (2014-10-27)
|
|
679
|
+
|
|
680
|
+
This is an alpha release of scikit-bio. At this stage, major backwards-incompatible API changes can and will happen. Unified I/O with the scikit-bio I/O registry was the focus of this release.
|
|
681
|
+
|
|
682
|
+
### Features
|
|
683
|
+
* Added ``strict`` and ``lookup`` optional parameters to ``skbio.stats.distance.mantel`` for handling reordering and matching of IDs when provided ``DistanceMatrix`` instances as input (these parameters were previously only available in ``skbio.stats.distance.pwmantel``).
|
|
684
|
+
* ``skbio.stats.distance.pwmantel`` now accepts an iterable of ``array_like`` objects. Previously, only ``DistanceMatrix`` instances were allowed.
|
|
685
|
+
* Added ``plot`` method to ``skbio.stats.ordination.OrdinationResults`` for creating basic 3-D matplotlib scatterplots of ordination results, optionally colored by metadata in a ``pandas.DataFrame`` (see [#518](https://github.com/scikit-bio/scikit-bio/issues/518)). Also added ``_repr_png_`` and ``_repr_svg_`` methods for automatic display in the IPython Notebook, with ``png`` and ``svg`` properties for direct access.
|
|
686
|
+
* Added ``skbio.stats.ordination.assert_ordination_results_equal`` for comparing ``OrdinationResults`` objects for equality in unit tests.
|
|
687
|
+
* ``BiologicalSequence`` (and its subclasses) now optionally store Phred quality scores. A biological sequence's quality scores are stored as a 1-D ``numpy.ndarray`` of nonnegative integers that is the same length as the biological sequence. Quality scores can be provided upon object instantiation via the keyword argument ``quality``, and can be retrieved via the ``BiologicalSequence.quality`` property. ``BiologicalSequence.has_quality`` is also provided for determining whether a biological sequence has quality scores or not. See [#616](https://github.com/scikit-bio/scikit-bio/issues/616) for more details.
|
|
688
|
+
* Added ``BiologicalSequence.sequence`` property for retrieving the underlying string representing the sequence characters. This was previously (and still is) accessible via ``BiologicalSequence.__str__``. It is provided via a property for convenience and explicitness.
|
|
689
|
+
* Added ``BiologicalSequence.equals`` for full control over equality testing of biological sequences. By default, biological sequences must have the same type, underlying sequence of characters, identifier, description, and quality scores to compare equal. These properties can be ignored via the keyword argument ``ignore``. The behavior of ``BiologicalSequence.__eq__``/``__ne__`` remains unchanged (only type and underlying sequence of characters are compared).
|
|
690
|
+
* Added ``BiologicalSequence.copy`` for creating a copy of a biological sequence, optionally with one or more attributes updated.
|
|
691
|
+
* ``BiologicalSequence.__getitem__`` now supports specifying a sequence of indices to take from the biological sequence.
|
|
692
|
+
* Methods to read and write taxonomies are now available under ``skbio.tree.TreeNode.from_taxonomy`` and ``skbio.tree.TreeNode.to_taxonomy`` respectively.
|
|
693
|
+
* Added ``SequenceCollection.update_ids``, which provides a flexible way of updating sequence IDs on a ``SequenceCollection`` or ``Alignment`` (note that a new object is returned, since instances of these classes are immutable). Deprecated ``SequenceCollection.int_map`` in favor of this new method; it will be removed in scikit-bio 0.3.0.
|
|
694
|
+
* Added ``skbio.util.cardinal_to_ordinal`` for converting a cardinal number to ordinal string (e.g., useful for error messages).
|
|
695
|
+
* New I/O Registry: supports multiple file formats, automatic file format detection when reading, unified procedural ``skbio.io.read`` and ``skbio.io.write`` in addition to OOP interfaces (``read/write`` methods) on the below objects. See ``skbio.io`` for more details.
|
|
696
|
+
- Added "clustal" format support:
|
|
697
|
+
* Has sniffer
|
|
698
|
+
* Readers: ``Alignment``
|
|
699
|
+
* Writers: ``Alignment``
|
|
700
|
+
- Added "lsmat" format support:
|
|
701
|
+
* Has sniffer
|
|
702
|
+
* Readers: ``DissimilarityMatrix``, ``DistanceMatrix``
|
|
703
|
+
* Writers: ``DissimilarityMatrix``, ``DistanceMatrix``
|
|
704
|
+
- Added "ordination" format support:
|
|
705
|
+
* Has sniffer
|
|
706
|
+
* Readers: ``OrdinationResults``
|
|
707
|
+
* Writers: ``OrdinationResults``
|
|
708
|
+
- Added "newick" format support:
|
|
709
|
+
* Has sniffer
|
|
710
|
+
* Readers: ``TreeNode``
|
|
711
|
+
* Writers: ``TreeNode``
|
|
712
|
+
- Added "phylip" format support:
|
|
713
|
+
* No sniffer
|
|
714
|
+
* Readers: None
|
|
715
|
+
* Writers: ``Alignment``
|
|
716
|
+
- Added "qseq" format support:
|
|
717
|
+
* Has sniffer
|
|
718
|
+
* Readers: generator of ``BiologicalSequence`` or its subclasses, ``SequenceCollection``, ``BiologicalSequence``, ``NucleotideSequence``, ``DNASequence``, ``RNASequence``, ``ProteinSequence``
|
|
719
|
+
* Writers: None
|
|
720
|
+
- Added "fasta"/QUAL format support:
|
|
721
|
+
* Has sniffer
|
|
722
|
+
* Readers: generator of ``BiologicalSequence`` or its subclasses, ``SequenceCollection``, ``Alignment``, ``BiologicalSequence``, ``NucleotideSequence``, ``DNASequence``, ``RNASequence``, ``ProteinSequence``
|
|
723
|
+
* Writers: same as readers
|
|
724
|
+
- Added "fastq" format support:
|
|
725
|
+
* Has sniffer
|
|
726
|
+
* Readers: generator of ``BiologicalSequence`` or its subclasses, ``SequenceCollection``, ``Alignment``, ``BiologicalSequence``, ``NucleotideSequence``, ``DNASequence``, ``RNASequence``, ``ProteinSequence``
|
|
727
|
+
* Writers: same as readers
|
|
728
|
+
|
|
729
|
+
### Bug fixes
|
|
730
|
+
|
|
731
|
+
* Removed ``constructor`` parameter from ``Alignment.k_word_frequencies``, ``BiologicalSequence.k_words``, ``BiologicalSequence.k_word_counts``, and ``BiologicalSequence.k_word_frequencies`` as it had no effect (it was never hooked up in the underlying code). ``BiologicalSequence.k_words`` now returns a generator of ``BiologicalSequence`` objects instead of strings.
|
|
732
|
+
* Modified the ``Alignment`` constructor to verify that all sequences have the same length, if not, raise an ``AlignmentError`` exception. Updated the method ``Alignment.subalignment`` to calculate the indices only once now that identical sequence length is guaranteed.
|
|
733
|
+
|
|
734
|
+
### Deprecated functionality
|
|
735
|
+
* Deprecated ``constructor`` parameter in ``Alignment.majority_consensus`` in favor of having users call ``str`` on the returned ``BiologicalSequence``. This parameter will be removed in scikit-bio 0.3.0.
|
|
736
|
+
|
|
737
|
+
* Existing I/O functionality deprecated in favor of I/O registry, old functionality will be removed in scikit-bio 0.3.0. All functionality can be found at ``skbio.io.read``, ``skbio.io.write``, and the methods listed below:
|
|
738
|
+
* Deprecated the following "clustal" readers/writers:
|
|
739
|
+
- ``write_clustal`` -> ``Alignment.write``
|
|
740
|
+
- ``parse_clustal`` -> ``Alignment.read``
|
|
741
|
+
|
|
742
|
+
* Deprecated the following distance matrix format ("lsmat") readers/writers:
|
|
743
|
+
- ``DissimilarityMatrix.from_file`` -> ``DissimilarityMatrix.read``
|
|
744
|
+
- ``DissimilarityMatrix.to_file`` -> ``DissimilarityMatrix.write``
|
|
745
|
+
- ``DistanceMatrix.from_file`` -> ``DistanceMatrix.read``
|
|
746
|
+
- ``DistanceMatrix.to_file`` -> ``DistanceMatrix.write``
|
|
747
|
+
|
|
748
|
+
* Deprecated the following ordination format ("ordination") readers/writers:
|
|
749
|
+
- ``OrdinationResults.from_file`` -> ``OrdinationResults.read``
|
|
750
|
+
- ``OrdinationResults.to_file`` -> ``OrdinationResults.write``
|
|
751
|
+
|
|
752
|
+
* Deprecated the following "newick" readers/writers:
|
|
753
|
+
- ``TreeNode.from_file`` -> ``TreeNode.read``
|
|
754
|
+
- ``TreeNode.from_newick`` -> ``TreeNode.read``
|
|
755
|
+
- ``TreeNode.to_newick`` -> ``TreeNode.write``
|
|
756
|
+
|
|
757
|
+
* Deprecated the following "phylip" writers:
|
|
758
|
+
- ``Alignment.to_phylip`` -> ``Alignment.write``
|
|
759
|
+
|
|
760
|
+
* Deprecated the following "fasta"/QUAL readers/writers:
|
|
761
|
+
- ``SequenceCollection.from_fasta_records`` -> ``SequenceCollection.read``
|
|
762
|
+
- ``SequenceCollection.to_fasta`` -> ``SequenceCollection.write``
|
|
763
|
+
- ``fasta_from_sequences`` -> ``skbio.io.write(obj, into=<file>, format='fasta')``
|
|
764
|
+
- ``fasta_from_alignment`` -> ``Alignment.write``
|
|
765
|
+
- ``parse_fasta`` -> ``skbio.io.read(<fasta>, format='fasta')``
|
|
766
|
+
- ``parse_qual`` -> ``skbio.io.read(<fasta>, format='fasta', qual=<file>)``
|
|
767
|
+
- ``BiologicalSequence.to_fasta`` -> ``BiologicalSequence.write``
|
|
768
|
+
|
|
769
|
+
* Deprecated the following "fastq" readers/writers:
|
|
770
|
+
- ``parse_fastq`` -> ``skbio.io.read(<fastq>, format='fastq')``
|
|
771
|
+
- ``format_fastq_record`` -> ``skbio.io.write(<fastq>, format='fastq')``
|
|
772
|
+
|
|
773
|
+
### Backward-incompatible changes
|
|
774
|
+
|
|
775
|
+
* ``skbio.stats.distance.mantel`` now returns a 3-element tuple containing correlation coefficient, p-value, and the number of matching rows/cols in the distance matrices (``n``). The return value was previously a 2-element tuple containing only the correlation coefficient and p-value.
|
|
776
|
+
* ``skbio.stats.distance.mantel`` reorders input ``DistanceMatrix`` instances based on matching IDs (see optional parameters ``strict`` and ``lookup`` for controlling this behavior). In the past, ``DistanceMatrix`` instances were treated the same as ``array_like`` input and no reordering took place, regardless of ID (mis)matches. ``array_like`` input behavior remains the same.
|
|
777
|
+
* If mismatched types are provided to ``skbio.stats.distance.mantel`` (e.g., a ``DistanceMatrix`` and ``array_like``), a ``TypeError`` will be raised.
|
|
778
|
+
|
|
779
|
+
### Miscellaneous
|
|
780
|
+
|
|
781
|
+
* Added git timestamp checking to checklist.py, ensuring that when changes are made to Cython (.pyx) files, their corresponding generated C files are also updated.
|
|
782
|
+
* Fixed performance bug when instantiating ``BiologicalSequence`` objects. The previous runtime scaled linearly with sequence length; it is now constant time when the sequence is already a string. See [#623](https://github.com/scikit-bio/scikit-bio/issues/623) for details.
|
|
783
|
+
* IPython and six are now required dependencies.
|
|
784
|
+
|
|
785
|
+
## Version 0.2.0 (2014-08-07)
|
|
786
|
+
|
|
787
|
+
This is an initial alpha release of scikit-bio. At this stage, major backwards-incompatible API changes can and will happen. Many backwards-incompatible API changes were made since the previous release.
|
|
788
|
+
|
|
789
|
+
### Features
|
|
790
|
+
|
|
791
|
+
* Added ability to compute distances between sequences in a ``SequenceCollection`` object ([#509](https://github.com/scikit-bio/scikit-bio/issues/509)), and expanded ``Alignment.distance`` to allow the user to pass a function for computing distances (the default distance metric is still ``scipy.spatial.distance.hamming``) ([#194](https://github.com/scikit-bio/scikit-bio/issues/194)).
|
|
792
|
+
* Added functionality to not penalize terminal gaps in global alignment. This functionality results in more biologically relevant global alignments (see [#537](https://github.com/scikit-bio/scikit-bio/issues/537) for discussion of the issue) and is now the default behavior for global alignment.
|
|
793
|
+
* The python global aligners (``global_pairwise_align``, ``global_pairwise_align_nucleotide``, and ``global_pairwise_align_protein``) now support aligning pairs of sequences, pairs of alignments, and a sequence and an alignment (see [#550](https://github.com/scikit-bio/scikit-bio/issues/550)). This functionality supports progressive multiple sequence alignment, among other things such as adding a sequence to an existing alignment.
|
|
794
|
+
* Added ``StockholmAlignment.to_file`` for writing Stockholm-formatted files.
|
|
795
|
+
* Added ``strict=True`` optional parameter to ``DissimilarityMatrix.filter``.
|
|
796
|
+
* Added ``TreeNode.find_all`` for finding all tree nodes that match a given name.
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
### Bug fixes
|
|
800
|
+
|
|
801
|
+
* Fixed bug that resulted in a ``ValueError`` from ``local_align_pairwise_nucleotide`` (see [#504](https://github.com/scikit-bio/scikit-bio/issues/504)) under many circumstances. This would not generate incorrect results, but would cause the code to fail.
|
|
802
|
+
|
|
803
|
+
### Backward-incompatible changes
|
|
804
|
+
|
|
805
|
+
* Removed ``skbio.math``, leaving ``stats`` and ``diversity`` to become top level packages. For example, instead of ``from skbio.math.stats.ordination import PCoA`` you would now import ``from skbio.stats.ordination import PCoA``.
|
|
806
|
+
* The module ``skbio.math.gradient`` as well as the contents of ``skbio.math.subsample`` and ``skbio.math.stats.misc`` are now found in ``skbio.stats``. As an example, to import subsample: ``from skbio.stats import subsample``; to import everything from gradient: ``from skbio.stats.gradient import *``.
|
|
807
|
+
* The contents of ``skbio.math.stats.ordination.utils`` are now in ``skbio.stats.ordination``.
|
|
808
|
+
* Removed ``skbio.app`` subpackage (i.e., the *application controller framework*) as this code has been ported to the standalone [burrito](https://github.com/biocore/burrito) Python package. This code was not specific to bioinformatics and is useful for wrapping command-line applications in general.
|
|
809
|
+
* Removed ``skbio.core``, leaving ``alignment``, ``genetic_code``, ``sequence``, ``tree``, and ``workflow`` to become top level packages. For example, instead of ``from skbio.core.sequence import DNA`` you would now import ``from skbio.sequence import DNA``.
|
|
810
|
+
* Removed ``skbio.util.exception`` and ``skbio.util.warning`` (see [#577](https://github.com/scikit-bio/scikit-bio/issues/577) for the reasoning behind this change). The exceptions/warnings were moved to the following locations:
|
|
811
|
+
- ``FileFormatError``, ``RecordError``, ``FieldError``, and ``EfficiencyWarning`` have been moved to ``skbio.util``
|
|
812
|
+
- ``BiologicalSequenceError`` has been moved to ``skbio.sequence``
|
|
813
|
+
- ``SequenceCollectionError`` and ``StockholmParseError`` have been moved to ``skbio.alignment``
|
|
814
|
+
- ``DissimilarityMatrixError``, ``DistanceMatrixError``, ``DissimilarityMatrixFormatError``, and ``MissingIDError`` have been moved to ``skbio.stats.distance``
|
|
815
|
+
- ``TreeError``, ``NoLengthError``, ``DuplicateNodeError``, ``MissingNodeError``, and ``NoParentError`` have been moved to ``skbio.tree``
|
|
816
|
+
- ``FastqParseError`` has been moved to ``skbio.parse.sequences``
|
|
817
|
+
- ``GeneticCodeError``, ``GeneticCodeInitError``, and ``InvalidCodonError`` have been moved to ``skbio.genetic_code``
|
|
818
|
+
* The contents of ``skbio.genetic_code`` formerly ``skbio.core.genetic_code`` are now in ``skbio.sequence``. The ``GeneticCodes`` dictionary is now a function ``genetic_code``. The functionality is the same, except that because this is now a function rather than a dict, retrieving a genetic code is done using a function call rather than a lookup (so, for example, ``GeneticCodes[2]`` becomes ``genetic_code(2)``.
|
|
819
|
+
* Many submodules have been made private with the intention of simplifying imports for users. See [#562](https://github.com/scikit-bio/scikit-bio/issues/562) for discussion of this change. The following list contains the previous module name and where imports from that module should now come from.
|
|
820
|
+
- ``skbio.alignment.ssw`` to ``skbio.alignment``
|
|
821
|
+
- ``skbio.alignment.alignment`` to ``skbio.alignment``
|
|
822
|
+
- ``skbio.alignment.pairwise`` to ``skbio.alignment``
|
|
823
|
+
- ``skbio.diversity.alpha.base`` to ``skbio.diversity.alpha``
|
|
824
|
+
- ``skbio.diversity.alpha.gini`` to ``skbio.diversity.alpha``
|
|
825
|
+
- ``skbio.diversity.alpha.lladser`` to ``skbio.diversity.alpha``
|
|
826
|
+
- ``skbio.diversity.beta.base`` to ``skbio.diversity.beta``
|
|
827
|
+
- ``skbio.draw.distributions`` to ``skbio.draw``
|
|
828
|
+
- ``skbio.stats.distance.anosim`` to ``skbio.stats.distance``
|
|
829
|
+
- ``skbio.stats.distance.base`` to ``skbio.stats.distance``
|
|
830
|
+
- ``skbio.stats.distance.permanova`` to ``skbio.stats.distance``
|
|
831
|
+
- ``skbio.distance`` to ``skbio.stats.distance``
|
|
832
|
+
- ``skbio.stats.ordination.base`` to ``skbio.stats.ordination``
|
|
833
|
+
- ``skbio.stats.ordination.canonical_correspondence_analysis`` to ``skbio.stats.ordination``
|
|
834
|
+
- ``skbio.stats.ordination.correspondence_analysis`` to ``skbio.stats.ordination``
|
|
835
|
+
- ``skbio.stats.ordination.principal_coordinate_analysis`` to ``skbio.stats.ordination``
|
|
836
|
+
- ``skbio.stats.ordination.redundancy_analysis`` to ``skbio.stats.ordination``
|
|
837
|
+
- ``skbio.tree.tree`` to ``skbio.tree``
|
|
838
|
+
- ``skbio.tree.trie`` to ``skbio.tree``
|
|
839
|
+
- ``skbio.util.misc`` to ``skbio.util``
|
|
840
|
+
- ``skbio.util.testing`` to ``skbio.util``
|
|
841
|
+
- ``skbio.util.exception`` to ``skbio.util``
|
|
842
|
+
- ``skbio.util.warning`` to ``skbio.util``
|
|
843
|
+
* Moved ``skbio.distance`` contents into ``skbio.stats.distance``.
|
|
844
|
+
|
|
845
|
+
### Miscellaneous
|
|
846
|
+
|
|
847
|
+
* Relaxed requirement in ``BiologicalSequence.distance`` that sequences being compared are of equal length. This is relevant for Hamming distance, so the check is still performed in that case, but other distance metrics may not have that requirement. See [#504](https://github.com/scikit-bio/scikit-bio/issues/507)).
|
|
848
|
+
* Renamed ``powertrip.py`` repo-checking script to ``checklist.py`` for clarity.
|
|
849
|
+
* ``checklist.py`` now ensures that all unit tests import from a minimally deep API. For example, it will produce an error if ``skbio.core.distance.DistanceMatrix`` is used over ``skbio.DistanceMatrix``.
|
|
850
|
+
* Extra dimension is no longer calculated in ``skbio.stats.spatial.procrustes``.
|
|
851
|
+
* Expanded documentation in various subpackages.
|
|
852
|
+
* Added new scikit-bio logo. Thanks [Alina Prassas](http://cargocollective.com/alinaprassas)!
|
|
853
|
+
|
|
854
|
+
## Version 0.1.4 (2014-06-25)
|
|
855
|
+
|
|
856
|
+
This is a pre-alpha release. At this stage, major backwards-incompatible API changes can and will happen.
|
|
857
|
+
|
|
858
|
+
### Features
|
|
859
|
+
|
|
860
|
+
* Added Python implementations of Smith-Waterman and Needleman-Wunsch alignment as ``skbio.core.alignment.pairwise.local_pairwise_align`` and ``skbio.core.alignment.pairwise.global_pairwise_align``. These are much slower than native C implementations (e.g., ``skbio.core.alignment.local_pairwise_align_ssw``) and as a result raise an ``EfficencyWarning`` when called, but are included as they serve as useful educational examples as they’re simple to experiment with.
|
|
861
|
+
* Added ``skbio.core.diversity.beta.pw_distances`` and ``skbio.core.diversity.beta.pw_distances_from_table``. These provide convenient access to the ``scipy.spatial.distance.pdist`` *beta diversity* metrics from within scikit-bio. The ``skbio.core.diversity.beta.pw_distances_from_table`` function will only be available temporarily, until the ``biom.table.Table`` object is merged into scikit-bio (see [#489](https://github.com/scikit-bio/scikit-bio/issues/489)), at which point ``skbio.core.diversity.beta.pw_distances`` will be updated to use that.
|
|
862
|
+
* Added ``skbio.core.alignment.StockholmAlignment``, which provides support for parsing [Stockholm-formatted alignment files](http://sonnhammer.sbc.su.se/Stockholm.html) and working with those alignments in the context RNA secondary structural information.
|
|
863
|
+
* Added ``skbio.core.tree.majority_rule`` function for computing consensus trees from a list of trees.
|
|
864
|
+
|
|
865
|
+
### Backward-incompatible changes
|
|
866
|
+
|
|
867
|
+
* Function ``skbio.core.alignment.align_striped_smith_waterman`` renamed to ``local_pairwise_align_ssw`` and now returns an ``Alignment`` object instead of an ``AlignmentStructure``
|
|
868
|
+
* The following keyword-arguments for ``StripedSmithWaterman`` and ``local_pairwise_align_ssw`` have been renamed:
|
|
869
|
+
* ``gap_open`` -> ``gap_open_penalty``
|
|
870
|
+
* ``gap_extend`` -> ``gap_extend_penalty``
|
|
871
|
+
* ``match`` -> ``match_score``
|
|
872
|
+
* ``mismatch`` -> ``mismatch_score``
|
|
873
|
+
* Removed ``skbio.util.sort`` module in favor of [natsort](https://pypi.python.org/pypi/natsort) package.
|
|
874
|
+
|
|
875
|
+
### Miscellaneous
|
|
876
|
+
|
|
877
|
+
* Added powertrip.py script to perform basic sanity-checking of the repo based on recurring issues that weren't being caught until release time; added to Travis build.
|
|
878
|
+
* Added RELEASE.md with release instructions.
|
|
879
|
+
* Added intersphinx mappings to docs so that "See Also" references to numpy, scipy, matplotlib, and pandas are hyperlinks.
|
|
880
|
+
* The following classes are no longer ``namedtuple`` subclasses (see [#359](https://github.com/scikit-bio/scikit-bio/issues/359) for the rationale):
|
|
881
|
+
* ``skbio.math.stats.ordination.OrdinationResults``
|
|
882
|
+
* ``skbio.math.gradient.GroupResults``
|
|
883
|
+
* ``skbio.math.gradient.CategoryResults``
|
|
884
|
+
* ``skbio.math.gradient.GradientANOVAResults``
|
|
885
|
+
* Added coding guidelines draft.
|
|
886
|
+
* Added new alpha diversity formulas to the ``skbio.math.diversity.alpha`` documentation.
|
|
887
|
+
|
|
888
|
+
## Version 0.1.3 (2014-06-12)
|
|
889
|
+
|
|
890
|
+
This is a pre-alpha release. At this stage, major backwards-incompatible API changes can and will happen.
|
|
891
|
+
|
|
892
|
+
### Features
|
|
893
|
+
|
|
894
|
+
* Added ``enforce_qual_range`` parameter to ``parse_fastq`` (on by default, maintaining backward compatibility). This allows disabling of the quality score range-checking.
|
|
895
|
+
* Added ``skbio.core.tree.nj``, which applies neighbor-joining for phylogenetic reconstruction.
|
|
896
|
+
* Added ``bioenv``, ``mantel``, and ``pwmantel`` distance-based statistics to ``skbio.math.stats.distance`` subpackage.
|
|
897
|
+
* Added ``skbio.math.stats.misc`` module for miscellaneous stats utility functions.
|
|
898
|
+
* IDs are now optional when constructing a ``DissimilarityMatrix`` or ``DistanceMatrix`` (monotonically-increasing integers cast as strings are automatically used).
|
|
899
|
+
* Added ``DistanceMatrix.permute`` method for randomly permuting rows and columns of a distance matrix.
|
|
900
|
+
* Added the following methods to ``DissimilarityMatrix``: ``filter``, ``index``, and ``__contains__`` for ID-based filtering, index lookup, and membership testing, respectively.
|
|
901
|
+
* Added ``ignore_comment`` parameter to ``parse_fasta`` (off by default, maintaining backward compatibility). This handles stripping the comment field from the header line (i.e., all characters beginning with the first space) before returning the label.
|
|
902
|
+
* Added imports of ``BiologicalSequence``, ``NucleotideSequence``, ``DNA``, ``DNASequence``, ``RNA``, ``RNASequence``, ``Protein``, ``ProteinSequence``, ``DistanceMatrix``, ``align_striped_smith_waterman``, `` SequenceCollection``, ``Alignment``, ``TreeNode``, ``nj``, ``parse_fasta``, ``parse_fastq``, ``parse_qual``, ``FastaIterator``, ``FastqIterator``, ``SequenceIterator`` in ``skbio/__init__.py`` for convenient importing. For example, it's now possible to ``from skbio import Alignment``, rather than ``from skbio.core.alignment import Alignment``.
|
|
903
|
+
|
|
904
|
+
### Bug fixes
|
|
905
|
+
|
|
906
|
+
* Fixed a couple of unit tests that could fail stochastically.
|
|
907
|
+
* Added missing ``__init__.py`` files to a couple of test directories so that these tests won't be skipped.
|
|
908
|
+
* ``parse_fastq`` now raises an error on dangling records.
|
|
909
|
+
* Fixed several warnings that were raised while running the test suite with Python 3.4.
|
|
910
|
+
|
|
911
|
+
### Backward-incompatible changes
|
|
912
|
+
|
|
913
|
+
* Functionality imported from ``skbio.core.ssw`` must now be imported from ``skbio.core.alignment`` instead.
|
|
914
|
+
|
|
915
|
+
### Miscellaneous
|
|
916
|
+
|
|
917
|
+
* Code is now flake8-compliant; added flake8 checking to Travis build.
|
|
918
|
+
* Various additions and improvements to documentation (API, installation instructions, developer instructions, etc.).
|
|
919
|
+
* ``__future__`` imports are now standardized across the codebase.
|
|
920
|
+
* New website front page and styling changes throughout. Moved docs site to its own versioned subdirectories.
|
|
921
|
+
* Reorganized alignment data structures and algorithms (e.g., SSW code, ``Alignment`` class, etc.) into an ``skbio.core.alignment`` subpackage.
|
|
922
|
+
|
|
923
|
+
## Version 0.1.1 (2014-05-16)
|
|
924
|
+
|
|
925
|
+
Fixes to setup.py. This is a pre-alpha release. At this stage, major backwards-incompatible API changes can and will happen.
|
|
926
|
+
|
|
927
|
+
## Version 0.1.0 (2014-05-15)
|
|
928
|
+
|
|
929
|
+
Initial pre-alpha release. At this stage, major backwards-incompatible API changes can and will happen.
|