Code Monkey home page Code Monkey logo

deepsea-predict-docker's People

Contributors

haoyangz avatar matted avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

chuangjerrydrum

deepsea-predict-docker's Issues

Cannot read absolute input path for fasta file

When running the following command:
docker run -v $(pwd)/output:/output --rm haoyangz/deepsea-predict-docker python rundeepsea.py $(pwd)/example.fasta /output

Generates the following error:

cp: cannot stat '/Users/username/Desktop/fasta_files/example.fasta': No such file or directory
Finished creating output file. Now clean up...
Everything done.
Traceback (most recent call last):
  File "rundeepsea.py", line 19, in <module>
    check_call(['cp',infilename,tempdir+'/infile.fasta'])
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cp', '/Users/username/Desktop/fasta_files/example.fasta', '/tmp/tmpfL0dlh/infile.fasta']' returned non-zero exit status 1

This does not happen when running the same command in python out of docker. Any ideas?

Illegal instruction issue on older CPUs

Reported by Robert Küffner:

Illegal instruction (core dumped)
...
Traceback (most recent call last):
  File "rundeepsea.py", line 27, in <module>
    check_call(["luajit 2_DeepSEA.lua -test_file_h5 "+tempdir+"/infile.fasta.ref.h5"],shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['luajit 2_DeepSEA.lua -test_file_h5 /tmp/tmpk_5oxX/infile.fasta.ref.h5']' returned non-zero exit status 132

our CPU according to cat /proc/cpuinfo:

vendor_id    : GenuineIntel
cpu family    : 6
model        : 15
model name    : Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz

Repo goals

How is this different (or how will it be different) from the other repo, deepsea-docker?

run on GPU

I have a question for this : how can we run the code on GPU for predicting?

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.