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
          Advancing Precision Medicine for Rare Diseases in Children
          by seqadmin




          Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
          12-16-2024, 07:57 AM
        • seqadmin
          Recent Advances in Sequencing Technologies
          by seqadmin



          Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

          Long-Read Sequencing
          Long-read sequencing has seen remarkable advancements,...
          12-02-2024, 01:49 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 12-17-2024, 10:28 AM
        0 responses
        23 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-13-2024, 08:24 AM
        0 responses
        42 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-12-2024, 07:41 AM
        0 responses
        28 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-11-2024, 07:45 AM
        0 responses
        42 views
        0 likes
        Last Post seqadmin  
        Working...
        X