Skip to content

Commit

Permalink
modified minimap2 option on liftoff to handle small rnas
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjo255 committed Jan 24, 2025
1 parent e8e0aed commit f20b5b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mitnanex_reference.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ pipe_exec(){
fi
vars_definition
map_reads
#variant_calling
variant_calling
#annotate_vcf
#plot_vcf
plot_vcf
#annotate_mito
#mitomap

Expand Down
4 changes: 2 additions & 2 deletions scripts/annotate_mito.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ annotate_mito(){
create_wd $annot_folder
annot_file="$annot_folder/$prefix.liftoff.gff"

liftoff -g $ref_gff "$consensus_mitogenome" \
liftoff -g $ref_gff "$consensus_mitogenome" -mm2_options="-a --end-bonus 0 --eqx -N 5 -p 0.8 -k10 -w3" \
"$exec_path/refseqMT/chrMT.fna" -o $annot_file

echo "$timestamp [ATTENTION]: Mitochondrial consensus annotation file is at" $annot_file

}
}
2 changes: 1 addition & 1 deletion scripts/plots_vcf.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## PARAMETERS FOR PLOTTING VCF

# General options
devpars = {width = 1000, height = 1000, res = 200}
devpars = {width = 1300, height = 1000, res = 200}
passed = true

# Plots
Expand Down

0 comments on commit f20b5b8

Please sign in to comment.