{"id":18989987,"url":"https://github.com/cdcgov/mycosnp-nf","last_synced_at":"2026-02-05T08:31:40.664Z","repository":{"id":38077600,"uuid":"463211522","full_name":"CDCgov/mycosnp-nf","owner":"CDCgov","description":"MycoSNP: Whole Genome Sequencing Analysis of Fungal Isolates","archived":false,"fork":false,"pushed_at":"2026-01-15T04:25:47.000Z","size":815657,"stargazers_count":85,"open_issues_count":6,"forks_count":43,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-27T14:32:03.063Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Nextflow","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CDCgov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATIONS.md","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-02-24T16:02:43.000Z","updated_at":"2026-01-22T14:36:08.000Z","dependencies_parsed_at":"2025-05-18T17:39:47.255Z","dependency_job_id":null,"html_url":"https://github.com/CDCgov/mycosnp-nf","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":"CDCgov/template","purl":"pkg:github/CDCgov/mycosnp-nf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDCgov%2Fmycosnp-nf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDCgov%2Fmycosnp-nf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDCgov%2Fmycosnp-nf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDCgov%2Fmycosnp-nf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CDCgov","download_url":"https://codeload.github.com/CDCgov/mycosnp-nf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CDCgov%2Fmycosnp-nf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29117009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["myco","nextflow","nf-core","snp"],"created_at":"2024-11-08T17:08:34.048Z","updated_at":"2026-02-05T08:31:40.645Z","avatar_url":"https://github.com/CDCgov.png","language":"Nextflow","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![CDCgov/mycosnp-nf](docs/images/nf-core-mycosnp_logo_light.png#gh-light-mode-only) ![CDCgov/mycosnp-nf](docs/images/nf-core-mycosnp_logo_dark.png#gh-dark-mode-only)\n\n[![Nextflow](https://img.shields.io/badge/nextflow%20DSL2-%E2%89%A521.10.3-23aa62.svg?labelColor=000000)](https://www.nextflow.io/)\n[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000\u0026logo=anaconda)](https://docs.conda.io/en/latest/)\n[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000\u0026logo=docker)](https://www.docker.com/)\n[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)\n\n## Introduction\n\n\n**nf-core/mycosnp** is a bioinformatics best-practice analysis pipeline for MycoSNP is a portable workflow for performing whole genome sequencing analysis of fungal organisms, including Candida auris. This method prepares the reference, performs quality control, and calls variants using a reference. MycoSNP generates several output files that are compatible with downstream analytic tools, such as those for used for phylogenetic tree-building and gene variant annotations..\n\nThe pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The [Nextflow DSL2](https://www.nextflow.io/docs/latest/dsl2.html) implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where possible, these processes have been submitted to and installed from [nf-core/modules](https://github.com/nf-core/modules) in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!\n\n## Pipeline summary\n\n### Reference Preparation\n\n\u003e **Prepares a reference FASTA file for BWA alignment and GATK variant calling by masking repeats in the reference and generating the BWA index.**\n* Genome repeat identification and masking (`nucmer`)\n* BWA index generation (`bwa`)\n* FAI and DICT file creation (`Picard`, `Samtools`)\n\n### Sample QC and Processing\n\n\u003e **Prepares samples (paired-end FASTQ files) for GATK variant calling by aligning the samples to a BWA reference index and ensuring that the BAM files are correctly formatted. This step also provides different quality reports for sample evaluation.**\n\n* Combine FASTQ file lanes if they were provided with multiple lanes.\n* Filter unpaired reads from FASTQ files (`SeqKit`).\n* Down sample FASTQ files to a desired coverage or sampling rate (`SeqTK`).\n* Trim reads and assess quality (`FaQCs`).\n* Generate a QC report by extracting data from FaQCs report data.\n* Align FASTQ reads to a reference (`BWA`).\n* Sort BAM files (`SAMTools`).\n* Mark and remove duplicates in the BAM file (`Picard`).\n* Clean the BAM file (`Picard \"CleanSam\"`).\n* Fix mate information in the BAM file (`Picard \"FixMateInformation\"`).\n* Add read groups to the BAM file (`Picard \"AddOrReplaceReadGroups\"`).\n* Index the BAM file (`SAMTools`).\n* [FastQC](#fastqc) - Filtered reads QC.\n* Qualimap mapping quality report.\n* [MultiQC](#multiqc) - Aggregate report describing results and QC from the whole pipeline\n\n### Variant calling and analysis\n\n\u003e **Calls variants and generates a multi-FASTA file and phylogeny.**\n\n* Call variants (`GATK HaplotypeCaller`).\n* Combine gVCF files from the HaplotypeCaller into a single VCF (`GATK CombineGVCFs`).\n* Call genotypes using the (`GATK GenotypeGVCFs`).\n* Filter the variants (`GATK VariantFiltration`) [default (but customizable) filter: 'QD \u003c 2.0 || FS \u003e 60.0 || MQ \u003c 40.0 || DP \u003c 10'].\n* Run a customized VCF filtering script (`Broad Institute`).\n* Split the filtered VCF file by sample.\n* Select only SNPs from the VCF files (`GATK SelectVariants`).\n* Split the VCF file with SNPs by sample.\n* Create a multi-fasta file from the VCF SNP positions using a custom script (`Broad`).\n* Create a distance matrix file using multi-fasta file(`SNPdists`).\n* Create phylogeny from multi-fasta file (`rapidNJ`, `FastTree2`, `quicksnp`, `RaxML(optional)`, `IQTree(optional)`)\n\n### Variant annotation analysis (currently available for *C. auris* B11205 genome only)\n\n* annotated VCF file (`snpEff`)\n* combined output report(`SnpEffR`)\n\n## Quick Start\n\n1. Install [`Nextflow`](https://www.nextflow.io/docs/latest/getstarted.html#installation) (`\u003e=21.10.3`)\n\n2. Install any of [`Docker`](https://docs.docker.com/engine/installation/), [`Singularity`](https://www.sylabs.io/guides/3.0/user-guide/), [`Podman`](https://podman.io/), [`Shifter`](https://nersc.gitlab.io/development/shifter/how-to-use/) or [`Charliecloud`](https://hpc.github.io/charliecloud/) for full pipeline reproducibility _(please only use [`Conda`](https://conda.io/miniconda.html) as a last resort; see [docs](https://nf-co.re/usage/configuration#basic-configuration-profiles))_\n3. Requires Python version \u003e3.0\n\n4. Download the pipeline and test it on a minimal dataset with a single command:\n\n    ```console\n    nextflow run CDCgov/mycosnp-nf -profile test,YOURPROFILE\n    ```\n\n    Note that some form of configuration will be needed so that Nextflow knows how to fetch the required software. This is usually done in the form of a config profile (`YOURPROFILE` in the example command above). You can chain multiple config profiles in a comma-separated string.\n\n    \u003e * The pipeline comes with config profiles called `docker`, `singularity`, `podman`, `shifter`, `charliecloud` and `conda` which instruct the pipeline to use the named tool for software management. For example, `-profile test,docker`.\n    \u003e * Please check [nf-core/configs](https://github.com/nf-core/configs#documentation) to see if a custom config file to run nf-core pipelines already exists for your Institute. If so, you can simply use `-profile \u003cinstitute\u003e` in your command. This will enable either `docker` or `singularity` and set the appropriate execution settings for your local compute environment.\n    \u003e * If you are using `singularity` and are persistently observing issues downloading Singularity images directly due to timeout or network issues, then you can use the `--singularity_pull_docker_container` parameter to pull and convert the Docker image instead. Alternatively, you can use the [`nf-core download`](https://nf-co.re/tools/#downloading-pipelines-for-offline-use) command to download images first, before running the pipeline. Setting the [`NXF_SINGULARITY_CACHEDIR` or `singularity.cacheDir`](https://www.nextflow.io/docs/latest/singularity.html?#singularity-docker-hub) Nextflow options enables you to store and re-use the images from a central location for future pipeline runs.\n    \u003e * If you are using `conda`, it is highly recommended to use the [`NXF_CONDA_CACHEDIR` or `conda.cacheDir`](https://www.nextflow.io/docs/latest/conda.html) settings to store the environments in a central location for future pipeline runs.\n\n5. Start running your own analysis!\n\n    ```console\n    nextflow run CDCgov/mycosnp-nf -profile \u003cdocker/singularity/podman/shifter/charliecloud/conda/institute\u003e --input samplesheet.csv --fasta c_auris.fasta\n    ```\n6. It is advisable to delete large temporary or log files after the successful completion of the run. It takes a lot of space and may cause issues in future runs.\n\n## Pre-configured Nextflow development environment using Gitpod\n\n\u003e[![Open CDCgov/mycosnp-nf in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/CDCgov/mycosnp-nf)\n\u003e\u003eOnce the pod launches, it will present a VS-Code interface and comes with Nextflow, Conda and Docker pre-installed\n## Documentation\n\nThe nf-core/mycosnp pipeline comes with documentation about the pipeline [usage](https://github.com/CDCgov/mycosnp-nf/blob/master/docs/usage.md), [parameters](https://github.com/CDCgov/mycosnp-nf/wiki/Parameter-Docs) and [output](https://github.com/CDCgov/mycosnp-nf/blob/master/docs/output.md).\n\n## Credits\n\nnf-core/mycosnp was originally written by CDC.\n\nWe thank the following people for their extensive assistance in the development of this pipeline:\n\n* Michael Cipriano [@mjcipriano](https://github.com/mjcipriano)\n* Sateesh Peri [@sateeshperi](https://github.com/sateeshperi)\n* Hunter Seabolt [@hseabolt](https://github.com/hseabolt)\n* Chris Sandlin [@cssandlin](https://github.com/cssandlin)\n* Drewry Morris [@drewry](https://github.com/drewry)\n* Lynn Dotrang [@leuthrasp](https://github.com/LeuThrAsp)\n* Christopher Jossart [@cjjossart](https://github.com/cjjossart)\n* Robert A. Petit III [@rpetit3](https://github.com/rpetit3)\n\n\u003e Special thanks the **Staph-B** Slack workspace for open-source collaborations and discussions.\n## Contributions and Support\n\nIf you would like to contribute to this pipeline, please see the [contributing guidelines](.github/CONTRIBUTING.md).\n\n## Citations\n\nAn extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.\n\nYou can cite the `MycoSNP` and `nf-core` publications as follows:\n\n\u003e Bagal UR, Phan J, Welsh RM, Misas E, Wagner D, Gade L, Litvintseva AP, Cuomo CA, Chow NA. \n\u003e \n\u003e MycoSNP: A Portable Workflow for Performing Whole-Genome Sequencing Analysis of Candida auris. \n\u003e \n\u003e _Methods Mol Biol._ 2022; 2517:215-228. doi: [10.1007/978-1-0716-2417-3_17](https://pubmed.ncbi.nlm.nih.gov/35674957)\n\n\u003e **The nf-core framework for community-curated bioinformatics pipelines.**\n\u003e\n\u003e Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso \u0026 Sven Nahnsen.\n\u003e\n\u003e _Nat Biotechnol._ 2020 Feb 13. doi: [10.1038/s41587-020-0439-x](https://dx.doi.org/10.1038/s41587-020-0439-x).\n\n# CDCgov GitHub Organization Open Source Project Template\n\n**Template for clearance: This project serves as a template to aid projects in starting up and moving through clearance procedures. To start, create a new repository and implement the required [open practices](open_practices.md), train on and agree to adhere to the organization's [rules of behavior](rules_of_behavior.md), and [send a request through the create repo form](https://forms.office.com/Pages/ResponsePage.aspx?id=aQjnnNtg_USr6NJ2cHf8j44WSiOI6uNOvdWse4I-C2NUNk43NzMwODJTRzA4NFpCUk1RRU83RTFNVi4u) using language from this template as a Guide.**\n\n**General disclaimer** This repository was created for use by CDC programs to collaborate on public health related projects in support of the [CDC mission](https://www.cdc.gov/about/organization/mission.htm).  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. \n\n## Related documents\n\n* [Open Practices](open_practices.md)\n* [Rules of Behavior](rules_of_behavior.md)\n* [Thanks and Acknowledgements](thanks.md)\n* [Disclaimer](DISCLAIMER.md)\n* [Contribution Notice](CONTRIBUTING.md)\n* [Code of Conduct](code-of-conduct.md)\n  \n## Public Domain Standard Notice\nThis repository constitutes a work of the United States Government and is not\nsubject to domestic copyright protection under 17 USC § 105. This repository is in\nthe public domain within the United States, and copyright and related rights in\nthe work worldwide are waived through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).\nAll contributions to this repository will be released under the CC0 dedication. By\nsubmitting a pull request you are agreeing to comply with this waiver of\ncopyright interest.\n## License Standard Notice\nThe repository utilizes code licensed under the terms of the Apache Software\nLicense and therefore is licensed under ASL v2 or later.\n\nThis source code in this repository is free: you can redistribute it and/or modify it under\nthe terms of the Apache Software License version 2, or (at your option) any\nlater version.\n\nThis source code in this repository is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the Apache Software License for more details.\n\nYou should have received a copy of the Apache Software License along with this\nprogram. If not, see http://www.apache.org/licenses/LICENSE-2.0.html\n\nThe source code forked from other open source projects will inherit its license.\n\n## Privacy Standard Notice\nThis repository contains only non-sensitive, publicly available data and\ninformation. All material and community participation is covered by the\n[Disclaimer](https://github.com/CDCgov/template/blob/master/DISCLAIMER.md)\nand [Code of Conduct](https://github.com/CDCgov/template/blob/master/code-of-conduct.md).\nFor more information about CDC's privacy policy, please visit [http://www.cdc.gov/other/privacy.html](https://www.cdc.gov/other/privacy.html).\n\n## Contributing Standard Notice\nAnyone is encouraged to contribute to the repository by [forking](https://help.github.com/articles/fork-a-repo)\nand submitting a pull request. (If you are new to GitHub, you might start with a\n[basic tutorial](https://help.github.com/articles/set-up-git).) By contributing\nto this project, you grant a world-wide, royalty-free, perpetual, irrevocable,\nnon-exclusive, transferable license to all users under the terms of the\n[Apache Software License v2](http://www.apache.org/licenses/LICENSE-2.0.html) or\nlater.\n\nAll comments, messages, pull requests, and other submissions received through\nCDC 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](http://www.cdc.gov/other/privacy.html).\n\n## Records Management Standard Notice\nThis repository is not a source of government records, but is a copy to increase\ncollaboration and collaborative potential. All government records will be\npublished through the [CDC web site](http://www.cdc.gov).\n\n## Additional Standard Notices\nPlease refer to [CDC's Template Repository](https://github.com/CDCgov/template)\nfor more information about [contributing to this repository](https://github.com/CDCgov/template/blob/master/CONTRIBUTING.md),\n[public domain notices and disclaimers](https://github.com/CDCgov/template/blob/master/DISCLAIMER.md),\nand [code of conduct](https://github.com/CDCgov/template/blob/master/code-of-conduct.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdcgov%2Fmycosnp-nf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdcgov%2Fmycosnp-nf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdcgov%2Fmycosnp-nf/lists"}