Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing assembly output of amos? dalesan Bioinformatics 0 04-05-2011 02:59 AM
hawkeye problem thsuk1 Bioinformatics 0 11-02-2010 01:43 PM
CLC Genomics WB and the AMOS Bambus (developing Pipeline...) gabriel.lichtenstein Bioinformatics 12 07-23-2010 11:33 PM
AMOS & BAMBUS program experience sharing and general user guide. Patrick Bioinformatics 8 07-08-2010 03:28 PM
Convert euler-sr output to amos-bank tjahns Bioinformatics 4 07-21-2008 12:39 AM

Thread Tools
Old 08-23-2011, 07:58 PM   #1
Senior Member
Location: Sydney

Join Date: Feb 2011
Posts: 149
Default AMOS: problem getting hawkeye to view bambus output


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

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?

Kennels is offline   Reply With Quote
Old 08-24-2011, 08:55 AM   #2
Location: New York

Join Date: Mar 2011
Posts: 27

You might try asking this on AMOS HELP <>. You can sign up here.

suryasaha is offline   Reply With Quote
Old 08-24-2011, 05:07 PM   #3
Senior Member
Location: Sydney

Join Date: Feb 2011
Posts: 149

I have, but still waiting for reply, and hoped to reach a wider audience here.
Anyone any ideas?
Kennels is offline   Reply With Quote
Old 08-24-2011, 08:49 PM   #4
Senior Member
Location: Sydney

Join Date: Feb 2011
Posts: 149

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 which is this:

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.
Kennels is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 12:07 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO