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

Error in SEACR_1.3.sh running #98

Open
dhurjhotisaha opened this issue Jan 24, 2024 · 1 comment
Open

Error in SEACR_1.3.sh running #98

dhurjhotisaha opened this issue Jan 24, 2024 · 1 comment

Comments

@dhurjhotisaha
Copy link

Hi,
I am getting the following error while running SEACR_1.3.sh for my CUT-RUN data. Kindly suggest.

Error in file(file, "rt") : cannot open the connection
Calls: read.table -> file
In addition: Warning message:
In file(file, "rt") : cannot open file 'PdBn????????????????????????????????????b????????????????????????????????????S????????????????????????????????????d????????????????????????????????????????????????????????????????????????????????????????????????????????????.auc': File name too long
Execution halted

Thanks in advance!
Best
-Dhurjhoti

@ahanden
Copy link

ahanden commented Apr 5, 2024

SEACR creates a number of temporary files during its run. The filenames are generated on lines 56 and 57 of SEACR_1.3.sh

password=`head /dev/urandom | LC_CTYPE=C tr -dc A-Za-z0-9 | head -c 13; echo ''`
password2=`head /dev/urandom | LC_CTYPE=C tr -dc A-Za-z0-9 | head -c 13; echo ''`

Depending on your operating system, the temporary filenames come out unusable (like what you have). You can replace these lines with something like

password=`mktemp`
password2=`mktemp`

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