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

sudo run fimoall.sh get permission denied #4

Open
Roger-GOAT opened this issue Jan 29, 2023 · 1 comment
Open

sudo run fimoall.sh get permission denied #4

Roger-GOAT opened this issue Jan 29, 2023 · 1 comment

Comments

@Roger-GOAT
Copy link

Hi, thanks for the great job! I get an error hoping for your help.
In terminal
sudo sh ./fimoall.sh

Or rstudio

### run the following codes in the R under linux environment
refdir='./Downloads/package/IReNA/mm39.fa.gz'
fimodir <- './meme' (I am not sure this is right?)
outputdir1 <- './irena/'
motifdir <- './Downloads/motif/'
find_motifs_targetgenes(gene_tss,motif1,refdir,fimodir,outputdir1,motifdir)
### run fimo_all script in shell
shell_code <- paste0('echo "password" | sudo -S sh ',outputdir1,'fimo/fimoall.sh')
system(shell_code,wait=TRUE) 

./irena/fimo/ENSMUSG00000024782/Fimo1.sh: 1: ./meme: Permission denied
..........
./irena/fimo/ENSMUSG00000024782/Fimo1.sh: 500: ./meme: Permission denied

I get a lot of .txt files with 0B size.
fimodir <- './meme' (I am not sure this is right?)

@Roger-GOAT
Copy link
Author

I set fimodir <- as './meme/bin/fimo',the error shows like this:

sh: 0: cannot open ./irena/fimo/ENSMUSG00000085633/Fimo1.sh: No such file

......

sh: 0: cannot open ./irena/fimo/ENSMUSG00000024782/Fimo1.sh: No such file

but the file is exist and was opened like this

./meme/bin/fimo --parse-genomic-coord --max-stored-scores 2000000 --text >./irena/fimo/ENSMUSG00000024782/M00041.txt ./Downloads/motif/M00041.txt ./irena/fasta/ENSMUSG00000024782.fa;

......
./meme/bin/fimo --parse-genomic-coord --max-stored-scores 2000000 --text >./irena/fimo/ENSMUSG00000024782/M00056.txt ./Downloads/motif/M00056.txt ./irena/fasta/ENSMUSG00000024782.fa;

would you give some tips? thanks!
best,

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

1 participant