gene_prediction_with_braker2_pipeline
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gene_prediction_with_braker2_pipeline [2023/12/08 10:42] – 134.190.232.149 | gene_prediction_with_braker2_pipeline [2025/11/18 14:23] (current) – [Genome-guided transcriptome assembly] 134.190.191.148 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Gene prediction with Braker2 pipeline ====== | + | ====== Gene prediction with the Braker2 pipeline====== |
| GP using machine learning and extrinsic hints by **DE Salas-Leiva** (last updated Oct-21-2020)\\ | GP using machine learning and extrinsic hints by **DE Salas-Leiva** (last updated Oct-21-2020)\\ | ||
| Line 25: | Line 25: | ||
| ===== Repeat masking ===== | ===== Repeat masking ===== | ||
| + | |||
| + | From the BRAKER1 paper: | ||
| + | |||
| + | " | ||
| + | |||
| + | Some repetitive elements in your genome may per-chance look like ORFs or even protein coding genes. The main purpose of masking these repeats is to prevent your gene predictor from even looking at these regions, so they will not predict any false positive genes there. | ||
| Mask the repetitive regions in your assembly using the following shell script. BuildDatabase and RepeatModeler will create a species-specific library of repeats from your genome, and then RepeatMasker will use that library to mask repetitive regions in your assembly. | Mask the repetitive regions in your assembly using the following shell script. BuildDatabase and RepeatModeler will create a species-specific library of repeats from your genome, and then RepeatMasker will use that library to mask repetitive regions in your assembly. | ||
| Line 73: | Line 79: | ||
| ===== RNAseq mapping ===== | ===== RNAseq mapping ===== | ||
| + | RNAseq data is direct evidence of which areas of your genome are expressed. Mapping your RNAseq data to your genome with a splice-aware mapper such as Hisat2 will yield information on the starts and stops of protein coding genes, as well as, most importantly perhaps, the start and stop coordinates of introns. | ||
| On the masked assembly map the RNAseq using Hisat2, sort the output and create a depth file: | On the masked assembly map the RNAseq using Hisat2, sort the output and create a depth file: | ||
| Line 123: | Line 130: | ||
| #$ -cwd | #$ -cwd | ||
| #$ -pe threaded 10 | #$ -pe threaded 10 | ||
| + | |||
| cd $PWD | cd $PWD | ||
| + | |||
| source activate trinity-2.11-with-workaround | source activate trinity-2.11-with-workaround | ||
| - | Trinity --CPU 10 --max_memory 100G --genome_guided_bam yourgenome.fasta.sambamsorted.bam --genome_guided_max_intron 1000 --SS_lib_type RF | + | |
| + | Trinity | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| conda deactivate | conda deactivate | ||
| </ | </ | ||
| Line 140: | Line 156: | ||
| ===== Braker2 ===== | ===== Braker2 ===== | ||
| + | [[https:// | ||
| + | |||
| + | - Intron start and end coordinates (//intron hints//) are extracted from the RNAseq BAM file | ||
| + | - These are then used along with the genome FASTA file to train GeneMarkET | ||
| + | - The trained GeneMarkET performs an "//ab initio//" | ||
| + | - Those predicted gene structures for which all introns are supported by the RNAseq data (//anchored introns//) are selected to train AUGUSTUS | ||
| + | - The trained AUGUSTUS now predicts gene structures using again the intron hints as " | ||
| + | |||
| + | {{:: | ||
| + | |||
| + | The intron hints are extracted using a the '' | ||
| + | |||
| + | If you only use RNAseq as extrinsic evidence, you essentially can only use //donor splice site// and //acceptor splice site// hints. If you also have protein homology information, | ||
| + | |||
| + | The intron hints contain explicit location information and influence the optimal path through the GHMM machine (AUGUSTUS+ paper, Stanke et al 2006). It is important to note that since this is a probabilistic model, **hints can sometimes be ignored if the intrinsic information is strong enough!** | ||
| Predict genes using Genemark-ET and Augustus through braker2: | Predict genes using Genemark-ET and Augustus through braker2: | ||
gene_prediction_with_braker2_pipeline.1702046576.txt.gz · Last modified: by 134.190.232.149
