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?
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
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).
-
Comment
-
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
Comment
Latest Articles
Collapse
-
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...-
Channel: Articles
09-23-2024, 06:35 AM -
-
by seqadmin
During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.
Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...-
Channel: Articles
09-09-2024, 10:59 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 10-02-2024, 04:51 AM
|
0 responses
13 views
0 likes
|
Last Post
by seqadmin
10-02-2024, 04:51 AM
|
||
Started by seqadmin, 10-01-2024, 07:10 AM
|
0 responses
21 views
0 likes
|
Last Post
by seqadmin
10-01-2024, 07:10 AM
|
||
Started by seqadmin, 09-30-2024, 08:33 AM
|
0 responses
25 views
0 likes
|
Last Post
by seqadmin
09-30-2024, 08:33 AM
|
||
Started by seqadmin, 09-26-2024, 12:57 PM
|
0 responses
18 views
0 likes
|
Last Post
by seqadmin
09-26-2024, 12:57 PM
|
Comment