Coder Social home page Coder Social logo

stefanches7 / what_the_phage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from replikation/what_the_phage

0.0 1.0 0.0 36.72 MB

Phage identification via nextflow/docker

License: GNU General Public License v3.0

Nextflow 81.32% Dockerfile 7.91% R 1.72% Shell 7.11% Python 1.95%

what_the_phage's Introduction

logo

Twitter Follow Twitter Follow

What the Phage (WtP)

  • by Christian Brandt & Mike Marquet
  • this tool is currently under heavy development, so expect some bugs but feel free to report issues
  • a save bet is to use release or pre release candidates via -r releasenumber e.g. -r v0.5
    • these are tested

What is this Repo?

  • an attempt to streamline the usage of various phage identification and prediction tools
  • the main focus is stability an data filtering / analysis for the user
  • the tool is intended for fasta and nanopore fastq reads to identify phages in contigs/reads
  • prophage detection is not implemented

The following Phage-Tools are currently included

Workflow

chart

Installation

  • WtP runs with the workflow manager nextflow using docker
  • this means all the other programs are automatically pulled via docker
  • Only docker and nextflow needs to be installed

Easy Installation

  • if you dont have experience with bioinformatic tools use this
  • just copy the commands into your terminal to set everything up
sudo apt-get update
sudo apt install -y default-jre
curl -s https://get.nextflow.io | bash 
sudo mv nextflow /bin/
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
sudo usermod -a -G docker $USER
  • restart your computer

  • try out the installation by entering the following

nextflow run replikation/What_the_Phage -r v0.5 --fasta ~/.nextflow/assets/replikation/What_the_Phage/test-data/all_pos_phage.fasta

Normal Installation

  • this is the default choice

Dependencies

  • docker (add docker to your Usergroup, so no sudo is needed)
  • nextflow + java runtime
  • git (should be already installed)
  • wget (should be already installed)
  • tar (should be already installed)
  • Docker installation here
  • Nextflow installation here
  • move or add the nextflow executable to a bin path
  • add docker to your User group via sudo usermod -a -G docker $USER

Execution

  • for local use of the master branch you could either clone the git and do:
./phage.nf --fasta 'test-data/*.fasta'
  • or execute it directly via a release candidate ( -r releasenumber , e.g. -r v0.5)
nextflow run replikation/What_the_Phage -r v0.5 --fasta 'your-fasta-files/*.fa'
# or
nextflow run replikation/What_the_Phage -r v0.5 --fasta your-file.fasta
  • long-read input is supported via --fastq

Tool control

  • all the tools can be separatly turned off via adding the related option flag
    • e.g. adding --ma to your command deactivates marvel
  • execute --help for all options
# in this case Marvel (ma) and deepvirfinder (dv) are deactivated
nextflow run replikation/What_the_Phage -r v0.5 --fasta your-file.fasta --dv --ma

Temporary files

  • all temporary files are stored in /tmp/nextflow-phage-$USER
  • you can change the location via adding '-work-dir new/path/here' to the command

Results

  • example output:

plot

Help

nextflow run replikation/What_the_Phage --help
# or
./phage.nf --help

what_the_phage's People

Contributors

replikation avatar mult1fractal avatar hoelzer avatar

Watchers

James Cloos 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.