rad_assembler

Nextflow pipeline for Reference Assisted De novo assembling whole genome shotgun sequenced viruses.

https://github.com/greninger-lab/rad_assembler

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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Nextflow pipeline for Reference Assisted De novo assembling whole genome shotgun sequenced viruses.

Basic Info
  • Host: GitHub
  • Owner: greninger-lab
  • License: mit
  • Language: Nextflow
  • Default Branch: main
  • Homepage:
  • Size: 50.1 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • Open Issues: 3
  • Releases: 0
Created over 2 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Code of conduct Citation

README.md

rad_assembler

Nextflow pipeline for reference assisted de novo assembling whole genome shotgun sequenced viruses.

Usage

Install Nextflow (>=21.10.3)

Install Docker

Command line:

nextflow run greninger-lab/rad_assembler \
    --input PATH_TO_SAMPLE_CSV \                      # required
    --outdir PATH_TO_OUTPUT_FOLDER \                  # required
    --bowtie2_host_index PATH_TO_HOST_BOWTIE2_INDEX \ # optional (path to bowtie2 index of host to use for filtering host DNA)
    --region_map PATH_TO_REGION_MAP_FILE \            # optional (path to region map json file)
    --genbank_ref ../NC_XXXXXXXX.gb \                 # required (genbank reference)
    --spades_flag \                                   # optional (default is meta, alternatives are careful or unicycler)
    -profile docker \                                 # required
    -with-tower \                                     # optional (use if you want to use Nextflow Tower)
    -c nextflow_aws.config \                          # optional (AWS account config info) 
    -r main                                           # required (use the github main branch)

Region map files:

An optional region map in json format for splitting the reference into sections so that a new reference for read mapping can be built more accurately. This can be very helpful when there are large inverted repeat regions in the genome.

Example region map file

{
    "regions": {
        "TRL" : [0,9212],
        "UL" : [9213,117159],
        "IRL_IRS" : [117160,132604],
        "US" : [132605,145588],
        "TRS" : [145589,152221]
    },
    "region_order": [
        {"region": "TRL", "reverse": false}, 
        {"region": "UL", "reverse": false}, 
        {"region": "IRL_IRS", "reverse": false}, 
        {"region": "US", "reverse": false},
        {"region": "TRS", "reverse": false}
    ]
}

"regions" defines a region name and the reference coordinates for extracting the region. De novo assembled scaffolds are mapped to the region and then a new reference is generated for the region. "region_order" sets the order for concatenating the new region references together to make a complete genome reference. "reverse" will reverse compliment the region reference before concatenating if set to true.

Example region map files:

rad_assembler/region_maps/HSV1-NC001806.json
rad_assembler/region_maps/HSV2-NC001798.json

Sample csv example:

rad_assembler/assets/example.csv

Sample csv format:


sample,fastq_1,fastq_2
F79217_S26,sample_L001_R1_001.fastq.gz,sample_L001_R2_001.fastq.gz

You can create a sample csv file from an s3 folder (including single depth subdirectories) using the shell script generateawssample_csv.sh in bin folder, like this:

generate_aws_sample_csv.sh s3://bucket-name /folder/path/to/run/folder/ csv_name _L001_R1_001 _L001_R2_001

note: replace L001R1001 _L001R2_001 with the suffixes of read1 and read2 if necessary

Owner

  • Name: greninger-lab
  • Login: greninger-lab
  • Kind: organization

Citation (CITATIONS.md)

# nf-core/rad: 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

- [FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/)

- [MultiQC](https://pubmed.ncbi.nlm.nih.gov/27312411/)
  > Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.

## 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)

- [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
  • Push event: 6
Last Year
  • Push event: 6