needles
Nextflow workflow to run poppunk on a set of fasta files
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 10 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.4%) to scientific vocabulary
Repository
Nextflow workflow to run poppunk on a set of fasta files
Basic Info
- Host: GitHub
- Owner: erinyoung
- License: mit
- Language: Nextflow
- Default Branch: main
- Size: 1.73 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
erinyoung/needles
Introduction
erinyoung/needles is a bioinformatics pipeline to download or use a corresponding pre-built poppunk database to use on input fasta files.
The steps are as follows:
- Download the poppunk database for taxid (https://www.bacpop.org/poppunk/)
- Assign fasta files to clusters
- Visualize (microreact is the default)
Usage
[!NOTE] If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with
-profile testbefore running the workflow on actual data.
First, prepare a samplesheet with your input data that looks as follows:
samplesheet.csv:
csv
sample,fasta
sample1,sample1.fasta
Each row represents a fasta file.
Option 1. Downloading a poppunk database
A list of poppunk databases are in json format at (assets/poppunk*db.json)(./assets/poppunk_db.json). The default taxid is tx:1314 for *Streptococcus pyogenes*.
Current options for taxid:
- "tx:470" : "Acinetobacter baumannii"
- "tx:520" : "Bordetella pertussis"
- "tx:197" : "Campylobacter jejuni"
- "tx:5476" : "Candida albicans"
- "tx:1351" : "Enterococcus faecalis"
- "tx:1352" : "Enterococcus faecium"
- "tx:562" : "Escherichia coli"
- "tx:727" : "Haemophilus influenzae"
- "tx:210" : "Helicobacter pylori"
- "tx:197911" : "Influenza virus"
- "tx:573" : "Klebsiella pneumoniae"
- "tx:446" : "Legionella pneumophila"
- "tx:1639" : "Listeria monocytogenes"
- "tx:36809" : "Mycobacterium abscessus"
- "tx:1773" : "Mycobacterium tuberculosis"
- "tx:485" : "Neisseria gonorrhoeae"
- "tx:487_2" : "Neisseria meningitidis" from "https://doi.org/10.12688/wellcomeopenres.14826.1"
- "tx:487" : "Neisseria meningitidis" from "https://github.com/bacpop/PopPUNK/issues/267"
- "tx:287" : "Pseudomonas aeruginosa"
- "tx:4932" : "Saccharomyces cerevisiae"
- "tx:590" : "Salmonella sp."
- "tx:1280" : "Staphylococcus aureus",
- "tx:40324" : "Stenotrophomonas maltophilia"
- "tx:1311" : "Streptococcus agalactiae"
- "tx:1334" : "Streptococcus dysgalactiae subspecies equisimilis"
- "tx:28037" : "Streptococcus mitis",
- "tx:1313" : "Streptococcus pneumoniae"
- "tx:1314" : "Streptococcus pyogenes"
- "tx:1307" : "Streptococcus suis"
Now, you can run the pipeline using:
bash
nextflow run erinyoung/needles \
-profile <docker/singularity/.../institute> \
--input samplesheet.csv \
--taxid <TAXID> \
--outdir <OUTDIR>
Option 2. Using a pre-downloaded poppunk database
bash
nextflow run erinyoung/needles \
-profile <docker/singularity/.../institute> \
--input samplesheet.csv \
--db <path/to/poppunk/database/file> \
--outdir <OUTDIR>
[!WARNING] Please provide pipeline parameters via the CLI or Nextflow
-params-fileoption. Custom config files including those provided by the-cNextflow option can be used to provide any configuration except for parameters; see docs.
Credits
erinyoung/needles was originally written by Erin Young, and is mostly a wrapper for using Poppunk.
Poppunk can be cited with the following paper:
Lees JA, Harris SR, Tonkin-Hill G, Gladstone RA, Lo SW, Weiser JN, Corander J, Bentley SD, Croucher NJ. Fast and flexible bacterial genomic epidemiology with PopPUNK. Genome Research 29:304-316 (2019). doi:10.1101/gr.241455.118
This pipeline uses code and infrastructure developed and maintained by the nf-core community, reused here under the MIT license.
The nf-core framework for community-curated bioinformatics pipelines.
Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.
Owner
- Name: Young
- Login: erinyoung
- Kind: user
- Location: Salt Lake City, UT
- Company: Utah Public Health Laboratory
- Website: https://uphl.utah.gov/
- Twitter: erinyoun
- Repositories: 2
- Profile: https://github.com/erinyoung
Senior Research Specialist: Bioinformatician
Citation (CITATIONS.md)
# erinyoung/needles: Citations ## [nf-core](https://pubmed.ncbi.nlm.nih.gov/32055031/) > Ewels PA, Peltzer A, Fillinger S, Patel H, Alneberg J, Wilm A, Garcia MU, Di Tommaso P, Nahnsen S. The nf-core framework for community-curated bioinformatics pipelines. Nat Biotechnol. 2020 Mar;38(3):276-278. doi: 10.1038/s41587-020-0439-x. PubMed PMID: 32055031. ## [Nextflow](https://pubmed.ncbi.nlm.nih.gov/28398311/) > Di Tommaso P, Chatzou M, Floden EW, Barja PP, Palumbo E, Notredame C. Nextflow enables reproducible computational workflows. Nat Biotechnol. 2017 Apr 11;35(4):316-319. doi: 10.1038/nbt.3820. PubMed PMID: 28398311. ## Pipeline tools - [Poppunk](https://github.com/bacpop/PopPUNK) > Lees JA, Harris SR, Tonkin-Hill G, Gladstone RA, Lo SW, Weiser JN, Corander J, Bentley SD, Croucher NJ. Fast and flexible bacterial genomic epidemiology with PopPUNK. Genome Research 29:304-316 (2019). doi:10.1101/gr.241455.118 ## Software packaging/containerisation tools - [Anaconda](https://anaconda.com) > Anaconda Software Distribution. Computer software. Vers. 2-2.4.0. Anaconda, Nov. 2016. Web. - [Bioconda](https://pubmed.ncbi.nlm.nih.gov/29967506/) > Grüning B, Dale R, Sjödin A, Chapman BA, Rowe J, Tomkins-Tinch CH, Valieris R, Köster J; Bioconda Team. Bioconda: sustainable and comprehensive software distribution for the life sciences. Nat Methods. 2018 Jul;15(7):475-476. doi: 10.1038/s41592-018-0046-7. PubMed PMID: 29967506. - [BioContainers](https://pubmed.ncbi.nlm.nih.gov/28379341/) > da Veiga Leprevost F, Grüning B, Aflitos SA, Röst HL, Uszkoreit J, Barsnes H, Vaudel M, Moreno P, Gatto L, Weber J, Bai M, Jimenez RC, Sachsenberg T, Pfeuffer J, Alvarez RV, Griss J, Nesvizhskii AI, Perez-Riverol Y. BioContainers: an open-source and community-driven framework for software standardization. Bioinformatics. 2017 Aug 15;33(16):2580-2582. doi: 10.1093/bioinformatics/btx192. PubMed PMID: 28379341; PubMed Central PMCID: PMC5870671. - [Docker](https://dl.acm.org/doi/10.5555/2600239.2600241) > Merkel, D. (2014). Docker: lightweight linux containers for consistent development and deployment. Linux Journal, 2014(239), 2. doi: 10.5555/2600239.2600241. - [Singularity](https://pubmed.ncbi.nlm.nih.gov/28494014/) > Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.
GitHub Events
Total
- Delete event: 3
- Push event: 5
- Public event: 1
- Pull request event: 4
- Create event: 2
Last Year
- Delete event: 3
- Push event: 5
- Public event: 1
- Pull request event: 4
- Create event: 2
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 19 hours
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 19 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- erinyoung (3)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout 0ad4b8fadaa221de15dcec353f45205ec38ea70b composite
- conda-incubator/setup-miniconda a4260408e20b96e80095f42ff7f1a15b27dd94ca composite
- eWaterCycle/setup-apptainer main composite
- jlumbroso/free-disk-space 54081f138730dfa15788a46383842cd2f914a1be composite
- nf-core/setup-nextflow v2 composite
- actions/checkout 0ad4b8fadaa221de15dcec353f45205ec38ea70b composite
- conda-incubator/setup-miniconda a4260408e20b96e80095f42ff7f1a15b27dd94ca composite
- eWaterCycle/setup-apptainer main composite
- jlumbroso/free-disk-space 54081f138730dfa15788a46383842cd2f914a1be composite
- nf-core/setup-nextflow v2 composite
- actions/checkout 0ad4b8fadaa221de15dcec353f45205ec38ea70b composite
- actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
- peter-evans/create-or-update-comment 71345be0265236311c031f5c7866368bd1eff043 composite
- actions/checkout 0ad4b8fadaa221de15dcec353f45205ec38ea70b composite
- actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
- actions/upload-artifact 65462800fd760344b1a7b4382951275a0abb4808 composite
- nf-core/setup-nextflow v2 composite
- pietrobolcato/action-read-yaml 1.1.0 composite
- dawidd6/action-download-artifact bf251b5aa9c2f7eeb574a96ee720e24f801b7c11 composite
- marocchino/sticky-pull-request-comment 331f8f5b4215f0445d3c07b4967662a32a2d3e31 composite