Skip to content
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

problems with estAvgError.R #613

Open
OthmanSN opened this issue Feb 3, 2024 · 1 comment
Open

problems with estAvgError.R #613

OthmanSN opened this issue Feb 3, 2024 · 1 comment

Comments

@OthmanSN
Copy link

OthmanSN commented Feb 3, 2024

Hi All,

I am using ANGSD to perform multipop ABBA-BABA test.

I was able to run -doAbbababa2 but have issues when I run estAvgError.R R script.

I get the following error

"Error in seq.default(1, lenList, numComb) : wrong sign in 'by' argument
Calls: seq -> seq.default
Execution halted"

I am not sure how to resolve this issue.

Thank you very much for your help.
Regards
SITI

@EwersAquaGenomics
Copy link

I also receive errors when trying to run estAvgError.R. These error messages differ whether I run the following command on a computing cluster or locally:
Rscript DSTAT angsdFile="bam.ABBABABA" out="result" sizeFile=”sizeFile.size” nameFile=”popNames.name”

When I try to run the following command on the computing cluster, I get:

-bash: /data100/software/ANGSD/v0.929/bin/angsd/R/: Not a directory

When I try to run the same command locally on my laptop, I get the following error:

(base) xx@ff ABBABABA % Rscript DSTAT angsdFile="bam.ABBABABA" out="result" sizeFile=”sizeFile.size” nameFile=”popNames.name”

angsdFile: bam.ABBABABA errFile: FALSE nameFile: ”popNames.name” sizeFile: ”sizeFile.size” out: result addErr: FALSE nIter: 100 maxErr: 0.02

Fehler in file(file, "rt") : kann Verbindung nicht öffnen
Ruft auf: unlist -> read.table -> file
Ausführung angehalten

Any ideas?
Thank you in advance,
Christine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants