metagenome-pipeline

Shotgun metagenomic sequences processing pipeline

https://github.com/noriakis/metagenome-pipeline

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

Keywords

metagenomics metagenomics-pipeline
Last synced: 10 months ago · JSON representation ·

Repository

Shotgun metagenomic sequences processing pipeline

Basic Info
  • Host: GitHub
  • Owner: noriakis
  • License: apache-2.0
  • Language: Ruby
  • Default Branch: main
  • Homepage:
  • Size: 79.1 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
metagenomics metagenomics-pipeline
Created about 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

metagenome-pipeline

This repository stores the codes to reproduce the analysis in Fujimoto et al. 2024. software_version.list.txt lists the version of software used in the analysis. The analysis was conducted on SHIROKANE OS5.

The pipeline codes are written by Dr. Yasumasa Kimura.

Usage

The codes are intended to be run on SHIROKANE Supercomputer environment. Each script submits the necessary jobs by qsub in each step per sample. inifile package must be installed by gem install inifile. The dir_home_ variable in each script must be set to the pipeline directory holding the scripts directory and a user-defined profile file specifying the environmental variables while running the script. Also, the software directory (e.g. cutadapt_dir) should be set to the path to the software.

Two configuration files must be made to specify the sample and project information as below.

  • info.raw_data.cfg

shell [run1] project = (Project title) dir_project_ = (Absolute path to the project directory) dir_run_ = (Absolute path to the sequence directory [e.g. directory produced after HiSeq CASAVA software]) samples = (Comma-separated sample names)

shell [run1] project = Project1 dir_project_ = /home/user/Project1 dir_run_ = /home/user/Project1/fastq samples = SAMPLE001,SAMPLE002,SAMPLE003

  • setting.cfg

shell [project1] project = (Project title) type = (virome OR bacteriome) dir_project_ = (Absolute path to the project directory) samples = (Comma-separated sample names)

shell [project1] project = Project1 type = bacteriome dir_project_ = /home/user/Project1 samples = SAMPLE001,SAMPLE002,SAMPLE003

The database files must be downloaded or compiled, and the custom path must be specified beforehand for the scripts below.

  • 08_bacterial_taxonomic_profile.rb
    • db variable
    • Metaphlan database: http://cmprod1.cibio.unitn.it/biobakery4/metaphlan_databases/
  • 09_bacterial_contig_taxonomy.rb
    • ppsp_dir variable
    • PhyloPythiaS+ software: https://github.com/algbioi/ppsp/wiki
  • 14_pfam_search.split.rb
    • db variable
    • Pfam HMM files: https://www.ebi.ac.uk/interpro/download/Pfam/
  • 14_kegg_search.split.rb
    • GHOST-MP database must be compiled beforehand by using KEGG GENES fasta file (e.g. kegg.#{db_date}/genes/fasta/prokaryotes.pep), and be specified to the db path. Accordingly, the db_date parameter in the h_params should be changed to reflect the version of KEGG database used.
  • scripts/*
    • The path specification beginning with /home/user must be replaced with the path pointing to the databases (e.g. ko_genes_ = "/home/user/kegg.20180916/genes/ko/ko_genes.list" in assign_kegg.blast.py must be replaced with the path pointing to KEGG database starting with kegg.#{db_date}).
    • Note that the files ko_genes.list, ko_module.list, and ko_pathway.list in the scripts directory is the mapping file from links.tar.gz or genes_ko.list.gz in the database, with the modification that KO identifiers as the first column and linked identifiers as the second.

After the configuration, each step can be run by:

bash ruby 01_trim_qc.HiSeq.rb

Owner

  • Login: noriakis
  • Kind: user
  • Location: Japan

Citation (CITATION.cff)

cff-version: 1.2.0
authors:
- family-names: "Kimura"
  given-names: "Yasumasa"
- family-names: "Yamamoto"
  given-names: "Mako"
- family-names: "Uematsu"
  given-names: "Miho"
- family-names: "Sato"
  given-names: "Noriaki"
- family-names: "Fujimoto"
  given-names: "Kosuke"
- family-names: "Uematsu"
  given-names: "Satoshi"
- family-names: "Imoto"
  given-names: "Seiya"
title: "Shotgun metagenomics processing pipeline"
version: 1.0.0
url: "https://github.com/noriakis/metagenome-pipeline"

GitHub Events

Total
Last Year