Mugsy error -directory must be a directory
0
0
Entering edit mode
4.0 years ago
A_heath ▴ 170

Hi all,

I'm just starting with Mugsy for genome alignments and I have some trouble with the usage of Mugsy.

I installed it using bioconda and when I activate Mugsy with: conda activate Mugsy it works because I can have access to the help page.

I'm using this command line:

mugsy --directory /data/output_mugsy --prefix mygenomes genome1.fasta genome2.fasta

but I have the following error message:

-directory must be a directory at /home/administrateur/miniconda3/envs/Mugsy/bin/mugsy line 235.

I tried to look online but unfortunately didn't find anything that helped me.. So If by chance, you have any idea on how I can fix this, please let me know!

Thank you in advance for your much appreciated help

Audrey

Mugsy • 1.1k views
ADD COMMENT
0
Entering edit mode

See this previous post. In short, did you read the whole error message and did you set MUGSY_INSTALL in mugsyenv.sh?

ADD REPLY
0
Entering edit mode

Thank you for your reply. Yes, i've aldready edited the file mugsyenv.sh:

#!/bin/sh
export MUGSY_INSTALL=/home/administrateur/Téléchargements/mugsy_x86-64-v1r2.2/mugsy
export PATH=$PATH:$MUGSY_INSTALL:$MUGSY_INSTALL/mapping
export PERL5LIB=$MUGSY_INSTALL/perllibs
#For testing TBA
#export PATH=$PATH:$MUGSY_INSTALL/../../multiz-tba/trunk/

But I still have the same issue

ADD REPLY
0
Entering edit mode

Did you do the following after editing the file as suggested by @h.mon in thread @Jean-Karim linked?

source mugsyenv.sh
ADD REPLY
0
Entering edit mode

Yes, I did that too. In my Ubuntu terminal, I have this:

(Mugsy) administrateur:~$

and when I do:

(Mugsy) administrateur:~$ mugsy -h

I have the help instructions

So I don't know where the issue is ...

ADD REPLY
0
Entering edit mode

Does /data/output_mugsyexist?

ADD REPLY
0
Entering edit mode

No it doesn't exist. Where should I create this directory?

ADD REPLY
0
Entering edit mode

Since you are indicating that as the location for the output (with --directory) I guess you should make it in that same location.

ADD REPLY

Login before adding your answer.

Traffic: 2061 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6