Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • yangfangisok
    Junior Member
    • Oct 2012
    • 8

    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?
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    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

    • flxlex
      Moderator
      • Nov 2008
      • 412

      #3
      You could also try a 'superassembly' using cortex: http://cortexassembler.sourceforge.net/

      Comment

      • yangfangisok
        Junior Member
        • Oct 2012
        • 8

        #4
        Thanks. Cortex assembles multiple eukaryotic genomes. But I work on microbiome.

        Comment

        • yangfangisok
          Junior Member
          • Oct 2012
          • 8

          #5
          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?

          Comment

          • Brian Bushnell
            Super Moderator
            • Jan 2014
            • 2709

            #6
            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

            • seqadmin
              Pathogen Surveillance with Advanced Genomic Tools
              by seqadmin




              The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
              03-24-2025, 11:48 AM
            • seqadmin
              New Genomics Tools and Methods Shared at AGBT 2025
              by seqadmin


              This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

              The Headliner
              The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
              03-03-2025, 01:39 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 03-20-2025, 05:03 AM
            0 responses
            41 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-19-2025, 07:27 AM
            0 responses
            49 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-18-2025, 12:50 PM
            0 responses
            36 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-03-2025, 01:15 PM
            0 responses
            191 views
            0 reactions
            Last Post seqadmin  
            Working...