permissom error ?

Issue #96 resolved
Former user created an issue

python -m resfinder -ifa /data1/MFDS_analysis/theragen1130/JH1-60/00.spades/contigs.fasta -s "staphylococcus aureus" -l_p 0.6 -t_p 0.95 --acquired --point -o /data1/MFDS_analysis/theragen1130/JH1-60/02.resfinder -k /data1/tools/resfinder/kma/ -db_res /data1/tools/resfinder/resfinder_db/ -db_point /data1/tools/resfinder/pointfinder_db/ -b /data1/tools/ncbi-blast-2.13.0+/bin/blastn Traceback (most recent call last): File "/data1/tools/anaconda3/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/data1/tools/anaconda3/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/data1/tools/anaconda3/lib/python3.9/site-packages/resfinder/main.py", line 5, in <module> sys.exit(main()) File "/data1/tools/anaconda3/lib/python3.9/site-packages/resfinder/run_resfinder.py", line 238, in main blast_results = acquired_finder.blast( File "/data1/tools/anaconda3/lib/python3.9/site-packages/resfinder/cge/resfinder.py", line 71, in blast blast_run = Blaster(inputfile=inputfile, databases=self.databases, File "/data1/tools/anaconda3/lib/python3.9/site-packages/cgecore/blaster/blaster.py", line 40, in init os.chmod(tmp_out_path, 0o775) PermissionError: [Errno 1] Operation not permitted: '/data1/MFDS_analysis/theragen1130/JH1-60/02.resfinder/resfinder_blast/tmp'

Comments (2)

  1. CGE Helpdesk

    Dear Mr./Mrs.

    Thank you for your message and interest in ResFinder.

    Please make sure the user rights allow you to change mode of the files. You might have to run with sudo in front of your command. Please let me know if the issue persists.

    Best, Maja CGE Helpdesk

  2. Log in to comment