Git Product home page Git Product logo

mfinder's Introduction

mFinder

This set of scripts was developed to identify and to generate intrahost/co-infection consensus genomes of SARS-CoV-2. The test sequences were generate by reference genome assembly with bowtie2 usign the SRR13418742 data from Gupta et al. 2021 REF.

Disclaimer

  • This repository is out of date, the current development of this script was incorporated as a step of the workflow present in this link in python_scripts/intrahost.py.

Preparing the Enviroment

This script need 2 pre-installed tools:

With the bam-readcount and MAFFT intalled, you can use conda to install all dependencies:

conda env create -f mFinder.yml

conda activate mFinder

Usage

The main.sh compile all steps to perform the analysis, and 3 files should be parsed:

  • reference = reference wuhan genome (NC_045512.2)

  • consensus = the consensus genome that will be screened to intrahost variants

  • sorted_bam = sorted bam file that was used to generate the consensus sequences

  • Running

bash main.sh reference consensus sorted_bam

  • Test files:

bash main.sh test_files/NC_045512v2.fa test_files/SRR13418742.consensus.fa test_files/SRR13418742.sorted.bam

Outputs

  • *.tsv.fmt.minors.tsv.fmt - tab separed file with the nucleotide diversity by intrahost variant postition, the nucleotide and depth of minor and major variants
  • *.algn.major.fa - fasta alignment with the major variant consensus sequence
  • *.algn.minor.fa - fasta alignment with the minor variant consensus sequence

Some limitations

  • The name of consensus and sorted_bam files should contain the sequence name header of consenus sequences;
  • This set of scripts didn't recovery intrahost variants related do indel regions, these region ones should be investigated manually.

mfinder's People

Contributors

dezordi avatar

Stargazers

Emerson Rocha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.