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

Syntax confusion regarding sequencing_platform #26

Open
JohnUrban opened this issue Oct 4, 2022 · 2 comments
Open

Syntax confusion regarding sequencing_platform #26

JohnUrban opened this issue Oct 4, 2022 · 2 comments

Comments

@JohnUrban
Copy link

Hi,

Thanks for the cool tool. I hope to get it running.

I have been trying to get it run with the following command syntax:

${GALA} ${DRAFTS} -a canu fq ${READS} -nanopore-corrected

It gave this error:

usage: gala -h  [options] <draft_names & paths> <fa/fq> <reads> <platform>
gala: error: the following arguments are required: draft_names, input_file, reads, sequencing_platform

I tried taking out -a canu, it gave a new error:

${GALA} ${DRAFTS} -fq ${READS} -nanopore-corrected


usage: gala -h  [options] <draft_names & paths> <fa/fq> <reads> <platform>
gala: error: the following arguments are required: sequencing_platform

To get past this error, I had to remove the dash "-" in front of nanopore-corrected:

${GALA} ${DRAFTS} fq ${READS} nanopore-corrected

That got it past that error, but I am currently dealing with Minimap2 now yelling about something, which I will diagnose and report back on.

Speaking to that error though, it seems to me that the syntax guidance on the frontpage of this github repo says to use the following for sequence platforms:

-pacbio-raw -pacbio-corrected -nanopore-raw -nanopore-corrected

...yet that front dash causes a problem.

So perhaps the syntax guidance needs changing, or the argparse code regarding this positional argment.

Best,

John Urban

@JohnUrban
Copy link
Author

p.s. I am using Python 3.9.12 -- and am wondering if that is causing problems. I tried python 2.7 as listed a sa req, but all the python code seems to explicitly request python3. I know sometimes the later python 3 sub-versions don't play well with code written in the earlier python 3 sub-versions. So that is why I am wondering what version of Python 3 were you using while developing Gala?

@JohnUrban
Copy link
Author

p.p.s. Python 3.6 gives all the same errors....

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

1 participant