path error
1
0
Entering edit mode
14 months ago

Hi everyone

Im tryinng to run the populations module of stacks but im getting this error " Failed to open '/stacks/pop_534/populations.log' for writing"

my script;

populations -P $PWD/stacks/m5M3n4_denovo_mrf --popmap ./popmap_mrf.txt -O /stacks/pop_534  -p 1 -r 0.8 --min-maf 0.05 --fasta-samples --fasta-loci --vcf --genepop ---write-single-snp --threads 3

pwd: /home/mariana/libreria/rawdata/radtags01

input data directory - P: /home/mariana/libreria/rawdata/radtags01/stacks/m5M3n4_denovo_mrf

output data -O : /home/mariana/libreria/rawdata/radtags01/stacks/pop_534

popmap : is in pwd so i only put ./popmap_mrf.txt

Thanks in advance

Mariana

script stacks • 666 views
ADD COMMENT
0
Entering edit mode
14 months ago
rfran010 ★ 1.3k

It looks like you have an absolute path where I think you want a relative path?

  -O ./stacks/pop_534
ADD COMMENT
1
Entering edit mode

oh thanks i added the dot and it run :D

ADD REPLY
0
Entering edit mode

validate the answer by clicking on the check mark on the left please

ADD REPLY

Login before adding your answer.

Traffic: 2043 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6