wangdong-ls / ginger Goto Github PK
View Code? Open in Web Editor NEWThis project forked from i10labtitech/ginger
License: GNU General Public License v3.0
This project forked from i10labtitech/ginger
License: GNU General Public License v3.0
# GINGER: Gradual INtegrated GEne Reconstruction <<<<<<< HEAD ## Description ################################################################# ======= >>>>>>> 188193d80a99275cb238f04871a0fd80de32615f GINGER is a tool that is implemented an integrated method for gene structure prediction in higher eukaryotes. RNA-Seq-based methods, ab initio-based methods, homology-based methods are performed, and then gene structures are reconstructed via dynamic programming with appropriately weighted and scored exon/intron/intergenic regions. Different prediction processes and filtering criteria are applied to multi-exon and single-exon genes. This pipeline is implemented using Nextflow. ## Web site #################################################################### <https://github.com/i10labtitech/GINGER> <https://anaconda.org/i10labtitech/ginger> ## Requirements ################################################################ See "Requirements" section in INSTALL. ## Installation ################################################################ See "Installation" section in INSTALL. ## Synopsis #################################################################### ### Settings ################################################################### Set nextflow.config properly. See "Settings" section in INSTALL ### Inputs ##################################################################### * A file containing genome sequences (multi FASTA format) * A file containing masked genome sequences by RpeatMasker (multi FASTA format) * A file containing repeat information by RpeatMasker (***.out) * A file containing RNA-Seq 1 (FASTQ format) * A file containing RNA-Seq 2 (FASTQ format) * Files containing closely related species ### Commands A (using the Docker image) ######################################### The command to kick the docker image with the prepared Perl script is as follows. (Docker image: i10labtitech/tools:GINGER_v1.0.1) '''sh generateSampleData_cel [Directory name for sample input data (e.g. sample_data_cel)] # Copy and edit nextflow.config runGINGER.pl nextflow.config.user ''' * Edit the [The path to the directory that contains 'sample_data_cel/'] part of the variable named INPUT_GENOME, INPUT_GENOME, INPUT_MASKEDGENOME, INPUT_REPOUT. INPUT_RNASEQR1, INPUT_RNASEQR2, PROTEIN * Edit the [The path to the output directory (e.g. '/XXX/XXX/sample_data_cel/'] part of the variable named PDIR. * Edit the variable (path to scrach directory) named SCRATCH. * Edit the variable (number of threads used) named N_THREAD. * Edit the variable (maximum memory size used) named MAX_MEMORY. * Edit the variable named RNASEQ_OTHER#, HOMOLOGY_OTHER#, ABINITIO_OTHER#, (paths) RNASEQ_OTHER#_WEIGHT, HOMOLOGY_OTHER#_WEIGHT, ABINITIO_OTHER#_WEIGHT, (weights) when you want to use your annotation data to predict gene structures in GINGER. # is the number of annotation data. '''sh cd /XXX/XXX/output_cel/ runEvaluatePred.pl /XXX/XXX/sample_data_cel/GCF_000002985.6_WBcel235_genomic.gff ./ginger_phase2.gff RNA CDS RNA CDS ''' ### Commands B (using installed GINGER) ########################################## The command to run GINGER after installing it is as follows. Put nextflow.config into your working directory. If you want to run the preparation phase all at once, type like following. phase2.sh requires an argument specifying minimum CDS length. 50 is an example. If you have installed the conda package using "conda" or "mamba" command, you can obatain the automatically configured nextflow.config file for tool paths in the current directory using the "gingerInitCfg" command. '''sh(If you have installed the conda package using "conda" or "mamba" command) mamba install -c i10labtitech ginger gingerInitCfg # Then, a nextflow.config file will be generated in the current directory. # Edit the paths of input files, the output directory, the scratch directory path, # the number of threads used, and the maximum memory capacity, among other settings, # in the nextflow.config file. ''' '''sh nextflow -C nextflow.config run /path/to/pipeline/ginger.nf /path/to/pipeline/phase0.sh nextflow.config /path/to/pipeline/phase1.sh nextflow.config > phase1.log /path/to/pipeline/phase2.sh 50 /path/to/pipeline/summary.sh nextflow.config ''' [Note] "/path/to/pipeline/" a path to a directory <"pipeline/" in GINGER's source tree> [Note] An automatically calculated threshold for the score is written like "score threshold = 1.25" in phase1.log. If you want to run each methods separetely in the preparation phase, type like following. abinitio.nf must be executed after mapping.nf. The order in which denovo.nf and homology.nf are executed do not depend on them. '''sh nextflow -C nextflow.config run /path/to/pipeline/mapping.nf nextflow -C nextflow.config run /path/to/pipeline/denovo.nf nextflow -C nextflow.config run /path/to/pipeline/abinitio.nf nextflow -C nextflow.config run /path/to/pipeline/homology.nf /path/to/pipeline/phase0.sh nextflow.config /path/to/pipeline/phase1.sh nextflow.config > phase1.log /path/to/pipeline/phase2.sh 50 /path/to/pipeline/summary.sh nextflow.config ''' To set a threshold for reconstructed gene structure's scores in the merge phase, type like following (use phase1_manual.sh instead of phase1.sh). The first argument is the threshold. 1.0 is an example. '''sh /path/to/pipeline/phase1_manual.sh nextflow.config 1.0 ''' ### Final output ############################################################### The final outputs: * ginger_phase2.gff : gene structures by GINGER (GFF3) [Note] See http://gmod.org/wiki/GFF3 for details. * ginger.pep : protein sequences of the gene structurs (FASTA) * ginger.cds : CDS of the gene structures (FASTA) * ginger_stats.tsv : statistical information of gene structures
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.