conchoecia / odp

oxford dot plots
GNU General Public License v3.0
134 stars 10 forks source link

Error in rule plot_synteny_nocolor #74

Open HX-FAshur opened 6 months ago

HX-FAshur commented 6 months ago

As the title says, I'm getting an error in rule plot_synteny_nocolor with the following config:

ignore_autobreaks: True       # Skip steps to find breaks in synteny blocks
diamond_or_blastp: "diamond"  # "diamond" or "blastp"
duplicate_proteins: "pass"    # currently only "fail" or "best". Fail doesn't allow duplicate names or seqs
plot_LGs: False                # Plot the ALGs based on the installed databases
plot_sp_sp: True              # Plot the synteny between two species, if False just generates .rbh files

species:
  CutaneotrichosporonspHIS471:
    proteins: odp/files/CutaneotrichosporonspHIS471MT.faa
    chrom: odp/files/CutaneotrichosporonspHIS471MT.chrom
    genome: odp/files/CutaneotrichosporonspHIS471MT.fasta
  CutaneotrichosporonCavernicolaHIS641:
    proteins: odp/files/CutaneotrichosporonCavernicolaHIS641MT.faa
    chrom: odp/files/CutaneotrichosporonCavernicolaHIS641MT.chrom
    genome: odp/files/CutaneotrichosporonCavernicolaHIS641MT.fasta

Below, you can see the complete error message. Also, I've attached the complete log as well as the input files (as .txt's) for the failing job:

Terminal output

image 2024-05-19T190337.595789.snakemake.log

Files

CutaneotrichosporonCavernicolaHIS641_CutaneotrichosporonspHIS471_reciprocal_best_hits.D.FET.rbh.txt CutaneotrichosporonCavernicolaHIS641_CutaneotrichosporonspHIS471.chromsize

stsmall commented 4 months ago

I fixed this by adding matplotlib.use('agg') to the file in PATH/scripts/odp at line 48