This is a test version of Biostars. For the public version, visit https://www.biostars.org.
bash: /snp-frequency-diff.pl: Permiso denegado

Cordial greetings.

Trust you are all well. I would love to have your help please. Im trying to execute this command:

perl </home/anderson/bioinformatica/Ensayo_poolseq/popoolation2_1201>/snp-frequency-diff.pl --input pools_all.sync --output-prefix pools_all_delta --min-count 2 --min-coverage 5 --max-coverage 32,39,32,31

But I keep getting this error:

bash: /snp-frequency-diff.pl: Permiso denegado

I have tried already to change the permissions using:

sudo chmod777 snp-frequency-diff.pl

But it does not work propertly

I will appreciate any help please.

Thank you so much.

perl gwas popoolation2 linux

1 answer

don't use sudo when it's not needed

your path are weird what are those '<' and '>' in </home/anderson/bioinformatica/Ensayo_poolseq/popoolation2_1201>/snp-frequency-diff.pl ?

the command should be chmod a+x /home/anderson/bioinformatica/Ensayo_poolseq/popoolation2_1201/snp-frequency-diff.pl

run, using the full path

/home/anderson/bioinformatica/Ensayo_poolseq/popoolation2_1201/snp-frequency-diff.pl   --input pools_all.sync --output-prefix pools_all_delta --min-count 2 --min-coverage 5 --max-coverage 32,39,3 ...

Cordial greetings.

Doctor PIerre Lindenbaum I trust you are well. I really appreciate your comment. Your solution has worked well.

Thank you so much for everything.

Cordial greetings. Doctor PIerre I trust you are well. I really appreciate your comment. Your solution has worked well. Thank you so much for everything.

Log in to answer this question.