Plasmer icon indicating copy to clipboard operation
Plasmer copied to clipboard

an path error

Open Rainingfeeling opened this issue 1 year ago • 5 comments

When I run Plasmer, the following error happens. I installed Plasmer by conda.

mkdir: cannot create directory ‘/intermediate’: Permission denied mkdir: cannot create directory ‘/results’: Permission denied /home/jyzhang/softwares/Plasmer/scripts/Plasmer: line 116: /intermediate/TAP_All_flye.seqkit: No such file or directory ERROR: seqkit didn't find any sequences! Please check your input file.

Rainingfeeling avatar Sep 28 '23 03:09 Rainingfeeling

@Rainingfeeling Hello, I have the same issue. If you managed to solve it could you please let me know?

Mona011 avatar Nov 17 '23 15:11 Mona011

Hi,

I am facing the same issue. Could you please help?

SimranKushwaha avatar Apr 04 '24 16:04 SimranKushwaha

Hello @Rainingfeeling @Mona011 @SimranKushwaha ,

I'm sorry to hear you're encountering issues with Plasmer. To assist you better, could you please provide some additional information:

How exactly did you install Plasmer? (e.g., using Conda, from scratch, etc.) What exact command(s) are you using when you encounter this error? Understanding the specifics of your installation and the commands that lead to the error will help in diagnosing the problem and providing a more accurate solution. It’s also helpful to know whether you've attempted any troubleshooting steps on your own.

Thank you for your cooperation, and I look forward to helping you resolve these issues.

iskoldt-X avatar Apr 08 '24 20:04 iskoldt-X

Hi, thanks for the tool.

I had the same issue (downloaded Plasmer with Conda (version:build:channel - 23.04.20:py310_1:iskoldt). From a quick look at the Plasmer code, it seemed like the "-o/--outpath" arguments were not being properly recognized, leading to attempts to mkdir at "/intermediate" and "/results" rather than at "${outpath}/intermediate" and "${outpath}/results." If you do not have sudo/root/admin privileges, you will get permission denied if you try to write files to "/"

It turns out that I used the argument "-out" instead of "-o" so I am making a note of this here in case someone else has a similar issue. I would recommend that Plasmer throw an error specifying an invalid argument in this case (if this hasn't already been accounted for). Thank you!

nikhilg123 avatar May 04 '24 20:05 nikhilg123

Hi, thanks for the tool.

I had the same issue (downloaded Plasmer with Conda (version:build:channel - 23.04.20:py310_1:iskoldt). From a quick look at the Plasmer code, it seemed like the "-o/--outpath" arguments were not being properly recognized, leading to attempts to mkdir at "/intermediate" and "/results" rather than at "${outpath}/intermediate" and "${outpath}/results." If you do not have sudo/root/admin privileges, you will get permission denied if you try to write files to "/"

It turns out that I used the argument "-out" instead of "-o" so I am making a note of this here in case someone else has a similar issue. I would recommend that Plasmer throw an error specifying an invalid argument in this case (if this hasn't already been accounted for). Thank you!

Hi @nikhilg123 , thank you for the effort! I will definitely look into it, thank you for your advice.

iskoldt-X avatar May 06 '24 22:05 iskoldt-X