Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run biobox cli on mac #36

Open
nate-d-olson opened this issue May 4, 2017 · 2 comments
Open

unable to run biobox cli on mac #36

nate-d-olson opened this issue May 4, 2017 · 2 comments
Assignees

Comments

@nate-d-olson
Copy link

Error with writing temp files. Error message below

biobox run short_read_assembler bioboxes/velvet --input reads.fq.gz --output contigs.fa
Traceback (most recent call last):
  File "/Users/nolson/Library/Python/2.7/bin/biobox", line 9, in <module>
    biobox.run()
  File "/Users/nolson/Library/Python/2.7/lib/python/site-packages/biobox_cli/main.py", line 30, in run
    util.select_module("command", opts["<command>"]).run(args)
  File "/Users/nolson/Library/Python/2.7/lib/python/site-packages/biobox_cli/command/run.py", line 26, in run
    ctnr = bbx.run(argv)
  File "/Users/nolson/Library/Python/2.7/lib/python/site-packages/biobox_cli/biobox_helper.py", line 48, in run
    self.after_run(output, output_dir)
  File "/Users/nolson/Library/Python/2.7/lib/python/site-packages/biobox_cli/biobox_type/short_read_assembler.py", line 39, in after_run
    biobox_output = fle.get_biobox_file_contents(host_dst_dir)
  File "/Users/nolson/Library/Python/2.7/lib/python/site-packages/biobox_cli/biobox_file.py", line 9, in get_biobox_file_contents
    with open(os.path.join(dir_, 'biobox.yaml'), 'r') as f:
IOError: [Errno 2] No such file or directory: '/var/folders/nn/7vxcyd6j6h75rp1zxxg71q78001_l1/T/tmprPDTht/biobox.yaml'
@michaelbarton michaelbarton self-assigned this May 4, 2017
@michaelbarton
Copy link
Contributor

I went over this problem with @nate-d-olson. The error appears to result from the fastq.gz file path not being correct when being given to the biobox Docker container. The error message doesn't convey this output to the user, instead the CLI just crashes out with an obscure error message. The solutions to this are to solve #32 and #31 in the python library, then update the command line interface to correspondingly handle the same cases too.

@michaelbarton
Copy link
Contributor

I created the issues bioboxes/command-line-interface#111 and bioboxes/command-line-interface#112, which should also be resolved too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants