Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • flipwell
    Member
    • Feb 2011
    • 14

    OrthoMCL duplicate entry error

    I have made it up to step 10 of the orthomcl process, finding protein pairs, but have become stuck with a duplicate entry error:

    Duplicate entry '5206|CNAG_00003-5206|CNE00390' for key 'better_hit_ix' at /data/ngs/apps/orthomclSoftware/bin/orthomclPairs line 693, <F> line 14

    I thought maybe it was something to do with the way I ran BLAST so I reran with parameters recommended but still get an error, although a different one:

    Duplicate entry '5206|CNAG_00006-5206--181-0-5206-5206|CNAG_00006' for key 'ss_qtaxexp_ix' at /data/ngs/apps/orthomclSoftware/bin/orthomclPairs line 693, <F> line 14

    Has anyone had a similar issue?

    Thanks for your help
  • jollymrt
    Junior Member
    • May 2012
    • 3

    #2
    the duplicate entry error can be removed by selecting only the distinct rows in the similarSequence table

    Comment

    • guyleonard
      Junior Member
      • Mar 2012
      • 6

      #3
      Originally posted by jollymrt View Post
      the duplicate entry error can be removed by selecting only the distinct rows in the similarSequence table
      Never mind. There was a duplicate or two that I had missed. Sorting and using the tool 'uniq' works but you have to use the command -w and a number (I used 40) to limit the match to just the accession - sometimes the duplicates had different score values and so were effectively unique... Phew.

      Any chance you could expand on that?

      I have the same error as the OP, my file is 6.5GB.

      I've gone through the file and removed duplicates...or at least I thought I had.

      I managed to find a list of duplicate accessions and so removed them from similarsequences with AWK. I then also sorted the file on the first column and performed a uniq removal of any next neighbour duplicates...

      Every time the same error:
      Duplicate entry 'didi|DDB_G0279353-didi|DDB_G0283451' for key 'better_hit_ix' at /home/cs02gl/programs/orthomclSoftware-v2.0.3/bin/orthomclPairs line 693, <F> line 14.

      Looking at those accessions in the file (using grep) reveals no duplicates for that matching.
      Last edited by guyleonard; 01-07-2013, 03:39 AM.

      Comment

      • jollymrt
        Junior Member
        • May 2012
        • 3

        #4
        to check if you have duplicate entries use the following command

        select * from similarSequences group by query_id,subject_id having count(*)>1;

        this command will give you the rows that are duplicated.

        Then you can create a new table that will have only distinct rows.

        create table holdup as select distinct * from similarSequences;

        Comment

        • robinvvelzen
          Junior Member
          • Jan 2013
          • 5

          #5
          I am also having the same errors as the OP.

          Apart from trying ways to fix it I am wondering what causes the duplicate error in the orthoMCL pipeline. Given that duplicates are to be expected after an all-vs-all blast I would expect that the orthoMCL scripts would appropriately deal with them.

          Is this a matter of orthomclBlastParser, orthomclLoadBlast or orthomclPairs not doing a proper job?

          Originally posted by jollymrt View Post
          to check if you have duplicate entries use the following command

          select * from similarSequences group by query_id,subject_id having count(*)>1;

          this command will give you the rows that are duplicated.

          Then you can create a new table that will have only distinct rows.

          create table holdup as select distinct * from similarSequences;
          Thanks for the help but I have a few questions:
          1. Looking at those commands I assume these are to be executed within mysql, is that correct?
          2. Will they simply replace the similarSequences table with itself with duplicates removed, or do I need to do more to be able to continue the analysis?
          3. Will this (changing the table somewhere midway the orthoMCL pipeline) not compromise the analysis?

          Thanks again!

          Comment

          • jollymrt
            Junior Member
            • May 2012
            • 3

            #6
            Yes, the commands have to be executed on mysql.
            first you need to select distinct rows in a different table(holdup table), delete all the rows in similarSequence table and then insert the rows from the holdup table. I hope this clears it

            Comment

            • robinvvelzen
              Junior Member
              • Jan 2013
              • 5

              #7
              Originally posted by jollymrt View Post
              Yes, the commands have to be executed on mysql.
              first you need to select distinct rows in a different table(holdup table), delete all the rows in similarSequence table and then insert the rows from the holdup table. I hope this clears it
              Yes, it does. Thanks very much!

              In the meantime I had redone the whole orthoMCL pipeline and for some reason got no more duplicate errors . Possibly, some table entries were accidentally copied the last time. This just to inform others that may run into the same problems..

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                07-20-2026, 11:48 AM
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • SEQadmin2
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                07-08-2026, 05:17 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              29 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-23-2026, 11:41 AM
              0 responses
              21 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-20-2026, 11:10 AM
              0 responses
              212 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-13-2026, 10:26 AM
              0 responses
              78 views
              0 reactions
              Last Post SEQadmin2  
              Working...