{"id":16282305,"url":"https://github.com/zsailer/phylopandas","last_synced_at":"2025-09-25T11:15:24.443Z","repository":{"id":49997664,"uuid":"108174697","full_name":"Zsailer/phylopandas","owner":"Zsailer","description":"Pandas DataFrames for phylogenetics","archived":false,"fork":false,"pushed_at":"2021-06-06T13:21:02.000Z","size":1006,"stargazers_count":74,"open_issues_count":6,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-25T05:31:58.216Z","etag":null,"topics":["biopython","pandas","phylogenetics","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zsailer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-24T19:38:59.000Z","updated_at":"2025-08-18T01:28:57.000Z","dependencies_parsed_at":"2022-09-05T17:50:32.809Z","dependency_job_id":null,"html_url":"https://github.com/Zsailer/phylopandas","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/Zsailer/phylopandas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zsailer%2Fphylopandas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zsailer%2Fphylopandas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zsailer%2Fphylopandas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zsailer%2Fphylopandas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zsailer","download_url":"https://codeload.github.com/Zsailer/phylopandas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zsailer%2Fphylopandas/sbom","scorecard":{"id":157394,"data":{"date":"2025-08-11","repo":{"name":"github.com/Zsailer/phylopandas","commit":"dd2ad86dcea4d7250e8decfef7e7bcd6538ceb35"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 4/18 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2020-73"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T12:13:02.700Z","repository_id":49997664,"created_at":"2025-08-16T12:13:02.700Z","updated_at":"2025-08-16T12:13:02.700Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276905456,"owners_count":25725569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["biopython","pandas","phylogenetics","python"],"created_at":"2024-10-10T19:10:18.945Z","updated_at":"2025-09-25T11:15:24.423Z","avatar_url":"https://github.com/Zsailer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"docs/_logo/banner.png\"\u003e\n\n[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/phylopandas/Lobby)\n[![Documentation Status](http://readthedocs.org/projects/phylopandas/badge/?version=latest)](http://phylopandas.readthedocs.io/en/latest/?badge=latest)\n[![Build Status](https://travis-ci.org/Zsailer/phylopandas.svg?branch=master)](https://travis-ci.org/Zsailer/phylopandas)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Zsailer/phylopandas/master?filepath=examples%2Fintro-notebook.ipynb)\n\n**Bringing the [Pandas](https://github.com/pandas-dev/pandas) `DataFrame` to phylogenetics.**\n\n\nPhyloPandas provides a Pandas-like interface for reading sequence and phylogenetic tree data into pandas DataFrames. This enables easy manipulation of phylogenetic data using familiar Python/Pandas functions. Finally, phylogenetics for humans!\n\n\u003cimg src='docs/_images/jlab.png' align=\"middle\"\u003e\n\n## How does it work?\n\nDon't worry, we didn't reinvent the wheel. **PhyloPandas** is simply a [DataFrame](https://github.com/pandas-dev/pandas)\n(great for human-accessible data storage) interface on top of [Biopython](https://github.com/biopython/biopython) (great for parsing/writing sequence data) and [DendroPy](https://github.com/jeetsukumaran/DendroPy) (great for reading tree data).\n\nPhyloPandas does two things:\n1. It offers new `read` functions to read sequence/tree data directly into a DataFrame.\n2. It attaches a new `phylo` **accessor** to the Pandas DataFrame. This accessor provides writing methods for sequencing/tree data (powered by Biopython and dendropy).\n\n## Basic Usage\n\n**Sequence data:**\n\nRead in a sequence file.\n```python\nimport phylopandas as ph\n\ndf1 = ph.read_fasta('sequences.fasta')\ndf2 = ph.read_phylip('sequences.phy')\n```\n\nWrite to various sequence file formats.\n\n```python\ndf1.phylo.to_clustal('sequences.clustal')\n```\n\nConvert between formats.\n\n```python\n# Read a format.\ndf = ph.read_fasta('sequences.fasta')\n\n# Write to a different format.\ndf.phylo.to_phylip('sequences.phy')\n```\n\n**Tree data:**\n\nRead newick tree data\n```python\ndf = ph.read_newick('tree.newick')\n```\n\nVisualize the phylogenetic data (powered by [phylovega](https://github.com/Zsailer/phylovega)).\n```python\ndf.phylo.display(\n    height=500,\n)\n```\n\n\u003cimg src='docs/_images/tree.png' align=\"middle\" height=\"200\"\u003e\n\n## Contributing\n\nIf you have ideas for the project, please share them on the project's [Gitter chat](https://gitter.im/phylopandas/Lobby).\n\nIt's *easy* to create new read/write functions and methods for PhyloPandas. If you\nhave a format you'd like to add, please submit PRs! There are many more formats\nin Biopython that I haven't had the time to add myself, so please don't be afraid\nto add them! I thank you ahead of time!\n\n## Testing\n\nPhyloPandas includes a small [pytest](https://docs.pytest.org/en/latest/) suite. Run these tests from base directory.\n```\n$ cd phylopandas\n$ pytest\n```\n\n## Install\n\nInstall from PyPI:\n```\npip install phylopandas\n```\n\nInstall from source:\n```\ngit clone https://github.com/Zsailer/phylopandas\ncd phylopandas\npip install -e .\n```\n\n## Dependencies\n\n- [BioPython](https://github.com/biopython/biopython): Library for managing and manipulating biological data.\n- [DendroPy](https://github.com/jeetsukumaran/DendroPy): Library for phylogenetic scripting, simulation, data processing and manipulation\n- [Pandas](https://github.com/pandas-dev/pandas): Flexible and powerful data analysis / manipulation library for Python\n- [pandas_flavor](https://github.com/Zsailer/pandas_flavor): Flavor pandas objects with new accessors using pandas' new register API (with backwards compatibility).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsailer%2Fphylopandas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzsailer%2Fphylopandas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsailer%2Fphylopandas/lists"}