Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • AMOS: problem getting hawkeye to view bambus output

    Hi,

    Does anyone have an idea what my problem is? I've just installed and learning to use AMOS.
    I'm using AMOS's minimus to assemble some .fasta reads, make scaffold by Bambus2, and try to visualize in hawkeye.

    My workflow was:
    1. toAmos -s myreads.fa -o myreads.afg
    2. minimus myreads.afg
    3. goBambus2 myreads.bnk/ myScaff

    Everything ran with no problem up to this point. Then,

    4. hawkeye myreads.bnk

    I got the follow error:

    Opening myreads.bnk/... [0.00s]
    Indexing Contigs .......... [0.00s] 712 reads in 15 contigs
    Indexing Scaffolds [0.00s] 0 contigs in 0 scaffolds
    Indexing Libraries .......... [0.00s] 2 libraries
    Indexing Mates .......... [0.00s] 22 mated reads in 772 fragments
    Indexing Reads .......... [0.00s] 714 reads
    Features not available
    Initialize Display .ERROR: WHAT: Cannot stream fetch: beyond end of stream
    LINE: 147
    FILE: BankStream_AMOS.cc

    My fasta sequence reads is just a compilation of reads from various lanes of illumina data. It may not have pair end information for all reads.
    Is my error due to not having paired end information? If so why did Bambus2 run with no errors?

    Thanks

  • #2
    You might try asking this on AMOS HELP <[email protected]>. You can sign up here.

    -S.

    Comment


    • #3
      I have, but still waiting for reply, and hoped to reach a wider audience here.
      Anyone any ideas?

      Comment


      • #4
        Problem solved.

        I was assuming that paired information was deduced and included in the amos .afg file during its generation, but actually the paired information must be explicitly provided in a separate .mates file. Once this was included in the .afg file generation, I could run minimus -> bambus -> hawkeye to view any scaffolds.

        I found a really helpful site which provided a script to parse out the mate pair information from your input .fasta file here http://compbio.korea.ac.kr/wiki/inde...ina_for_bambus which is this:

        Code:
        cat my.fasta |grep ">" |sed s/\>//g |sed 's/\/1*$/./g;s/\/2*$/./g'|awk -F "." '{print $1}' |sort |uniq -c |awk '{if ($1 == 2) print $2"/1\t"$2"/2\tsmall"}' > mates.txt
        One just needs to adjust and add the library name and insert sizes at the top of the generated file.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Non-Coding RNA Research and Technologies
          by seqadmin




          Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

          Nobel Prize for MicroRNA Discovery
          This week,...
          10-07-2024, 08:07 AM
        • seqadmin
          Recent Developments in Metagenomics
          by seqadmin





          Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
          09-23-2024, 06:35 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 10-02-2024, 04:51 AM
        0 responses
        103 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-01-2024, 07:10 AM
        0 responses
        112 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-30-2024, 08:33 AM
        1 response
        114 views
        0 likes
        Last Post EmiTom
        by EmiTom
         
        Started by seqadmin, 09-26-2024, 12:57 PM
        0 responses
        21 views
        0 likes
        Last Post seqadmin  
        Working...
        X