Maker-Sapelo2: Difference between revisions
No edit summary |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category: | [[Category:Sapelo2]][[Category:Software]][[Category:Bioinformatics]] | ||
=== Category === | === Category === | ||
Line 6: | Line 6: | ||
=== Program On === | === Program On === | ||
Sapelo2 | |||
=== Version === | === Version === | ||
3.01. | 3.01.04 | ||
=== Author / Distributor === | === Author / Distributor === | ||
Line 24: | Line 24: | ||
=== Running Program === | === Running Program === | ||
Also refer to [[Running Jobs on | Also refer to [[Running Jobs on Sapelo2]] | ||
Version 3.01. | Version 3.01.04 is installed at /apps/eb/Maker/3.01.04-foss-2022a | ||
Example to prepare the configuration files. | Example to prepare the configuration files. | ||
<pre class="gscript"> | <pre class="gscript"> | ||
module load | module load MAKER/3.01.04-foss-2022a | ||
maker -CTL | maker -CTL | ||
</pre> | </pre> | ||
Command "maker -CTL" will generate the configuration files maker_bopts.ctl, maker_evm.ctl, maker_exe.ctl, maker_opts.ctl in your | Command "maker -CTL" will generate the configuration files '''maker_bopts.ctl''', '''maker_evm.ctl''', '''maker_exe.ctl''', and '''maker_opts.ctl''' in your working 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 57: | Line 57: | ||
cd $SLURM_SUBMIT_DIR | cd $SLURM_SUBMIT_DIR | ||
ml | ml MAKER/3.01.04-foss-2022a | ||
mpirun -n 60 maker | mpirun -n 60 maker | ||
Line 79: | Line 79: | ||
cd $SLURM_SUBMIT_DIR | cd $SLURM_SUBMIT_DIR | ||
ml | ml MAKER/3.01.04-foss-2022a | ||
maker -cpu 16 | maker -cpu 16 | ||
Line 100: | Line 100: | ||
cd $SLURM_SUBMIT_DIR | cd $SLURM_SUBMIT_DIR | ||
ml | ml MAKER/3.01.04-foss-2022a | ||
maker | maker | ||
Line 109: | Line 109: | ||
qsub ./sub.sh | qsub ./sub.sh | ||
</pre> | </pre> | ||
=== Documentation === | === Documentation === | ||
Line 116: | Line 115: | ||
<pre class="gcommand"> | <pre class="gcommand"> | ||
ml | ml MAKER/3.01.04-foss-2022a | ||
maker -h | maker -h | ||
MAKER version 3.01. | MAKER version 3.01.04 | ||
Usage: | Usage: | ||
Line 211: | Line 210: | ||
-help|? Prints this usage statement. | -help|? Prints this usage statement. | ||
</pre> | </pre> | ||
Latest revision as of 10:06, 6 September 2023
Category
Bioinformatics
Program On
Sapelo2
Version
3.01.04
Author / Distributor
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 Sapelo2
Version 3.01.04 is installed at /apps/eb/Maker/3.01.04-foss-2022a
Example to prepare the configuration files.
module load MAKER/3.01.04-foss-2022a 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 working 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.04-foss-2022a 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.04-foss-2022a 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.04-foss-2022a 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.04-foss-2022a maker -h MAKER version 3.01.04 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.
Installation
Source download from http://www.yandell-lab.org/
System
64-bit Linux