Closed mossmatters closed 1 year ago
Hello, please could you help me? I have the same problem; even when I try to modify the --figure_length option this doesn't work. I have 2500 genes, and I need figure_length: 745.67 inches, (74566 x 3300 pixels) for my Heatmap. Can you guide me? What can I do to obtain the image?
Hi @mossmatters and @marianaherreraco,
Can you upload the seq_lengths.tsv
files that produce these errors, please?
Cheers,
Chris
Hello, thank you for your answer. Unfortunately, I can not upload the file. I received this message "We don’t support that file type. Tray again with a GIF, JPEG, JPG, MOV, MP4, PNG, SVG, WEBM, CSV, DOCX, FODG, FODP, FODS, FODT, GZ, LOG, MD, ODF, ODG, ODP, ODS, ODT, PATCH, PDF, PPTX, TGZ, TXT, XLS, XLSX or ZIP." Styling with Markdown is supported.
@marianaherreraco are you able to zip the file, then upload it?
seq_lengths (2).zip Dear @chrisjackson-pellicle , here is the file. Thank you, for your response.
Hi @marianaherreraco,
Thanks for that!
I'll release an update for HybPiper that deals with this issue automatically, but for the moment you can produce a heatmap from your seq_lengths.tsv
file using the command:
hybpiper recovery_heatmap seq_lengths.tsv --heatmap_dpi 100 --figure_length 400
However, did you know that your seq_length.tsv
file has a value of zero for all genes and samples? Did you perhaps run the hybpiper stats
command from the wrong directory?
Cheers,
Chris
Hello @chrisjackson-pellicle Thank you, with your modification worked to generate the HeatMap. However, is true that using stats, the result hybpiper_stats (1).zip gave me Zero in all the seq_length, and for hybpiper_stats even when I have reads mapped, PctOnTarget and GenesMapped, I obtained zero GeneswithContigs (From genes with mapped reads, the number of genes for which SPAdes assembled contigs), so maybe is an issue the the assemble? I'm working in the same folder, should I modify the path to run the stats? Thank you for your support. Mariana
Hi @marianaherreraco,
Hmm, it looks like something went wrong with the SPAdes assemblies. Can you upload the sample log file for one of your samples (found in the sample directory, with a name like <prefix>_hybpiper_assemble_<date_time>.log
), as well as any other relevant logs e.g. PBS/SLURM job logs?
Cheers,
Chris
@mossmatters @marianaherreraco - the heatmap issue should be resolved in HybPiper version 2.1.6, which has the changes:
Cheers,
Chris
Dear @chrisjackson-pellicle thank you, here, I have included three files. Please, Can you check these logs? SPADES.zip Thank you for your support. M
Hi @marianaherreraco - thanks for those files.
The issue is caused by the quotation marks ("
) that are present in some of the gene names in your target file, e.g. PpGH49_019_g230350-"Alpha_1,2_mannosyltransferase"_g230350
.
For HybPiper v2.1.7 I'll insert a check/warning for this, but in the meantime you can remove them using the following command:
sed 's/"//g' test_targets.fasta > test_targets_fixed.fasta
Then, re-run HybPiper using the test_targets_fixed.fasta
target file.
Let me know how you go!
Cheers,
Chris
Thank you, yes, I did. Now everything runs pretty well. I had an issue with the paralogs, but I used --heatmap_dpi 100 --figure_length 400, and the run worked smoothly. Thank you for your quick answer. I appreciate your time and kindness. M
An error submitted to me by email using
hybpiper gene_recovery_heatmap
that the plot area was too wide. The script calculated it needed 87550x2300 pixels but apparently matplotlib has a limit of 65536 pixels. When the figure length was set manually to "400 inches" the heatmap was generated. The full error::