SionBayliss / PIRATE

A toolbox for pangenome analysis and threshold evaluation.
GNU General Public License v3.0
88 stars 29 forks source link

Missing output files and coregenom files #84

Closed mrojas80 closed 1 year ago

mrojas80 commented 1 year ago

Hi, I am running PIRATE and am getting an issue where the core genome isn't being created and a few of the output files are missing. The run seems to have gone normally so I am not sure what happened. I checked the log file and it reads as follows:

PIRATE input options:


Standardising and checking input files:



Extracting pangenome sequences:


Constructing pangenome sequences:

Options:

I found this error in the slurm log (I can add that as well if you need it):

I then checked the fail_test.txt file:

parallel: Warning: $HOME not set. Using /tmp. parallel: Warning: $HOME not set. Using /tmp. parallel: Warning: $HOME not set. Using /tmp. parallel: Warning: $HOME not set. Using /tmp. parallel: Warning: $HOME not set. Using /tmp. parallel: Warning: $HOME not set. Using /tmp.

The above is all that is written in the file. I don't think this would impact the pangenome construction, so I am not sure what went wrong. I do not get the desired core genome fasta file and other output files.

Any assistance would be greatly appreciated.

SionBayliss commented 1 year ago

It looks like one of you environmental variables ($HOME) hasn't been set. This isn't an issue with PIRATE but with your wider environment. A quick google of "$HOME not set." brings up some potential solutions and flags where this has impacted on other software.

How did you install PIRATE and what environment are you using?

All the best, S

mrojas80 commented 1 year ago

You were correct it was a dependency issue! After adding a line to add $HOME to my .bashrc I was able to get all of the outputs when I ran on a small number of files (5). I ran it in a conda virtual environment with all of the dependencies and it now appears to work as intended. Thanks for your assistance!

SionBayliss commented 1 year ago

No problem, glad I could help.

S