-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phyla_AMPHORA writing files into installation directory #4
Comments
You can change $tax_dir in Phylotyping.pl to a directory where the user has permission to write.
|
Thank you very much for the fast reply. I will change $tax_dir. |
I had another look at this issue and figured out that the files are not directly created by Phyla_AMPHORA, but rather by calling the perl function Bio::DB::Taxonomy->new(). Are these files only useful during a single Phyla_APMPHORA run or do users need to keep them for a longer time ? If they are only useful for the time span of a single job, then I would rather change the Phylotyping.pl script and replace the line
with
$TMPDIR is the temporary directory created by the cluster's batch system (IBM LSF). Can you please comment on this ? Best regards |
These files can be used by multiple users and only need to be created once. You should keep them for a longer time.
|
Dear Martin Wu,
I recently installed Phyla_AMPHORA on the HPC cluster of ETH Zurich. Then one of our users reported problems when running the script Phylotyping.pl, because it crashed with the following error:
After investigating the problem, I figured out that the program tries to write files into the directory $Phyla_AMPHORA_home/Taxonomy, which is part of the installation directory of the software. On a HPC cluster, this is a problem. We strictly separate installation directories from the data, that is created during a job. The installation directory is owned by a technical user, and the users running jobs on the cluster do not have write permission in any of the software installation directories.
Is there a way to redirect the files "nodes", "parents", "id2names" and "names2id" to a different directory in user space ?
The text was updated successfully, but these errors were encountered: