ngsqi-astro
Science Score: 39.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 4 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: CDCgov
- License: mit
- Language: Nextflow
- Default Branch: master
- Size: 47.6 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
:rocket: ASTRO: AMR Metagenomics Detection, Simulation, Taxonomic Classification, and Read Optimization
Introduction
ASTRO: AMR Metagenomics Detection, Simulation, Taxonomic Classification, and Read Optimization is a bioinformatics pipeline that performs taxonomic profiling, screens metagenomes and isolate genomes for determinants of antimicrobial resistance, simulates reads, and generates a bacterial metagenomic in silico reference dataset.
The three primary objectives of the ASTRO workflow entail:
- Simulate sequencing reads with identified species and phyla of interest
- Perform taxonomic profiling and antimicrobial resistance gene (ARG) detection on empirical metagenomes and simulated reads
- Verify that the quality of simulated datasets mimics empirical datasets
This workflow is being built with Nextflow DSL2 and utilizes docker and singularity containers to modularize the workflow for optimal maintenance and reproducibility.
Pipeline Summary
- Input paired-end metagenomic reads (.fastq) and isolate genomes (.fna)
- Perform preprocessing on metagenomic reads (
FastQC,FastP,BBDuk,Hostile) - Assemble the preprocessed reads into contigs and assess the quality of the assembled contigs (
MEGAHIT,QUAST) - Screen metagenomes for ARGs (
AMRFinderPlus,ABRICATE,RGI) - Perform taxonomic profiling on metagenomic reads to identify microbial community composition (
METAPHLAN) - Simulate next generation sequencing reads and spike into cleaned, empirical metagenomic dataset (
NEAT,RAGTAG) - Perform quality control (QC) on simulated dataset (
FastQC) - Optionally perform taxonomic profiling and ARG detection on in silico dataset
- Generate versions and
MultiQCreports

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.To run the astro pipeline minimal test, you will need to add your user-specific credentials for the --ncbiemail, --ncbiapi_key, and --metaphlan parameters to the profile script located at conf/test.config.
You can access the test data here.
Once complete, you can run the minimal test with the following command:
nextflow run main.nf -profile test,singularity --outdir <OUTDIR>
Set Up:
First, input your metagenomic data into a samplesheet so that it resembles the following:
samplesheet.csv:
csv
sample,fastq_1,fastq_2
Sample1,assets/data/ERR4678562_1.fastq.gz,assets/data/ERR4678562_2.fastq.gz
Sample2,assets/data/ERR4678563_1.fastq.gz,assets/data/ERR4678563_2.fastq.gz
Each row represents a pair of fastq files (paired-end metagenomics reads).
You will also need to prepare a samplesheet for isolate genomes to be used in simulation:
isolate_samplesheet.csv:
csv
sample_id,added_copy_number,file_path,species_name
GCA_018454105.3,1,assets/data/GCA_018454105.3_PDT001044797.3_genomic.fna,Acinetobacter baumannii
GCA_016490125.3,1,assets/data/GCA_016490125.3_PDT000725303.3_genomic.fna,Acinetobacter baumannii
Each row corresponds to the following information:
sample_id: Sample ID or nameadded_copy_number: Option to include a given number of copies of simulated genomes. If copy number variation is not desired, input '1'file_path: Path to isolate genome file (.fna)species_name: Name of isolate species
For instructions on creating an NCBI account and obtaining an API key, please visit the National Library of Medicine Support Center.
Taxonomic Classification Set Up
For ASTRO >= 1.0.0, you are required to install the MetaPhlAn 4 database. You can find guidance to do so on the MetaPhlAn GitHub page. It is highly recommended to use the --index parameter to download a specific version of the database for use in the ASTRO pipeline. This version of ASTRO was tested using database version mpavJun23CHOCOPhlAnSGB_202403.
ASTRO Pipeline Parameters:
--input: Input metagenomic samplesheet--isolates: Input isolate samplesheet--ncbi_email: User's NCBI email--ncbi_api_key: User's NCBI API key--postsim: Optionally run assembly, AMR, and taxonomic classification on simulated reads--mode: Select 'local' if providing local paths to isolate genomes; otherwise, select 'download'--taxadb: Path to MetaPhlAn database
Running ASTRO:
Now, you can run the pipeline using:
```bash
nextflow run main.nf \
--input samplesheet.csv \
--isolates isolatesamplesheet.csv \
--ncbiemail
```
Note that --postsim is an optional parameter. If used, simulated data will be processed for assembly, ARG detection, and taxonomic classification.
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 configuration; see docs.
Credits
ASTRO was originally written by the Next Generation Sequencing (NGS) Quality Initiative (QI) In Silico Team.
We thank the following partners for their extensive assistance in the development of this pipeline:
- CDC Clinical and Environmental Microbiology Branch (CEMB)
- CDC Office of Advanced Molecular Detection (OAMD)
- CDC Office of Laboratory Systems and Response (OLSR)
- CDC Division of Laboratory Systems (DLS)
Contributions and Support
If you would like to contribute to this pipeline, please see the contributing guidelines.
Citations
An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.
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.
CDCgov GitHub Organization Open Source Project
General disclaimer This repository was created for use by CDC programs to collaborate on public health related projects in support of the CDC mission. GitHub is not hosted by the CDC, but is a third party website used by CDC and its partners to share information and collaborate on software. CDC use of GitHub does not imply an endorsement of any one particular service, product, or enterprise.
Related documents
- Open Practices
- Rules of Behavior
- Thanks and Acknowledgements
- Disclaimer
- Contribution Notice
- Code of Conduct
Public Domain Standard Notice
This repository constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC 105. This repository is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication. All contributions to this repository will be released under the CC0 dedication. By submitting a pull request you are agreeing to comply with this waiver of copyright interest.
License Standard Notice
The repository utilizes code licensed under the terms of the Apache Software License and therefore is licensed under ASL v2 or later.
This source code in this repository is free: you can redistribute it and/or modify it under the terms of the Apache Software License version 2, or (at your option) any later version.
This source code in this repository is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache Software License for more details.
You should have received a copy of the Apache Software License along with this program. If not, see http://www.apache.org/licenses/LICENSE-2.0.html
The source code forked from other open source projects will inherit its license.
Privacy Standard Notice
This repository contains only non-sensitive, publicly available data and information. All material and community participation is covered by the Disclaimer and Code of Conduct. For more information about CDC's privacy policy, please visit http://www.cdc.gov/other/privacy.html.
Contributing Standard Notice
Anyone is encouraged to contribute to the repository by forking and submitting a pull request. (If you are new to GitHub, you might start with a basic tutorial.) By contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the Apache Software License v2 or later.
All comments, messages, pull requests, and other submissions received through CDC including this GitHub page may be subject to applicable federal law, including but not limited to the Federal Records Act, and may be archived. Learn more at http://www.cdc.gov/other/privacy.html.
Records Management Standard Notice
This repository is not a source of government records, but is a copy to increase collaboration and collaborative potential. All government records will be published through the CDC web site.
Additional Standard Notices
Please refer to CDC's Template Repository for more information about contributing to this repository, public domain notices and disclaimers, and code of conduct.
Owner
- Name: Centers for Disease Control and Prevention
- Login: CDCgov
- Kind: organization
- Email: data@cdc.gov
- Location: Atlanta, GA
- Website: http://open.cdc.gov/
- Twitter: CDCgov
- Repositories: 114
- Profile: https://github.com/CDCgov
CDC's collaborative software projects to protect America from health, safety, and security threats, both foreign and in the U.S.
GitHub Events
Total
- Release event: 1
- Watch event: 1
- Delete event: 1
- Member event: 1
- Push event: 4
- Create event: 3
Last Year
- Release event: 1
- Watch event: 1
- Delete event: 1
- Member event: 1
- Push event: 4
- Create event: 3