SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why reads in unmapped.bam still align to reference genome? SpreeFu Bioinformatics 7 09-28-2014 10:14 PM
Align long sequences to genome reference Amative Bioinformatics 2 07-17-2012 07:05 AM
How to align diploid ab1 files to the reference genome? ymc Bioinformatics 2 06-29-2012 08:38 PM
how to align the contigs to the reference genome jjjscuedu Bioinformatics 1 06-05-2012 09:39 AM
How to align SNP coordinates against a circular reference genome? Lspoor General 1 02-17-2012 11:44 AM

Reply
 
Thread Tools
Old 06-13-2014, 04:41 PM   #1
yangfangisok
Junior Member
 
Location: Illinois

Join Date: Oct 2012
Posts: 8
Default How to align contigs without reference genome?

I have 53 samples which belongs to two treatments. In each sample, I started with 2X100 Illumina metagenomic data and have used SOAPdenovo2 to generated contigs. I want to combine all contigs (>10000bp) from all samples and align all contigs. I want to have alignment map or contigs map. Final goal is to find contigs which are unique to each treatment. I have no idea how to do it? Could anybody help me?
yangfangisok is offline   Reply With Quote
Old 06-13-2014, 05:12 PM   #2
Brian Bushnell
Super Moderator
 
Location: Walnut Creek, CA

Join Date: Jan 2014
Posts: 2,707
Default

One of my programs, Dedupe (packaged together with BBMap), is designed to find duplicate and unique contigs. You can run it like this:

dedupe.sh in=assembly1.fa,assembly2.fa,assembly3.fa out=unique.fa uniqueonly=t

Optionally, you can allow some mismatches, edits, or set various other constraints.

That will output all of the unique stuff and throw away anything with any duplicates. You should first rename the contigs so you know which assembly they came from. If you only have 2 treatments, I would suggest first merging all of the reads from a treatment and assembling them together so you only have 2 assemblies (if I correctly understand your problem).
Brian Bushnell is offline   Reply With Quote
Old 06-17-2014, 02:43 AM   #3
flxlex
Moderator
 
Location: Oslo, Norway

Join Date: Nov 2008
Posts: 415
Default

You could also try a 'superassembly' using cortex: http://cortexassembler.sourceforge.net/
flxlex is offline   Reply With Quote
Old 06-17-2014, 08:54 AM   #4
yangfangisok
Junior Member
 
Location: Illinois

Join Date: Oct 2012
Posts: 8
Default

Thanks. Cortex assembles multiple eukaryotic genomes. But I work on microbiome.
yangfangisok is offline   Reply With Quote
Old 06-17-2014, 09:00 AM   #5
yangfangisok
Junior Member
 
Location: Illinois

Join Date: Oct 2012
Posts: 8
Default

Thanks, Brian.
I'm trying to align contains from different metagenomes to define a “Core” and looking to do at the contig level for richer genome organization and origin context.
Do you know how to do it?
yangfangisok is offline   Reply With Quote
Old 06-17-2014, 10:34 AM   #6
Brian Bushnell
Super Moderator
 
Location: Walnut Creek, CA

Join Date: Jan 2014
Posts: 2,707
Default

Hmmm... other than dedupe, I don't really have any relevant tools. I'm not sure how to best go about that; you might need to write something yourself.

As for dedupe, you could process all the assemblies together, allow some edit distance, set "uniqueonly=t", and set the "outd" flag to save all of the duplicate contigs. For example:

dedupe.sh in=assembly1.fa,assembly2.fa,assembly3.fa outd=duplicate.fa uniqueonly=t e=10

The run dedupe again on the duplicates:

dedupe.sh in=duplicate.fa out=core.fa e=10

This is not a perfect solution, but it will give you a file with exactly one copy each of all the contigs that appear at least twice in the input.

-Brian
Brian Bushnell 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 08:40 PM.


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