Code Monkey home page Code Monkey logo

Comments (7)

ldenti avatar ldenti commented on July 29, 2024

Hi, can you try running

python3 asgal.py -h

?

from galig.

Lisijun-m avatar Lisijun-m commented on July 29, 2024

Unfortunately, when I use the example data of gene CG13375 in Drosophila Melanogaster I got the same error:

This is the command I executed:
~/galig/asgal -g genome.fa -a annotation.gtf -s sample_1.fa -o asgal_out

This is the error:

Traceback (most recent call last):
  File "/dat1/lisijun/galig/asgal", line 12, in <module>
    from Bio import SeqIO
ModuleNotFoundError: No module named 'Bio'

from galig.

Lisijun-m avatar Lisijun-m commented on July 29, 2024

Hi, can you try running

python3 asgal.py -h

?

Command:
python3 asgal.py -h

Error:
python3: can't open file 'asgal.py': [Errno 2] No such file or directory

I searched though the galig directory, the bin directory and the scripts directory, but I can't find a python script named asgal.py. Where can I find asgal.py?

from galig.

ldenti avatar ldenti commented on July 29, 2024

Sorry, my fault, the script is asgal:

python3 asgal -h

(this from the root of this repo).

from galig.

Lisijun-m avatar Lisijun-m commented on July 29, 2024

Sorry, my fault, the script is asgal:

python3 asgal -h

(this from the root of this repo).

It works! Now I can run the example data by asgal, thank you!

(By the way, I am wondering why there were errors like no python modules when executing asgal directly...)

from galig.

ldenti avatar ldenti commented on July 29, 2024

Great. I suspect it is due to the shebang

galig/asgal

Line 1 in 8808115

#!/usr/bin/python3

Can you try to change it to

#!/usr/bin/env python

and try again with

./asgal -h

?

from galig.

Lisijun-m avatar Lisijun-m commented on July 29, 2024

Since I installed ASGAL in a conda environment, I changed
#!/usr/bin/python3
as
!/dat1/lisijun/miniconda3/envs/asgal/bin/python

And it turns out that the command works! Thank you!
./asgal -h

from galig.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.