Hi there,
I am trying to get my PHG imputation pipeline running. I use a small reference panel and a large low-coverage nested population to be imputed. The first part of the pipeline run properly, creating the pangenome.fa, aligning the read using minimap2, but after it made the graph, an error message appears:
[pool-1-thread-1] INFO net.maizegenetics.pangenome.api.CreateGraphUtils - createEdges: creating edges from nodes. [pool-1-thread-1] INFO net.maizegenetics.pangenome.api.CreateGraphUtils - createEdges: time:1.35681E-4 secs. [pool-1-thread-1] DEBUG net.maizegenetics.plugindef.AbstractPlugin - bound must be positive.
Then it points to the DiplodPathPlugin and finalises reporting the same "bounds must be positive" error. Also, it doesn't write any output. I checked the key file for the proper setup, and it's ok.
Could you please give me some advice to overcome this error? Thanks a lot!
First, thanks for the quick replay. So, answering your questions. (1) PHG version 1.4 (2) There are 37 nodes and 9 of reference ranges. However, this appends one step before and then, the error occurs. please check the lines:
Will you send me both your commands and your full log file? lcj34@cornell.edu
Sure. The command is:
And the log file is this one: https://github.com/mjrodriguezc/questions/blob/main/log_file_phg.txt
The log file shows an error processing the key file in the FastqToReadMappingPlugin step. See the lines that contain "ERROR net.maizegenetics.pangenome.hapCalling.Minimap2Utils - input directory does not contain both of .... "
Check your keyfile and run imputation again.
Additionally, your minTaxa value should be equal to or less than the number of taxa you have. It looks like you only have 5 taxa, but your minTaxa value is 20. "minTaxa" should be set to 5 or less. This value represents the minimum number of taxa per anchor reference range. When creating the path, ranges with fewer taxa will not be included in the output node list.
Thank you so much. I made the suggested changes. However, I still have the same problem. Please check the new log file.
https://github.com/mjrodriguezc/questions/blob/main/log_phg_imputation_2.txt
Note: I am using two samples as a test; nevertheless, the error is the same when I use the whole progeny.