How to fix this error: Too many positional arguments (1)?












-1















FASTA file: /home/farhana/Desktop/Long Assignment/seqfasta.fa
FASTA type: protein
Proceed? [y/n] (Default: y): y
Enter a database title or will use 'seqfasta': seqfasta.fa
Enter taxid (optional):
USAGE
makeblastdb [-h] [-help] [-in input_file] [-input_type type]
-dbtype molecule_type [-title database_title] [-parse_seqids]
[-hash_index] [-mask_data mask_data_files] [-mask_id mask_algo_ids]
[-mask_desc mask_algo_descriptions] [-gi_mask]
[-gi_mask_name gi_based_mask_names] [-out database_name]
[-blastdb_version version] [-max_file_sz number_of_bytes]
[-logfile File_Name] [-taxid TaxID] [-taxid_map TaxIDMapFile] [-version]

DESCRIPTION
Application to create BLAST databases, version 2.8.1+

Use '-help' to print detailed descriptions of command line arguments
========================================================================

Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: Assignment/seqfasta.fa









share|improve this question





























    -1















    FASTA file: /home/farhana/Desktop/Long Assignment/seqfasta.fa
    FASTA type: protein
    Proceed? [y/n] (Default: y): y
    Enter a database title or will use 'seqfasta': seqfasta.fa
    Enter taxid (optional):
    USAGE
    makeblastdb [-h] [-help] [-in input_file] [-input_type type]
    -dbtype molecule_type [-title database_title] [-parse_seqids]
    [-hash_index] [-mask_data mask_data_files] [-mask_id mask_algo_ids]
    [-mask_desc mask_algo_descriptions] [-gi_mask]
    [-gi_mask_name gi_based_mask_names] [-out database_name]
    [-blastdb_version version] [-max_file_sz number_of_bytes]
    [-logfile File_Name] [-taxid TaxID] [-taxid_map TaxIDMapFile] [-version]

    DESCRIPTION
    Application to create BLAST databases, version 2.8.1+

    Use '-help' to print detailed descriptions of command line arguments
    ========================================================================

    Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: Assignment/seqfasta.fa









    share|improve this question



























      -1












      -1








      -1








      FASTA file: /home/farhana/Desktop/Long Assignment/seqfasta.fa
      FASTA type: protein
      Proceed? [y/n] (Default: y): y
      Enter a database title or will use 'seqfasta': seqfasta.fa
      Enter taxid (optional):
      USAGE
      makeblastdb [-h] [-help] [-in input_file] [-input_type type]
      -dbtype molecule_type [-title database_title] [-parse_seqids]
      [-hash_index] [-mask_data mask_data_files] [-mask_id mask_algo_ids]
      [-mask_desc mask_algo_descriptions] [-gi_mask]
      [-gi_mask_name gi_based_mask_names] [-out database_name]
      [-blastdb_version version] [-max_file_sz number_of_bytes]
      [-logfile File_Name] [-taxid TaxID] [-taxid_map TaxIDMapFile] [-version]

      DESCRIPTION
      Application to create BLAST databases, version 2.8.1+

      Use '-help' to print detailed descriptions of command line arguments
      ========================================================================

      Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: Assignment/seqfasta.fa









      share|improve this question
















      FASTA file: /home/farhana/Desktop/Long Assignment/seqfasta.fa
      FASTA type: protein
      Proceed? [y/n] (Default: y): y
      Enter a database title or will use 'seqfasta': seqfasta.fa
      Enter taxid (optional):
      USAGE
      makeblastdb [-h] [-help] [-in input_file] [-input_type type]
      -dbtype molecule_type [-title database_title] [-parse_seqids]
      [-hash_index] [-mask_data mask_data_files] [-mask_id mask_algo_ids]
      [-mask_desc mask_algo_descriptions] [-gi_mask]
      [-gi_mask_name gi_based_mask_names] [-out database_name]
      [-blastdb_version version] [-max_file_sz number_of_bytes]
      [-logfile File_Name] [-taxid TaxID] [-taxid_map TaxIDMapFile] [-version]

      DESCRIPTION
      Application to create BLAST databases, version 2.8.1+

      Use '-help' to print detailed descriptions of command line arguments
      ========================================================================

      Error: (CArgException::eSynopsis) Too many positional arguments (1), the offending value: Assignment/seqfasta.fa






      command-line






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 3 at 11:41









      karel

      58.1k12128146




      58.1k12128146










      asked Jan 3 at 11:36









      Farhana NizamFarhana Nizam

      82




      82






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Long and Assignment in line 1 are interpreted by the Bash shell as too many positional arguments, 2 instead of 1. Instead enclose the whole path in quotes like this:
          '/home/farhana/Desktop/Long Assignment/seqfasta.fa'

          or connect Long and Assignment with a connecting character like this Long-Assignment to make it a single positional argument instead of two separate arguments. You can also escape the space character between Long and Assignment by preceding it with a backslash which makes it not interpreted by the shell as a special character.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106556%2fhow-to-fix-this-error-too-many-positional-arguments-1%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Long and Assignment in line 1 are interpreted by the Bash shell as too many positional arguments, 2 instead of 1. Instead enclose the whole path in quotes like this:
            '/home/farhana/Desktop/Long Assignment/seqfasta.fa'

            or connect Long and Assignment with a connecting character like this Long-Assignment to make it a single positional argument instead of two separate arguments. You can also escape the space character between Long and Assignment by preceding it with a backslash which makes it not interpreted by the shell as a special character.






            share|improve this answer






























              2














              Long and Assignment in line 1 are interpreted by the Bash shell as too many positional arguments, 2 instead of 1. Instead enclose the whole path in quotes like this:
              '/home/farhana/Desktop/Long Assignment/seqfasta.fa'

              or connect Long and Assignment with a connecting character like this Long-Assignment to make it a single positional argument instead of two separate arguments. You can also escape the space character between Long and Assignment by preceding it with a backslash which makes it not interpreted by the shell as a special character.






              share|improve this answer




























                2












                2








                2







                Long and Assignment in line 1 are interpreted by the Bash shell as too many positional arguments, 2 instead of 1. Instead enclose the whole path in quotes like this:
                '/home/farhana/Desktop/Long Assignment/seqfasta.fa'

                or connect Long and Assignment with a connecting character like this Long-Assignment to make it a single positional argument instead of two separate arguments. You can also escape the space character between Long and Assignment by preceding it with a backslash which makes it not interpreted by the shell as a special character.






                share|improve this answer















                Long and Assignment in line 1 are interpreted by the Bash shell as too many positional arguments, 2 instead of 1. Instead enclose the whole path in quotes like this:
                '/home/farhana/Desktop/Long Assignment/seqfasta.fa'

                or connect Long and Assignment with a connecting character like this Long-Assignment to make it a single positional argument instead of two separate arguments. You can also escape the space character between Long and Assignment by preceding it with a backslash which makes it not interpreted by the shell as a special character.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 3 at 12:03

























                answered Jan 3 at 11:50









                karelkarel

                58.1k12128146




                58.1k12128146






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106556%2fhow-to-fix-this-error-too-many-positional-arguments-1%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Mont Emei

                    Province de Neuquén

                    Journaliste