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
              Exploring the Dynamics of the Tumor Microenvironment
              by seqadmin




              The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...
              07-08-2024, 03:19 PM
            • seqadmin
              Exploring Human Diversity Through Large-Scale Omics
              by seqadmin


              In 2003, researchers from the Human Genome Project (HGP) announced the most comprehensive genome to date1. Although the genome wasn’t fully completed until nearly 20 years later2, numerous large-scale projects, such as the International HapMap Project and 1000 Genomes Project, continued the HGP's work, capturing extensive variation and genomic diversity within humans. Recently, newer initiatives have significantly increased in scale and expanded beyond genomics, offering a more detailed...
              06-25-2024, 06:43 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 07-10-2024, 07:30 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 07-03-2024, 09:45 AM
            0 responses
            197 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 07-03-2024, 08:54 AM
            0 responses
            207 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 07-02-2024, 03:00 PM
            0 responses
            190 views
            0 likes
            Last Post seqadmin  
            Working...
            X