-
Notifications
You must be signed in to change notification settings - Fork 4
Mikado commands
swarbred edited this page May 17, 2022
·
8 revisions
cd /home/train/Annotation_workshop/Mikado/Chr3-1065466-1464870/6_Full_Mikadomikado configure --full --list list.txt --reference Inputs/Assembly/Athaliana_447_TAIR10.Chr3.fa --junctions Inputs/Junctions/portcullis.pass.junctions.regionA.bed -bt Inputs/Homology/selected_species.fa --scoring plant.yaml --copy-scoring plant.yaml configuration.toml2 Run mikado prepare to remove redundancy, fix or remove problematic transcripts and extract the transcript sequences
mikado prepare -p 1 --json-conf configuration.tomlprodigal -g 1 -f gff -i mikado_prepared.fasta -o mikado_prepared.cds.gffdiamond blastx --threads 1 -q mikado_prepared.fasta -d Homology/selected_species -o mikado_prepared_matches.tsv --outfmt 6 qseqid sseqid pident length mismatch gapopen qstart qend sstart send evalue bitscore ppos btopmikado serialise -p 1 --tsv mikado_prepared_matches.tsv --orfs mikado_prepared.cds.gff --json-conf configuration.tomlmikado pick -p 1 --subloci-out mikado.subloci.gff3 --monoloci-out mikado.monoloci.gff3 --output-dir MyOutput --json-conf configuration.tomlmikado compare -r Athaliana_447_Araport11.gene_exons.regionA.gtf -p MyOutput/mikado.loci.gff38 Run mikado util stats to generate the gene stats for the mikado genemodels and the reference genemodels
mikado util stats MyOutput/mikado.loci.gff3 mikado.loci.gff3.stats
mikado util stats Athaliana_447_Araport11.gene_exons.regionA.gtf Athaliana_447_Araport11.gene_exons.regionA.gtf.statspaste <(cut -f1,2,3 Athaliana_447_Araport11.gene_exons.regionA.gtf.stats |sed "1i Reference\t") <(cut -f2,3 mikado.loci.gff3.stats |sed "1i Mikado") |tabulate -1 -s '\t' -f grid |tee Reference_and_Mikado.stats10 Try editing the scoring or configuration file OR using one of the alternative configuration and scoring files
mikado pick -p 1 --subloci-out mikado.subloci.gff3 --monoloci-out mikado.monoloci.gff3 --output-dir MyOutput2 --json-conf Alt_configs/2022_configuration.toml --scoring-file Alt_configs/2022_plant.yamlDoes this improve the gene models?
The entire process can be run using the provided bash script commands.sh # you will be prompted to provide alternative configuration and scoring files, press enter for the indicated default.