Header Leaderboard Ad

Collapse

how to get IMAGE2 running ?

Collapse

Announcement

Collapse

SEQanswers June Challenge Has Begun!

The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!

For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to get IMAGE2 running ?

    I tried using IMAGE2 but there is no 'readme' or 'install' file and I can't find any information that explains how to install the software. I tried to run IMAGE2 on the example provided with the program, but after running the 10 iterations , the gaps seem not to be closed...
    This is what i did:
    I downloaded the Dec., 2 version (v2.3) from Sourceforge, copied the precompiled binaries to /usr/local/bin/ and made them executable on a Linux Ubuntu 11.10 64-bit workstation. I looked at the scripts run.sh and image.pl and saw some variables that have to be declared (such as paths to velvet, ssaha, etc.) but i still do not get the gaps closed in iteration 10 (i can mail the output to anybody willing to help).

    # software path
    # this is the path where the IMAGE path is
    # Please change it accordingly
    VELPATH=~/home/sbaeyen/Bio/IMAGE/IMAGE_version2/
    SSAHADIR=~/home/sbaeyen/Bio/IMAGE/IMAGE_version2/
    WALKPATH=~/home/sbaeyen/Bio/IMAGE/IMAGE_version2/
    Then i did:
    cd /home/sbaeyen/Bio/IMAGE/IMAGE_version2/example
    [email protected]:~/Bio/IMAGE/IMAGE_version2/example$ home/sbaeyen/Bio/IMAGE/IMAGE_version2/image.pl -prefix 76bp -iteration 1 -all_iteration 10 -dir_prefix iteration > imagetest.txt
    When I run the 'image_run_summary.pl' script,
    [email protected]:~/Bio/IMAGE/IMAGE_version2/example$ perl /home/sbaeyen/Bio/IMAGE/IMAGE_version2/image_run_summary.pl iteration, , I get:
    The prefix is : iteration
    iteration Starting_gaps Gap_closed Gap_extend_oneside Gap_extend_bothside
    1 5 0 0 0
    2 5 0 0 0
    3 5 0 0 0
    4 5 0 0 0
    5 5 0 0 0
    6 5 0 0 0
    7 5 0 0 0
    8 5 0 0 0
    9 5 0 0 0
    10 5 0 0 0
    Does anybody have a clue what i need to adapt to get this program running/what i did wrong?
    Best regards and thanks for any advice!
    Steve
    ps if you want i can send you the program output imagetest.txt

  • #2
    I don't know what the issue is (for release 2.3) but i got it to run somehow. I ran the command as you had and it failed. However, afterward I was able to make IMAGE2 run on the example dataset by deleting the ".noN.3000" off the end of the headers of the contigs:
    sed -i 's/\.noN\.3000//g' contigs.fa.original

    Here's the alignment:


    now to see if i can get this to work for SOAP alignments...
    Last edited by ians; 03-08-2012, 12:42 PM.

    Comment


    • #3
      For the first tests with the new version , this fixed the problem for me:
      export PATH=$PATH:/blahblah/IMAGE_version2
      I did that before running the image.pl script and it fixed my problem. I'm not sure if it would help you.
      no error messages during the run? can you show me the output file?
      Also, I noticed you changed the run.sh. This was necessary in the previous version but I don't think it's necessary in this new one. Even if that's the case, the change you mentioned :
      VELPATH=~/home/sbaeyen/Bio/IMAGE/IMAGE_version2/
      would check /home/sbaeyen/home/sbaeyen .
      Of course, if in the output file you get something like "velvet found!" then it doesn't matter.

      Comment


      • #4
        test set not actual pairs?

        Took a look at the test set and both "pair" ends have the exact same sequence and header. 76bp_2.fastq headers don't even change the last 1 to a 2. Anyone know whats up with that?? Does image really just treat everything as frags? Yet running the test set closes gaps.

        [email protected]:~/image-2.3/example$ head 76bp_1.fastq
        @Read.Salmonella_paratyphi_A_chromosome.29004.4835/1
        TCGTGTACAGCATTCTTTATAGTGGAACGGTGACCGTACCGCAAAGCTGCGAAATCAACGCCGGACAAACGATTCT
        +
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        @Read.Salmonella_paratyphi_A_chromosome.29010.4836/1
        ACAGCATTCTTTATAGTGGAACGGTGACCGTACCGCAAAGCTGCGAAATCAACGCCGGACAAACGATTCTGGTGAA
        +
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        @Read.Salmonella_paratyphi_A_chromosome.29016.4837/1
        TTCTTTATAGTGGAACGGTGACCGTACCGCAAAGCTGCGAAATCAACGCCGGACAAACGATTCTGGTGAATTTCGG
        [email protected]:~/image-2.3/example$
        [email protected]:~/image-2.3/example$
        [email protected]:~/image-2.3/example$ head 76bp_2.fastq
        @Read.Salmonella_paratyphi_A_chromosome.29004.4835/1
        TCGTGTACAGCATTCTTTATAGTGGAACGGTGACCGTACCGCAAAGCTGCGAAATCAACGCCGGACAAACGATTCT
        +
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        @Read.Salmonella_paratyphi_A_chromosome.29010.4836/1
        ACAGCATTCTTTATAGTGGAACGGTGACCGTACCGCAAAGCTGCGAAATCAACGCCGGACAAACGATTCTGGTGAA
        +
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        @Read.Salmonella_paratyphi_A_chromosome.29016.4837/1
        TTCTTTATAGTGGAACGGTGACCGTACCGCAAAGCTGCGAAATCAACGCCGGACAAACGATTCTGGTGAATTTCGG

        Comment


        • #5
          I've been running image2 with the following command:

          perl /media/Space1/Software/PAGIT/IMAGE/image.pl -scaffolds g7vrefA_split.fa -prefix g7_pairedreads_60 -iteration 1 -all_iteration 10 -dir_prefix ite -smalt_minScore 62 -kmer 71 -vel_ins_len 346 2> stdout &

          and it seems to be working fine for me.

          Although I notice that often times to rerun image (i.e., if you want to extend the number of iterations at a lower kmer) using 'restartIMAGE.pl' I have to delete the last iteration folder and run from the previous one (I don't know why).

          There is a nice publication in Nature Protocols this year by Swain et al that gives good step by step and trouble shooting advice.

          Comment


          • #6
            Thanks Aaron, The review was very helpful!!

            Comment

            Latest Articles

            Collapse

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 06-07-2023, 07:14 AM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-06-2023, 01:08 PM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-01-2023, 08:56 PM
            0 responses
            164 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-01-2023, 07:33 AM
            0 responses
            299 views
            0 likes
            Last Post seqadmin  
            Working...
            X