thapbi-pict

Tree Health and Plant Biosecurity Initiative - Phytophthora ITS1 Classifier Tool

https://github.com/peterjc/thapbi-pict

Science Score: 59.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    2 of 5 committers (40.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Tree Health and Plant Biosecurity Initiative - Phytophthora ITS1 Classifier Tool

Basic Info
Statistics
  • Stars: 10
  • Watchers: 2
  • Forks: 2
  • Open Issues: 39
  • Releases: 83
Created over 7 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Zenodo

README.rst

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4529395.svg
   :alt: Zenodo DOI
   :target: https://doi.org/10.5281/zenodo.4529395
.. image:: https://img.shields.io/github/license/peterjc/thapbi-pict.svg?label=License
   :alt: MIT License
   :target: https://github.com/peterjc/thapbi-pict/blob/master/LICENSE.rst
.. image:: https://results.pre-commit.ci/badge/github/peterjc/thapbi-pict/master.svg
   :target: https://results.pre-commit.ci/latest/github/peterjc/thapbi-pict/master
   :alt: pre-commit.ci status
.. image:: https://img.shields.io/circleci/project/github/peterjc/thapbi-pict/master.svg?label=CI&logo=CircleCI
   :alt: CircleCI status
   :target: https://circleci.com/gh/peterjc/thapbi-pict/tree/master
.. image:: https://img.shields.io/appveyor/ci/peterjc/thapbi-pict/master.svg?logo=appveyor
   :alt: AppVeyor status
   :target: https://ci.appveyor.com/project/peterjc/thapbi-pict/history
.. image:: https://img.shields.io/readthedocs/thapbi-pict.svg?label=RTD&logo=read-the-docs
   :alt: Documentation Status
   :target: https://readthedocs.org/projects/thapbi-pict/builds/
.. image:: https://img.shields.io/pypi/v/thapbi_pict.svg?label=PyPI
   :alt: THAPBI PICT on the Python Package Index (PyPI)
   :target: https://pypi.org/project/thapbi-pict/
.. image:: https://img.shields.io/conda/vn/bioconda/thapbi-pict.svg?label=Bioconda
   :alt: THAPBI PICT on BioConda
   :target: https://anaconda.org/bioconda/thapbi-pict
.. image:: https://img.shields.io/badge/Code%20style-black-000000.svg
   :alt: Code style: black
   :target: https://github.com/python/black


THAPBI *Phytophthora* ITS1 Classifier Tool (PICT)
=================================================

About
-----

THAPBI PICT is a sequence based diagnostic/profiling tool from the UK funded
Tree Health and Plant Biosecurity Initiative (THAPBI) `Phyto-Threats project
`_,
initially focused on identifying *Phytophthora* species present in Illumina
sequenced environmental samples.

*Phytophthora* (from Greek meaning plant-destroyer) species are economically
important plant pathogens, in both agriculture and forestry. ITS1 is short for
Internal Transcribed Spacer one, which is a region of eukaryotes genomes
between the 18S and 5.8S rRNA genes. This is commonly used for molecular
barcoding, where sequencing this short region can identify species.

With appropriate primer settings and a custom database of full length markers,
THAPBI PICT can be applied to other organisms and/or barcode marker sequences
- not just *Phytophthora* ITS1. It requires overlapping paired-end Illumina
reads which can be merged to cover the *full* amplicon marker. Longer markers
or fragmented amplicons are not supported. Internally it works by tracking
unique amplicon sequence variants (ASVs), using MD5 checksums as identifiers.

The worked examples include oomycetes, fungi, fish, bats, and plants, and
cover markers in ITS1, ITS2, 12S, 16S, COI, and more. The main criteria has
been mock communities with known species composition.

Installation
------------

We recommend installing this tool on Linux or macOS using the
`Conda `__ packaging system, via the
`BioConda `__ channel, which will handle
*all* the dependencies:

.. code:: console

   $ conda install thapbi-pict

Alternatively or on Windows, since `the software is on the Python Package
Index (PyPI) `__, the following command
will install it along with its Python dependencies:

.. code:: console

   $ pip install thapbi-pict

However, in this case you will still need to install various external command
line tools. See ``INSTALL.rst`` for more details (especially for Windows),
and if you want to modify the software read ``CONTRIBUTING.rst`` as well.

Quick Start
-----------

Once installed, you should be able to run the tool at the command line
using:

.. code:: console

   $ thapbi_pict

This should automatically find the installed copy of the Python code.
Use ``thapbi_pict -v`` to report the version, or ``thapbi_pict -h`` for
help.

Documentation
-------------

The `tool documentation `_ is hosted by
`Read The Docs `_, generated automatically from the
``docs/`` folder.

The documentation includes more detailed discussion of the sample datasets
in the ``examples/`` folder (which are based on published datasets).

Citation
--------

If you use THAPBI PICT in your work, please cite our *PeerJ* paper, and give
details of the version and any non-default settings used in your methods:

    Cock *et al.* (2023) "THAPBI PICT - a fast, cautious, and accurate
    metabarcoding analysis pipeline" *PeerJ* **11**:e15648
    https://doi.org/10.7717/peerj.15648

You can also cite the software specifically via Zenodo which offers version
specific DOIs as well as https://doi.org/10.5281/zenodo.4529395 which is for
the latest version.

Funding
-------

The initial work was supported from 2016 to 2019 under the Tree Health and
Plant Biosecurity Initiative (THAPBI) Phyto-Threats project:

  This research was supported by a grant funded jointly by the
  Biotechnology and Biological Sciences Research Council (`BBSRC
  `_), Department for Environment, Food and Rural
  affairs (`DEFRA `_),
  Economic and Social Research Council (`ESRC `_),
  `Forestry Commission `_,
  Natural Environment Research Council (`NERC `_)
  and `Scottish Government `_, under the Tree
  Health and Plant Biosecurity Initiative, grant number ``BB/N023463/1``.

Work from 2020 to 2021 was supported in part under the *Early detection of
Phytophthora in EU and third country nurseries and traded plants (ID-PHYT)*
Euphresco project:

  Funded by DEFRA as part of the Future Proofing Plant Health project in
  support of Euphresco ID-PHYT.

Work from 2022 to May 2024 was partly funded by the Rural & Environment Science
& Analytical Services (RESAS) Division of the Scottish Government.

Background
----------

THAPBI PICT continues earlier work including:

- https://github.com/widdowquinn/THAPBI
- https://github.com/widdowquinn/THAPBI-pycits
- https://github.com/peterthorpe5/THAPBI-pycits
- https://github.com/peterthorpe5/public_scripts/tree/master/metapy
- https://github.com/peterthorpe5/public_scripts/tree/master/metapy_tools

Release History
---------------

See the ``CHANGELOG.rst`` file.

Development Notes
-----------------

See file ``CONTRIBUTING.rst`` for details of the development setup including
Python style conventions, git pre-commit hook, continuous integration and test
coverage, and release process.

Owner

  • Name: Peter Cock
  • Login: peterjc
  • Kind: user
  • Location: Dundee, Scotland, UK

GitHub Events

Total
  • Create event: 16
  • Commit comment event: 1
  • Issues event: 2
  • Release event: 4
  • Watch event: 2
  • Delete event: 11
  • Issue comment event: 10
  • Push event: 70
  • Pull request event: 23
Last Year
  • Create event: 16
  • Commit comment event: 1
  • Issues event: 2
  • Release event: 4
  • Watch event: 2
  • Delete event: 11
  • Issue comment event: 10
  • Push event: 70
  • Pull request event: 23

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 3,359
  • Total Committers: 5
  • Avg Commits per committer: 671.8
  • Development Distribution Score (DDS): 0.01
Top Committers
Name Email Commits
Peter Cock p****k@g****m 3,326
pre-commit-ci[bot] 6****]@u****m 26
Peter Thorpe p****e@h****k 3
Leighton Pritchard l****d@h****k 3
Max Bachmann k****t@m****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 55
  • Total pull requests: 192
  • Average time to close issues: 8 months
  • Average time to close pull requests: 7 days
  • Total issue authors: 2
  • Total pull request authors: 3
  • Average comments per issue: 2.51
  • Average comments per pull request: 0.67
  • Merged pull requests: 177
  • Bot issues: 0
  • Bot pull requests: 37
Past Year
  • Issues: 1
  • Pull requests: 20
  • Average time to close issues: about 5 hours
  • Average time to close pull requests: about 14 hours
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 5.0
  • Average comments per pull request: 0.45
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 10
Top Authors
Issue Authors
  • peterjc (54)
  • shamba123 (1)
Pull Request Authors
  • peterjc (167)
  • pre-commit-ci[bot] (41)
  • maxbachmann (1)
Top Labels
Issue Labels
enhancement (18) question (6) bug (5)
Pull Request Labels
enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 398 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 145
  • Total maintainers: 1
pypi.org: thapbi-pict

THAPBI Phytophthora ITS1 Classifier Tool (PICT).

  • Versions: 145
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 398 Last month
Rankings
Dependent packages count: 10.0%
Downloads: 11.0%
Average: 16.1%
Stargazers count: 18.5%
Forks count: 19.1%
Dependent repos count: 21.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements-docs.txt pypi
  • sphinx ==4.2.0
  • sphinx_rtd_theme ==1.0.0
requirements-ext.txt pypi
  • biom-format *
  • blast *
  • flash *
  • graphviz *
  • sqlite >=3
  • unzip *
  • vsearch >=2.23.0
requirements.txt pypi
  • biopython *
  • cutadapt >=4.0
  • matplotlib >=3.7
  • networkx >=2.4,
  • pydot *
  • rapidfuzz >=2.4.0
  • sqlalchemy *
  • xlsxwriter *
setup.py pypi
  • biopython *
  • cutadapt *
  • matplotlib *
  • networkx *
  • pydot *
  • rapidfuzz *
  • sqlalchemy *
  • xlsxwriter *