Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding Megahit separate module #35

Merged
merged 22 commits into from
Mar 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This pipeline wraps up the following software:

|| **Source** |
|:- | :- |
| **Assemblers** | [Canu](https://github.com/marbl/canu), [Flye](https://github.com/fenderglass/Flye), [Raven](https://github.com/lbcb-sci/raven), [Shasta](https://github.com/chanzuckerberg/shasta), [wtdbg2](https://github.com/ruanjue/wtdbg2), [Haslr](https://github.com/vpc-ccg/haslr), [Unicycler](https://github.com/rrwick/Unicycler), [Spades](https://github.com/ablab/spades), [Shovill](https://github.com/tseemann/shovill) |
| **Assemblers** | [Canu](https://github.com/marbl/canu), [Flye](https://github.com/fenderglass/Flye), [Raven](https://github.com/lbcb-sci/raven), [Shasta](https://github.com/chanzuckerberg/shasta), [wtdbg2](https://github.com/ruanjue/wtdbg2), [Haslr](https://github.com/vpc-ccg/haslr), [Unicycler](https://github.com/rrwick/Unicycler), [Spades](https://github.com/ablab/spades), [Shovill](https://github.com/tseemann/shovill), [Megahit](https://github.com/voutcn/megahit) |
| **Polishers** | [Nanopolish](https://github.com/jts/nanopolish), [Medaka](https://github.com/nanoporetech/medaka), [gcpp](https://github.com/PacificBiosciences/gcpp), [Pilon](https://github.com/broadinstitute/pilon) |
| **Quality check** | [QUAST](https://github.com/ablab/quast), [MultiQC](https://multiqc.info/) |

Expand Down
2 changes: 1 addition & 1 deletion conf/base.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process {

// The defaults for all processes
// The defaults for all processes (without labels)
cpus = { params.max_cpus }
memory = { params.max_memory }
time = { params.max_time }
Expand Down
3 changes: 3 additions & 0 deletions conf/defaults.config
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ params {
skip_unicycler = false // Hybrid and shortreads only assemblies
unicycler_additional_parameters = null // Must be given as shown in Unicycler manual. E.g. " --mode conservative --no_correct "

skip_megahit = false // Shortreads only assemblies
megahit_additional_parameters = null // Must be given as shown in Megahit manual. E.g. " --presets meta-large "

skip_haslr = false // Hybrid assemblies
haslr_additional_parameters = null // Must be given as shown in Haslr manual. E.g. " --cov-lr 30 "

Expand Down
4 changes: 4 additions & 0 deletions docs/_html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 887e9b50bee95a35f552f1f87891fdbc
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added docs/_html/.doctrees/config.doctree
Binary file not shown.
Binary file added docs/_html/.doctrees/environment.pickle
Binary file not shown.
Binary file added docs/_html/.doctrees/index.doctree
Binary file not shown.
Binary file added docs/_html/.doctrees/installation.doctree
Binary file not shown.
Binary file added docs/_html/.doctrees/manual.doctree
Binary file not shown.
Binary file added docs/_html/.doctrees/quickstart.doctree
Binary file not shown.
Binary file added docs/_html/.doctrees/samplesheet.doctree
Binary file not shown.
Binary file added docs/_html/_images/lOGO_3_transparente.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/_html/_sources/config.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.. _config:

Configuration File
==================

.. code-block:: bash

# To download a configuration file template users just need to run:
nextflow run fmalmeida/mpgap [--get_config]

# Using a config file your code is a lot more clean and concise:
nextflow run fmalmeida/mpgap -c [path-to-config]

Main config file
----------------

.. literalinclude:: ../nextflow.config
:language: groovy
50 changes: 50 additions & 0 deletions docs/_html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.. _index:

.. image:: lOGO_3_transparente.png
:width: 250
:align: left
:alt: laboratory logo

----

MpGAP
=====

`MpGAP <https://github.com/fmalmeida/mpgap>`_ is a pipeline developed with `Nextflow <https://www.nextflow.io/docs/latest/index.html>`_ and `Docker <https://www.docker.com/>`_. It was designed to provide an easy-to-use framework for *de novo* genome assembly of Illumina, Pacbio and Oxford Nanopore sequencing data through illumina only, long reads only or hybrid modes.

It wraps up the following tools:

.. list-table::
:widths: 40 60
:header-rows: 1

* - Analysis steps
- Used software

* - Long reads assembly
- `Canu <https://github.com/marbl/canu>`_, `Flye <https://github.com/fenderglass/Flye>`_, `Unicycler <https://github.com/rrwick/Unicycler>`_, `Raven <https://github.com/lbcb-sci/raven>`_, `Shasta <https://github.com/chanzuckerberg/shasta>`_ and `wtdbg2 <https://github.com/ruanjue/wtdbg2>`_

* - Hybrid assembly
- `Haslr <https://github.com/vpc-ccg/haslr>`_, `Unicycler <https://github.com/rrwick/Unicycler>`_ and `SPAdes <https://github.com/ablab/spades>`_

* - Short reads assembly
- `Shovill <https://github.com/tseemann/shovill>`_, `Unicycler <https://github.com/rrwick/Unicycler>`_, `Megahit <https://github.com/voutcn/megahit>`_ and `SPAdes <https://github.com/ablab/spades>`_

* - Assembly polishing
- `Nanopolish <https://github.com/jts/nanopolish>`_, `Medaka <https://github.com/nanoporetech/medaka>`_, `gcpp <https://github.com/PacificBiosciences/gcpp>`_ and `Pilon <https://github.com/broadinstitute/pilon>`_

* - Assembly QC
- `Quast <https://github.com/ablab/quast>`_ and `MultiQC <https://multiqc.info/>`_

.. toctree::
:hidden:

installation
quickstart
samplesheet
manual
config

Support Contact
---------------
Whenever a doubt arise feel free to contact me at [email protected]
50 changes: 50 additions & 0 deletions docs/_html/_sources/installation.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.. _installation:

Installation
============

Dependencies
------------

This pipeline requires only `Docker <https://www.docker.com/>`_ or `Singularity <https://sylabs.io/docs/>`_ and `Nextflow <https://www.nextflow.io/docs/latest/index.html>`_ to run.

1. Installing Docker or Singularity

+ Read more in the `docker <https://docs.docker.com/>`_ and `singularity <https://sylabs.io/docs/>`_ manuals

2. Installing Nextflow

``curl -s https://get.nextflow.io | bash``

3. Download the pipeline

``./nextflow pull fmalmeida/mpgap``

4. Test your installation

``./nextflow run fmalmeida/mpgap --help``

5. Download required Docker images

.. code-block:: bash

# for docker
docker pull fmalmeida/mpgap:v3.1

# for singularity
# remember to properly set NXF_SINGULARITY_LIBRARYDIR
# read more at https://www.nextflow.io/docs/latest/singularity.html#singularity-docker-hub
export NXF_SINGULARITY_LIBRARYDIR=MY_SINGULARITY_IMAGES
singularity pull --dir MY_SINGULARITY_IMAGES docker://fmalmeida/mpgap:v3.1

* To understand how to change between profiles please refer to https://github.com/fmalmeida/MpGAP/tree/master#selecting-between-profiles

* You can also run it with conda

6. (Optional) Install nf-core

``pip install nf-core>=1.10``

.. tip::

The pipeline requires a UNIX system, therefore, Windows users may successfully use this pipeline via the `Linux subsystem for windows <https://www.nextflow.io/blog/2021/setup-nextflow-on-windows.html>`_.
Loading