Maker-Sapelo2: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
No edit summary
Line 34: Line 34:
</pre>
</pre>


Command "maker -CTL" will generate the configuration files '''maker_bopts.ctl''', '''maker_evm.ctl''', '''maker_exe.ctl''', and '''maker_opts.ctl''' in your wokinf folder. You need to configure those configuration files before you run maker. Examples can be found at [http://weatherby.genetics.utah.edu/MAKER/wiki/index.php/MAKER_Tutorial_for_WGS_Assembly_and_Annotation_Winter_School_2018#Running_MAKER_with_example_data Running_MAKER_with_example_data].  
Command "maker -CTL" will generate the configuration files '''maker_bopts.ctl''', '''maker_evm.ctl''', '''maker_exe.ctl''', and '''maker_opts.ctl''' in your woking folder. You need to configure those configuration files before you run maker. Examples can be found at [http://weatherby.genetics.utah.edu/MAKER/wiki/index.php/MAKER_Tutorial_for_WGS_Assembly_and_Annotation_Winter_School_2018#Running_MAKER_with_example_data Running_MAKER_with_example_data].  


==== Running maker in a MPI job ====
==== Running maker in a MPI job ====
Line 109: Line 109:
qsub ./sub.sh
qsub ./sub.sh
</pre>
</pre>


=== Documentation ===
=== Documentation ===

Revision as of 16:09, 8 September 2020

Category

Bioinformatics

Program On

Sap2test

Version

3.01.03

Author / Distributor

Yandell-lab

Description

More details from http://gmod.org/wiki/MAKER_Tutorial#What_does_MAKER_do.3F

MAKER is an easy-to-use genome annotation pipeline designed to be usable by small research groups with little bioinformatics experience; however, MAKER is also designed to be scalable and is appropriate for projects of any size even including use by large sequence centers. MAKER can be used for de novo annotation of newly sequenced genomes, for updating existing annotations to reflect new evidence, or just to combine annotations, evidence, and quality control statistics for use in other GMOD programs like GBrowse, JBrowse, Chado, and Apollo.

Running Program

Also refer to Running Jobs on Sap2test

Version 3.01.03 is installed at /apps/gb/Maker/3.01.03

Example to prepare the configuration files.

module load Maker/3.01.03
maker -CTL

Command "maker -CTL" will generate the configuration files maker_bopts.ctl, maker_evm.ctl, maker_exe.ctl, and maker_opts.ctl in your woking folder. You need to configure those configuration files before you run maker. Examples can be found at Running_MAKER_with_example_data.

Running maker in a MPI job

Here is an example of submission script (sub.sh) for running maker in a MPI job of 60 MPI processes running on 5 nodes:

#!/bin/bash
#SBATCH --partition=batch
#SBATCH --job-name=maker-mpi
#SBATCH --ntasks=60
#SBATCH --ntasks-per-node=12
#SBATCH --cpus-per-task=1
#SBATCH --mem-per-cpu=1G
#SBATCH --time=8:00:00
#SBATCH --output=log.o%j
#SBATCH --export=NONE

export OMPI_MCA_mpi_warn_on_fork=0
unset SLURM_EXPORT_ENV

cd $SLURM_SUBMIT_DIR

ml Maker/3.01.03

mpirun -n 60 maker

Running maker in a memory-sharing threaded job

Here is an example of submission script (sub.sh) for running maker in a threaded job of 16 threads running on 1 node:

#!/bin/bash
#SBATCH --partition=batch
#SBATCH --job-name=Maker
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=16
#SBATCH --mem=20G
#SBATCH --time=8:00:00
#SBATCH --output=log.o%j
#SBATCH --export=NONE

cd $SLURM_SUBMIT_DIR

ml Maker/3.01.03

maker -cpu 16

Running maker in a single-core job

Here is an example of submission script (sub.sh) for running maker in a single-core job:

#!/bin/bash
#SBATCH --partition=batch
#SBATCH --job-name=Maker
#SBATCH --ntasks=1
#SBATCH --mem=10G
#SBATCH --time=8:00:00
#SBATCH --output=log.o%j
#SBATCH --export=NONE

cd $SLURM_SUBMIT_DIR

ml Maker/3.01.03

maker

Then submit the job by:

qsub ./sub.sh

Documentation

Maker wiki site is at https://weatherby.genetics.utah.edu/MAKER/wiki/index.php/Main_Page

ml Maker/3.01.03 
maker -h

MAKER version 3.01.03

Usage:

     maker [options] <maker_opts> <maker_bopts> <maker_exe>


Description:

     MAKER is a program that produces gene annotations in GFF3 format using
     evidence such as EST alignments and protein homology. MAKER can be used to
     produce gene annotations for new genomes as well as update annotations
     from existing genome databases.

     The three input arguments are control files that specify how MAKER should
     behave. All options for MAKER should be set in the control files, but a
     few can also be set on the command line. Command line options provide a
     convenient machanism to override commonly altered control file values.
     MAKER will automatically search for the control files in the current
     working directory if they are not specified on the command line.

     Input files listed in the control options files must be in fasta format
     unless otherwise specified. Please see MAKER documentation to learn more
     about control file  configuration.  MAKER will automatically try and
     locate the user control files in the current working directory if these
     arguments are not supplied when initializing MAKER.

     It is important to note that MAKER does not try and recalculated data that
     it has already calculated.  For example, if you run an analysis twice on
     the same dataset you will notice that MAKER does not rerun any of the
     BLAST analyses, but instead uses the blast analyses stored from the
     previous run. To force MAKER to rerun all analyses, use the -f flag.

     MAKER also supports parallelization via MPI on computer clusters. Just
     launch MAKER via mpiexec (i.e. mpiexec -n 40 maker). MPI support must be
     configured during the MAKER installation process for this to work though
     

Options:

     -genome|g <file>    Overrides the genome file path in the control files

     -RM_off|R           Turns all repeat masking options off.

     -datastore/         Forcably turn on/off MAKER's two deep directory
      nodatastore        structure for output.  Always on by default.

     -old_struct         Use the old directory styles (MAKER 2.26 and lower)

     -base    <string>   Set the base name MAKER uses to save output files.
                         MAKER uses the input genome file name by default.

     -tries|t <integer>  Run contigs up to the specified number of tries.

     -cpus|c  <integer>  Tells how many cpus to use for BLAST analysis.
                         Note: this is for BLAST and not for MPI!

     -force|f            Forces MAKER to delete old files before running again.
			 This will require all blast analyses to be rerun.

     -again|a            recaculate all annotations and output files even if no
			 settings have changed. Does not delete old analyses.

     -quiet|q            Regular quiet. Only a handlful of status messages.

     -qq                 Even more quiet. There are no status messages.

     -dsindex            Quickly generate datastore index file. Note that this
                         will not check if run settings have changed on contigs

     -nolock             Turn off file locks. May be usful on some file systems,
                         but can cause race conditions if running in parallel.

     -TMP                Specify temporary directory to use.

     -CTL                Generate empty control files in the current directory.

     -OPTS               Generates just the maker_opts.ctl file.

     -BOPTS              Generates just the maker_bopts.ctl file.

     -EXE                Generates just the maker_exe.ctl file.

     -MWAS    <option>   Easy way to control mwas_server for web-based GUI

                              options:  STOP
                                        START
                                        RESTART

     -version            Prints the MAKER version.

     -help|?             Prints this usage statement.

Back to Top

Installation

Source download from http://www.yandell-lab.org/

System

64-bit Linux