Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to create output directory folder on velvet

    Hi all, i'm new here. I already download velvet 1.2.10. After I extract that file, I store it at Desktop/BioTool/velvet.

    I try to follow all the command as what manual wrote. The manual wrote like this:

    > make
    > ./velveth
    > ./velvetg
    > ./velveth sillyDirectory 21 -shortPaired data/test_reads.fa
    > ./velvetg sillyDirectory


    I wrote command like this:

    aconty@aconty-VirtualBox:~$ echo `export PATH=$PATH:~/Desktop/BioTool/velvet` >> ~/.bashrc

    aconty@aconty-VirtualBox:~$ > make
    aconty@aconty-VirtualBox:~$ > ./velveth
    aconty@aconty-VirtualBox:~$ > ./velvetg
    aconty@aconty-VirtualBox:~$ > ./velveth my_velvet_output 21 -shortPaired data/J99.fa
    my_velvet_output: command not found

    How do I create an output folder? Please help me.

  • #2
    If you run ./velveth by itself if should produce output for some basic help on screen. It is not apparent if you were able to see that (and have removed it in the post above).

    If you did not then you are going to likely need to add execute permissions to the velvet executables. You can do that by

    Code:
    $ chmod a+x velveth velvetg
    Verify that you are able to get the help output by running

    Code:
    $ ./velveth
    Then you can run command to start analysis.

    Comment


    • #3
      Thank for you quick reply GenoMax. I already add your cmd like this:

      aconty@aconty-VirtualBox:~$ echo `export PATH=$PATH:~/Desktop/BioTool/velvet` >> ~/.bashrc
      aconty@aconty-VirtualBox:~$ chmod a+x velveth velvetg
      aconty@aconty-VirtualBox:~$ ./velveth
      aconty@aconty-VirtualBox:~$ ln -s /path/to/Desktop/BioTool/velvet/project/folder/J99.fasta
      ln: failed to create symbolic link ‘./J99.fasta’: File exists
      aconty@aconty-VirtualBox:~$ ln -s /path/to/Desktop/BioTool/velvet/project/J99.fasta
      aconty@aconty-VirtualBox:~$ ln -s /path/to/Desktop/BioTool/velvet/project/HPAG1.fasta
      aconty@aconty-VirtualBox:~$ ./velveth my_velvet_folder 21 -shortPaired data/J99.fa
      aconty@aconty-VirtualBox:~$ ./velvetg
      aconty@aconty-VirtualBox:~$ ./velvetg my_velvet_output
      aconty@aconty-VirtualBox:~$ ./velveth my_velvet_output 35 -fasta -shortPaired -separate J99.fa HPAG1.fa
      aconty@aconty-VirtualBox:~$ ./velvetg my_velvet_output -clean yes -exp_cov 21 -cov_cutoff 2.81 -min_contig_lgth 200

      while i'm doing this. There is no feedback from SLUM and doesn't appear any basic held when I type ./velveth or ./velvetg

      And the output folder that I want to create is my_velvet_output. I did not see this folder appear in my velvet file. When I create this output folder, it should appear in my velvet file, right? If i'm wrong, please correct me.

      one more thing, why I cannot locate my fasta file into my velvet folder. Is there any other correct cmd tht I need to use?

      Please help me....

      Comment


      • #4
        Velvet will not create the output directory for you.

        You need to create a directory ($ mkdir my_velvet_output) where you want the velvet output to go, and give the name of that directory when you run velveth and velvetg.

        Note that velveth produces 3 files that are used by velvetg, so you need to give the name of the same directory when you run velvetg subsequent to running velveth.

        Also note that if you do more than one run of velvet using the same directory for your output, it will overwrite the files.

        But if you are not seeing anything when you type ./velveth or ./velvetg,
        then velvet isn't installed properly.

        Comment


        • #5
          Thank mastal, that folder name appear now at home/my_velvet_output, but where should I store my sequence. It is in home same as my_velvet_output or in my velvet folder at Desktop/BioTool/velvet

          I try to cmd it again and it's appear like this:

          aconty@aconty-VirtualBox:~$ echo `export PATH=$PATH:/Desktop/BioTool/velvet` >> ~/.bashrc
          aconty@aconty-VirtualBox:~$ chmod a+x velveth velvetg
          aconty@aconty-VirtualBox:~$ >./velveth
          aconty@aconty-VirtualBox:~$ >./velveth my_velvet_output
          my_velvet_output: command not found

          when I try to call ./velveth my_velvet_output is an error appear.

          how do I solve this problem?

          Comment


          • #6
            Originally posted by suhalsuhaimi View Post
            aconty@aconty-VirtualBox:~$ >./velveth
            If that produces no help output on screen then something is wrong with compilation of velvet program.

            When you did "make" in the source code directory did you see any error(s)?

            Can you post the output of the following command?

            Code:
            $ file velveth velvetg

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Understanding Genetic Influence on Infectious Disease
              by seqadmin




              During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

              Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
              09-09-2024, 10:59 AM
            • seqadmin
              Addressing Off-Target Effects in CRISPR Technologies
              by seqadmin






              The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
              08-27-2024, 04:44 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 06:25 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 01:02 PM
            0 responses
            12 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 09-18-2024, 06:39 AM
            0 responses
            14 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 09-11-2024, 02:44 PM
            0 responses
            14 views
            0 likes
            Last Post seqadmin  
            Working...
            X