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

Execution problem #29

Closed
ellalalalalalala opened this issue Aug 5, 2021 · 3 comments
Closed

Execution problem #29

ellalalalalalala opened this issue Aug 5, 2021 · 3 comments

Comments

@ellalalalalalala
Copy link

Hi :)

I´m trying to run SPRINT via script, not from command line. The folder, I start the script in, contains sprint, bwa and samtools as subfolders. I have two questions.

  1. When I´m trying to run sprint prepare and sprint main via script I get the error:
    /DIRECTION/sprint-0.1.7/sprint: Is a directory

In a previous issue, I found, that you suggested to run "chmod 777 sprint", which I ran in the sprint folder, but it didn´t resolve the problem.

Do you have an idea, what went wrong or what I could do to resolve this issue?

  1. The Github page suggests, that there is "sprint_from_bam.py" in the main folder of sprint ("sprint-0.1.7"). I don´t find it in my installed folder. How could I add or execute it?

Thanks a lot in advance!

@jumphone
Copy link
Owner

jumphone commented Aug 5, 2021

  1. Please check wether you can run /DIRECTION/sprint-0.1.7/sprint from command line.

  2. You can download it from: https://github.com/jumphone/SPRINT/blob/master/sprint_from_bam.py

@ellalalalalalala
Copy link
Author

Thanks for your fast answer! :)

  1. I moved to the directory of the main sprint folder ("sprint-0.1.7"), established the python 2.7.8 environment and tried to run the "sprint prepare" command. Didn´t work ("-bash: sprint: command not found")! So probably something with my configuration wrong? Everything seemed fine when I followed the installation instructions.

  2. Great, I will do that, thank you!

@jumphone
Copy link
Owner

jumphone commented Aug 5, 2021

You can download the github release: https://github.com/jumphone/SPRINT/releases;
Then, uncompress the file and move into the folder;
Finally, you can use "python run.py prepare" and "python run.py main" to use sprint

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