-
Notifications
You must be signed in to change notification settings - Fork 6
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
Problem with writing permissions on CentOS #31
Comments
Hi Gergo, thanks for helping improve |
Hi, Thanks for helping. I am using CentOS7, no encryption and here is the session info:
|
Hi @palfalvi, No idea why CentOS7 (with an unencrypted home) fails. I do know that I use As a work-around -it will be ugly, one could specify all temporary files. These are the defaults: bbt_run <- function(
# Your arguments
beast2_output_log_filename = tempfile(pattern = "beast2_", fileext = "log"),
beast2_output_trees_filenames = tempfile(
pattern = paste0(
"beast2_",
beautier::get_alignment_ids(fasta_filenames), "_"
),
fileext = ".trees"
),
beast2_output_state_filename = tempfile(
pattern = "beast2_", fileext = ".xml.state"
),
) Change it to: bbt_run <- function(
# Your arguments
beast2_output_log_filename = "~/beast2.log",
beast2_output_trees_filenames = paste0("~/", get_alignment_id(fasta_filenames), ".trees"),
beast2_output_state_filename = "~/beast2.xml.state"
) I hope that helps. If yes or no, please let me know. It would help me, to reproduce the bug in a Continuous Integration service. Cheers, Richel |
Hi @palfalvi, I've added #33 ('Detect if babette is run on CentOS') to at least give a warning when babette is run on an untested OS. I am sorry I cannot help as long as I cannot let Travis or AppVeyor produce a CentOS environment. Well, you'll probably notice more often that the *buntus have all the support... If you find a way for me to help (in a scalable way), I'd be happy to do so 👍 |
This is the reprex, so I can check if it works: library(babette)
fasta_name <- get_babette_path("anthus_aco.fas")
mrca_priors <- create_mrca_prior(
taxa_names = get_taxa_names(fasta_name),
alignment_id = get_alignment_id(fasta_name),
mrca_distr = create_normal_distr(mean = 15.0, sigma = 0.025)
)
mcmc <- create_mcmc(chain_length = 2000, store_every = 1000)
out <- bbt_run(fasta_name, mcmc = mcmc, mrca_priors = mrca_priors) Yes, this works on my OS (Lubuntu 16.10) and Travis and AppVeyor. |
Unhappily closing the Issue 🙁 |
Hi,
Thank you for your effort, it is a great initiative. I would love to try how babette can fit in some automated pipeline.
I was just trying out
babette
with some example data, but I got the following issue:I could not find any workaround for this issue. Do you have any idea how to solve?
Thank you in advance!
Best,
Gergo
The text was updated successfully, but these errors were encountered: