SEQanswers

Go Back   SEQanswers > Applications Forums > De novo discovery



Similar Threads
Thread Thread Starter Forum Replies Last Post
BWA and mate pair bouhassi Bioinformatics 0 12-07-2011 07:33 AM
Mate-Pair sequencing versa Bioinformatics 0 02-09-2011 11:51 PM
Difference between mate pair and pair end bassu General 2 06-19-2010 06:13 AM
Mate pair, high GC chen Sample Prep / Library Generation 3 05-25-2010 08:45 AM
mate pair sequencing Chien-Yuan Chen Illumina/Solexa 8 03-25-2010 07:55 PM

Reply
 
Thread Tools
Old 07-11-2010, 04:55 PM   #21
catfisher
Member
 
Location: Auburn

Join Date: Mar 2010
Posts: 10
Default Bambus error: library priority

Boetsie and danix, I noticed that you may do a lot of work using Bambus, I also get the contigs generated from CLCbio. I know how to get the .contig file for Bambus, and I also got a mates file following your instructions, but when I rum goBambus, I got an error:
20100710|193857| 16658| Grommit(/home/aubsxl/bin/bambus/bin/grommit -i ctg2660_BES_mapping_704.inp -o ctg2660_BES_
mapping_704.out.xml -C ctg2660_BES_mapping_704.grommit.conf --append --logfile goBambus.log --debug 1) script fail
ed
20100710|204158|24277|grommit|FATAL|9: Priority not specified: at least one library must be assigned a priority

I don't know what's the 'priority', how can I do to solve this problem? could you all give any help? Thanks in advance.
catfisher is offline   Reply With Quote
Old 07-12-2010, 01:26 AM   #22
boetsie
Senior Member
 
Location: NL, Leiden

Join Date: Feb 2010
Posts: 245
Default

Hi catfisher,

i´ve had this error too. To solve it, you should set a priority in the .conf file. A file named default.conf is generated once you have run Bambus. This file contains the default parameters. Change or edit the line to;

priority ALL 1

to the file.
If you did not run Bambus yet, you should create one from scratch. See the below links for more information. Once you have the .conf file, you should add it to the command line options with for example;
goBambus -c test.contig -m test.mates -C default.conf -o test-bambus

For more information about the .config file see;
http://sourceforge.net/apps/mediawik...iguration_file
For an example see;
http://sourceforge.net/apps/mediawik...le=Bambus.conf

Marten
boetsie is offline   Reply With Quote
Old 07-12-2010, 05:15 PM   #23
catfisher
Member
 
Location: Auburn

Join Date: Mar 2010
Posts: 10
Default grommit script failed

Marten, thanks for your quick reply. I editted my configure file as you suggested and run goBambus again, but still failed.
I used the .conf as:
# Priorities
priority ALL 1
# The following lines can be un-commented to specify certain
# per-library settings

# Redundancies
# redundancy lib_some 1

# allowed error
# error MUMmer 0.5

# overlaps allowed
# overlaps MUMmer Y

# Global redundancy
redundancy 2

# min group size
mingroupsize 0

The log information for goBambus is :
Parsing links out of input file
Step 100: running detective
Combining XML files
Step 200: making the xmls
starting
Done
Step 300: Preparing contig links
starting
Done
Step 400: Running scaffolder
Grommit(/home/aubsxl/bin/bambus/bin/grommit -i ctg2660_BES_mapping_704.inp -o ctg2660_BES_mapping_704.out.xml -C c
tg2660_BES_mapping_704.grommit.conf --append --logfile goBambus.log --debug 1) script failed

The error information from goBambus.error file is:
20100712|123807| 10451| Grommit(/home/aubsxl/bin/bambus/bin/grommit -i ctg2660_BES_mapping_704.inp -o ctg2660_BES_
mapping_704.out.xml -C ctg2660_BES_mapping_704.grommit.conf --append --logfile goBambus.log --debug 1) script fail
ed

The first several lines from my mates files is:
library libname 200 500
HWUSI-EAS1665_0002:2:1:1022:18088#0/1 HWUSI-EAS1665_0002:2:1:1022:18088#0/2 libname
HWUSI-EAS1665_0002:2:1:1029:11872#0/1 HWUSI-EAS1665_0002:2:1:1029:11872#0/2 libname
HWUSI-EAS1665_0002:2:1:1029:11034#0/1 HWUSI-EAS1665_0002:2:1:1029:11034#0/2 libname
HWUSI-EAS1665_0002:2:1:1030:19457#0/1 HWUSI-EAS1665_0002:2:1:1030:19457#0/2 libname
HWUSI-EAS1665_0002:2:1:1031:12133#0/1 HWUSI-EAS1665_0002:2:1:1031:12133#0/2 libname

Marten, could you look at these information and point out what's wrong with this? I have no idea. Thanks a lot,

Kevin
catfisher is offline   Reply With Quote
Old 07-13-2010, 12:32 AM   #24
boetsie
Senior Member
 
Location: NL, Leiden

Join Date: Feb 2010
Posts: 245
Default

Hi catfisher,

hmmm weird error, since it doesn't point out where it goes wrong. Is that the only error?

Some thing that might help;

replace ":" and "#" in the readnames to underscores ("_"). E.g.;

HWUSI-EAS1665_0002:2:1:1022:18088#0/1
will be;
HWUSI-EAS1665_0002_2_1_1022_18088_0/1

do this both in the .mates file and .contig file.

Code to do this is;

cat input.mates | sed s/#/_/g | sed s/:/_/g > output.mates

where input.mates is the input file, and output.mates the converted output file.

I don't know if this really works...

Otherwise it might be a good idea to contact Bambus developers, since i'm not to familiar with Bambus.

Good luck.

Cheers,
Marten
boetsie is offline   Reply With Quote
Old 07-13-2010, 07:31 AM   #25
themerlin
Member
 
Location: Flagstaff, AZ

Join Date: Feb 2010
Posts: 51
Default

Catfisher,

I had the same error months ago. I ended up filtering my contigs so I only kept longer contigs (>500nts) with high coverage (depends on your dataset). I didn't change my mates file and then it suddenly worked. I'm not quite sure why, but it might be worth a shot.

Jason
themerlin is offline   Reply With Quote
Old 07-15-2010, 01:56 PM   #26
catfisher
Member
 
Location: Auburn

Join Date: Mar 2010
Posts: 10
Default

Quote:
Originally Posted by themerlin View Post
Catfisher,

I had the same error months ago. I ended up filtering my contigs so I only kept longer contigs (>500nts) with high coverage (depends on your dataset). I didn't change my mates file and then it suddenly worked. I'm not quite sure why, but it might be worth a shot.

Jason
I headed 100k lines of the contig and mates files and rerun the program for these data, the program also worked now.
Does anyone know how much data size we can handle with the bambus? I am afraid that it has a built-in limit for how big the input data can be input. I have 704 contigs in the .contig file and 3434936 x2 paired ends, the program didn't work if I loaded all of them. I tested one with contigs less than 500bp (some are about 200bp), it worked also. How big were the input data when you all used the Bambus? Thanks,

Kevin
catfisher is offline   Reply With Quote
Old 12-12-2010, 11:52 PM   #27
boetsie
Senior Member
 
Location: NL, Leiden

Join Date: Feb 2010
Posts: 245
Default

This thread was solved by a program developed by myself which can scaffold assembled contigs in .fasta format with paired-end and/or mate pair sequences. No conversion of file formats are required. See this thread;

http://seqanswers.com/forums/showthread.php?t=4124
boetsie is offline   Reply With Quote
Old 02-02-2011, 01:06 PM   #28
seb567
Senior Member
 
Location: Québec, Canada

Join Date: Jul 2008
Posts: 260
Default

You can try SSPACE too. It is a scaffolder for next-gen data.

Bioinformatics paper:
http://bioinformatics.oxfordjournals...s.btq683.short

SEQanswers thread:
http://seqanswers.com/forums/showthread.php?t=8350

Download:
http://www.baseclear.com/sequencing/...-tools/sspace/

-seb
seb567 is offline   Reply With Quote
Old 02-02-2011, 11:11 PM   #29
boetsie
Senior Member
 
Location: NL, Leiden

Join Date: Feb 2010
Posts: 245
Default

Quote:
Originally Posted by seb567 View Post
You can try SSPACE too. It is a scaffolder for next-gen data.

-seb
Hmmm, that is the program I meant, since I'm the developer haha. I refered to the wrong link in my previous reply

Boetsie
boetsie is offline   Reply With Quote
Old 02-08-2011, 05:14 PM   #30
seb567
Senior Member
 
Location: Québec, Canada

Join Date: Jul 2008
Posts: 260
Default

Quote:
Originally Posted by boetsie View Post
Hmmm, that is the program I meant, since I'm the developer haha. I refered to the wrong link in my previous reply

Boetsie
That's funny !
seb567 is offline   Reply With Quote
Old 06-01-2011, 11:34 AM   #31
shaohua.fan
Member
 
Location: konstanz

Join Date: Feb 2009
Posts: 10
Default

Quote:
Originally Posted by catfisher View Post
Marten, thanks for your quick reply. I editted my configure file as you suggested and run goBambus again, but still failed.
I used the .conf as:
# Priorities
priority ALL 1
# The following lines can be un-commented to specify certain
# per-library settings

# Redundancies
# redundancy lib_some 1

# allowed error
# error MUMmer 0.5

# overlaps allowed
# overlaps MUMmer Y

# Global redundancy
redundancy 2

# min group size
mingroupsize 0

The log information for goBambus is :
Parsing links out of input file
Step 100: running detective
Combining XML files
Step 200: making the xmls
starting
Done
Step 300: Preparing contig links
starting
Done
Step 400: Running scaffolder
Grommit(/home/aubsxl/bin/bambus/bin/grommit -i ctg2660_BES_mapping_704.inp -o ctg2660_BES_mapping_704.out.xml -C c
tg2660_BES_mapping_704.grommit.conf --append --logfile goBambus.log --debug 1) script failed

The error information from goBambus.error file is:
20100712|123807| 10451| Grommit(/home/aubsxl/bin/bambus/bin/grommit -i ctg2660_BES_mapping_704.inp -o ctg2660_BES_
mapping_704.out.xml -C ctg2660_BES_mapping_704.grommit.conf --append --logfile goBambus.log --debug 1) script fail
ed

The first several lines from my mates files is:
library libname 200 500
HWUSI-EAS1665_0002:2:1:1022:18088#0/1 HWUSI-EAS1665_0002:2:1:1022:18088#0/2 libname
HWUSI-EAS1665_0002:2:1:1029:11872#0/1 HWUSI-EAS1665_0002:2:1:1029:11872#0/2 libname
HWUSI-EAS1665_0002:2:1:1029:11034#0/1 HWUSI-EAS1665_0002:2:1:1029:11034#0/2 libname
HWUSI-EAS1665_0002:2:1:1030:19457#0/1 HWUSI-EAS1665_0002:2:1:1030:19457#0/2 libname
HWUSI-EAS1665_0002:2:1:1031:12133#0/1 HWUSI-EAS1665_0002:2:1:1031:12133#0/2 libname

Marten, could you look at these information and point out what's wrong with this? I have no idea. Thanks a lot,

Kevin
Hi, Catfisher,

I met the exact same question as you. Have you found any solution of this question?
shaohua.fan is offline   Reply With Quote
Old 09-08-2011, 08:39 AM   #32
elisadouzi
Member
 
Location: US

Join Date: Mar 2011
Posts: 20
Default

Hi shouhua,
I also have the same err as you. Have you figured out?

Thanks!
elisadouzi is offline   Reply With Quote
Old 02-23-2012, 07:48 AM   #33
rahularjun86
Member
 
Location: Frankfurt(M), Germany

Join Date: Jan 2011
Posts: 58
Default

HI all,
I have a question regarding the mate file. I ran velvet(with no scaffolding option) and get 4-5 nice assemblies with different k-mer's. Then I merged all these 4 assemblies into a single one using minimus2 Amos. Now I have .contig file and .bnk/ file. How can I generate the .mate file? should I use the sed command discussed in some posts. but the Id's of my .mate file and .contig file are not showing any link. My .contig file has id: #NODE_1_length_1305_cov_18.627586(0) from velvet and the .mate is with Illumina id's @HWUSI-EAS100R:6:73:941:1973#0/1 @HWUSI-EAS100R:6:73:941:1973#0/2. How can I link this information. Anybody please help.
Regards,
Rahul
__________________
Rahul Sharma,
Ph.D
Frankfurt am Main, Germany
rahularjun86 is offline   Reply With Quote
Old 03-06-2014, 03:20 AM   #34
sabiha
Junior Member
 
Location: hyderabad

Join Date: Mar 2014
Posts: 4
Default

Hii,,
I am trying to run bambus on velvet contigs..
i have generated .afg while assembling using velvet.. and then used the following command lines... as suggested by some forum ...
/amos-3.0.1/src/Bank/bank-transact -cf -b j99.bnk -m velvet_asm.afg

/amos-3.0.1/src/Bambus/Bundler/clk -b j99.bnk/

/amos-3.0.1/src/Bambus/Bundler/Bundler -b j99.bnk

/amos-3.0.1/src/Bambus/Bundler/MarkRepeats -b j99.bnk -redundancy 2 -agressive >repeat_fi

/amos-3.0.1/src/Bambus/Bundler/OrientContigs -b j99.bnk -prefix j99scaff -redundancy 2 -repeats repeat_fi -all -agressive -linearize

perl /amos-3.0.1/src/Bambus/Untangler/untangle.pl -e j99scaff.evidence.xml -s j99scaff.out.xml -o j99scaff.untangle.xml

/amos-3.0.1/src/Bank/bank2fasta -d -b j99.bnk >bambus_contigs.fa

perl /amos-3.0.1/src/Bambus/Untangler/printScaff.pl -e j99scaff.evidence.xml -s j99scaff.untangle.xml -l j99scaff.library -f bambus_contigs.fa -merge -o bambus_scaff

and it has generated the following stats..

no. valid links: 0
no. incorrect len. links: 0
no. incorrect ori. links: 0
no. unchecked links: 18129

I can see that no scaffolding is being done, since there are no valid links...
can anyone tell me if my approach is right ... and if it is a must to use mates file
sabiha is offline   Reply With Quote
Old 03-06-2014, 04:18 AM   #35
relipmoc
Member
 
Location: Los Angeles, CA

Join Date: Jul 2011
Posts: 58
Default

Quote:
Originally Posted by sabiha View Post
Hii,,
I am trying to run bambus on velvet contigs..
i have generated .afg while assembling using velvet.. and then used the following command lines... as suggested by some forum ...
Why don't try SSPACE? For more details, please see http://seqanswers.com/forums/showthread.php?t=8350

and

Boetzer, M., Henkel, C.V., Jansen, H.J., Butler, D. and Pirovano, W. (2011) Scaffolding pre-assembled contigs using SSPACE, Bioinformatics, 27, 578-579.
relipmoc is offline   Reply With Quote
Old 03-06-2014, 05:00 AM   #36
sabiha
Junior Member
 
Location: hyderabad

Join Date: Mar 2014
Posts: 4
Default

.. I ve already tried SSpace. Just wanted to see how bambus wrks... as it does hierarchical scaffolding
sabiha is offline   Reply With Quote
Old 03-07-2014, 09:33 AM   #37
MeganS
Member
 
Location: US

Join Date: Sep 2010
Posts: 14
Default

sabiha,

Does the stdout from bank-transact report any "Objects added"?

Are your .xml files links of some sort (paired reads, etc)? I have gotten bambus to work, but used the .xml link information much earlier. Before running bambus, I used toAmos with fasta reads, a TIGR .contig file, and xml link information. Then I generated an amos bank using bank-transact on the resulting .afg file. Then ran bambus (via the goBambus script) on the bank.
MeganS is offline   Reply With Quote
Old 03-09-2014, 09:46 PM   #38
sabiha
Junior Member
 
Location: hyderabad

Join Date: Mar 2014
Posts: 4
Default

MeganS,

Thank you for helping me out. stdout from bank-transact reported the following.
Messages read: 4963548
Objects added: 4963548
Objects deleted: 0
Objects replaced: 0

I have Illumina paired end reads in fastq format, which has quality scores included in the same file. I am planning to split the sequences and the quality into two files and will try using these files.

How did u generate the xml link information??
sabiha is offline   Reply With Quote
Reply

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 01:09 PM.


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