Coder Social home page Coder Social logo

Comments (5)

cdanielmachado avatar cdanielmachado commented on June 12, 2024

Hi @rdmtinez,

Thanks for the detailed description. Why are you using the -r option with a single genome file?

Would you mind just trying again without the -r and see if the problem persists ?

Also, if you are using .fna files (i.e. nucleotide sequences) you must always use the --dna option.

from carveme.

rdmtinez avatar rdmtinez commented on June 12, 2024

Greetings @cdanielmachado,

I used -r because it was a batch process I was running when I noticed the errors and forgot to delete it during my post--just a typo really.

-Ricardo

from carveme.

cdanielmachado avatar cdanielmachado commented on June 12, 2024

Hi Ricardo,

I am not sure if I understand what is the issue you are trying to submit here...

If I understand correctly, you are saying if the correct options are not provided, things do not work as expected.

If you give the program nucleotide sequences without the --dna flag it fails.

If you do not give the -o option, things don't go into the expected output folder.

Is that correct?

from carveme.

rdmtinez avatar rdmtinez commented on June 12, 2024

That exactly right @cdanielmachado ... I had some typos in my code and then I realized these things so I decided to post about it. It was just surprising to see the "output" being a folder with the given name rather than some file when '-o' is omitted and decided to mention it.

from carveme.

cdanielmachado avatar cdanielmachado commented on June 12, 2024

Ok, I think I understand it a bit better now.

All arguments which are not preceded by a flag are considered to be input files. Therefore, when you omit the -o flag, it will take your second argument, and assume it is a second genome file.

If you don't use the -r option, you get the following error:

carve: error: Use -r when specifying more than one input file

But because you used -r, it assumed you were giving it multiple genome files to run in parallel. Diamond will receive your output folder as a genome file to process, and it will fail.

I think there is really nothing that can be done here. It is normal for command line tools to fail when you don't specify the arguments correctly.

from carveme.

Related Issues (20)

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.