Closed bsalehe closed 10 months ago
Two thoughts:
Is there anything in the constant_sites.txt
file?
Is there sufficient memory on the machines?
Two thoughts:
Is there anything in the
constant_sites.txt
file?Is there sufficient memory on the machines?
Yes, with cat results/snp-sites/constant_sites.txt
I get the following output
692542,1311546,1307543,691941
Hmm, does it at least read in the alignment before crashing?
It could be a memory issue. We're currently running a course in the room, so these machines are potentially quite stretched.
You could try running free -h
to see how much free memory there is at the moment.
For example, on my test instance I only have 7G free at the moment.
@bsalehe The potential cause of the problem occurred to me on my drive home. The -fconst
flag expects the contents of constant_sites.txt not the file so two ways to edit the script:
-fconst 692542,1311546,1307543,691941
(copy and paste contents of constant_sites.txt)
-fconst $(cat results/snp-sites/constant_sites.txt)
(directly input contents of constant_sites.txt)
This -fconst $(cat results/snp-sites/constant_sites.txt)
did the job. So, do we need to update the script for participants?
Thanks both!
In the answer to the exercise I've used -fconst $(cat results/snp-sites/constant_sites.txt)
. Perhaps I should change the example code above in the course materials so it's not 692240,1310839,1306835,691662
I think using the numbers might be a bit easier. As I revise the materials, I can adjust the exercise to be more explicit that they are supposed to copy the contents of the file into the command, not use the path to the file.
Humm... I think we will need to include $(cat results/snp-sites/constant_sites.txt)
after all, because the script itself generates the file, so there's no in-between step where they calculate these values and look at them.
Maybe instead I can include a couple of FIX_INPUT_FASTA_FILE
for the snp-sites
input files. So, at least they can think about what should be used as input at these steps.
Humm... I think we will need to include
$(cat results/snp-sites/constant_sites.txt)
after all, because the script itself generates the file, so there's no in-between step where they calculate these values and look at them.Maybe instead I can include a couple of
FIX_INPUT_FASTA_FILE
for thesnp-sites
input files. So, at least they can think about what should be used as input at these steps.
I included $(cat results/snp-sites/constant_sites.txt)
when I was running script for S_aureus. I agree.
Hi @tavareshugo and @avantonder. I am continuing to test the pipeline/scripts as participant with M_tuberculosis isolate. I am running script
05-run_iqtree.sh
. Unfortunately. I keep getting this weird error:-I wonder if any you experienced this error. Any idea what is wrong with inputs or command. Below is the script I modified after successfully running the
04-mask_pseudogenome.sh
script.Cheers!