Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • data
    Junior Member
    • Nov 2009
    • 2

    #1

    IUPAC coded reference sequences

    I'm just getting started, so hopefully this isn't a silly post.

    Mosaik and some other aligners are able to use IUPAC codes in their alignment process.

    I was wondering if there are any publicly available whole genome reference sequences available that contain the IUPAC codes for known SNPs. If not, I was curious if there are any applications that can apply these codes via data from dbSNP, etc., or if I would be better off coding something to handle this.

    Thanks!
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Originally posted by data View Post
    I'm just getting started, so hopefully this isn't a silly post.

    Mosaik and some other aligners are able to use IUPAC codes in their alignment process.

    I was wondering if there are any publicly available whole genome reference sequences available that contain the IUPAC codes for known SNPs. If not, I was curious if there are any applications that can apply these codes via data from dbSNP, etc., or if I would be better off coding something to handle this.

    Thanks!
    A quick perl script from your local bioinformatician should be able to handle the generation of a IUPAC reference from dbsnp. How will you deal with indels in dbsnp?

    Comment

    • data
      Junior Member
      • Nov 2009
      • 2

      #3
      I've been looking into scripting my own solution, but I ran across what appears to be a good place to start:


      I don't have a good answer about how to represent indels in the reference sequence.

      Comment

      • batbeast
        Junior Member
        • Jun 2010
        • 1

        #4
        Data,

        SNPmask should work fairly well. Obviously this is a moving target with new dbSNP/1000g releases.

        I've been thinking of establishing some modified IUPAC reference sequences and posting them eventually.

        You may want to also see: "An extended IUPAC nomenclature code for polymorphic nucleic acids" Bioinformatics 2010 26(10):1386-1389; doi:10.1093/bioinformatics/btq098

        Comment

        • Jabu
          Junior Member
          • Oct 2010
          • 1

          #5
          The use of a reference genome that includes IUPAC codes for known relatively frequent variants in an alignment is an elegant idea.

          I am wondering if the currently available aligners (BWA, Bowtie, etc.) can handle this type of genome build as a reference?

          It would be nice to use the 1000 genomes data for this purpose, instead of dbSNP which contains a large fraction of non-frequency validated SNPs.

          Does a human reference build of this type currently exist?

          Also, the question still remains on how to deal with indels?

          Comment

          • nilshomer
            Nils Homer
            • Nov 2008
            • 1283

            #6
            Try Mosaik for the IUPAC codes.

            Comment

            • JimC
              Member
              • Nov 2008
              • 10

              #7
              Originally posted by nilshomer View Post
              Try Mosaik for the IUPAC codes.
              Nils,
              I can't find any clear statement about whether BWA or Bowtie handle IUPAC codes in reference sequences (or possible errors when using reference sequences with them included).

              Can you point me to any documentation or explanation about BWA or Bowtie and IUPAC ?

              I'm working on a bacterial genome which contains some small number of IUPAC characters in the reference.

              Thanks

              Jim

              Comment

              • nilshomer
                Nils Homer
                • Nov 2008
                • 1283

                #8
                Neither support them directly (I had to check the source code for BWA). BWA randomly converts them to a DNA base, not sure what Bowtie does.
                Last edited by nilshomer; 11-29-2011, 08:48 PM.

                Comment

                • ohofmann
                  Member
                  • Jan 2009
                  • 37

                  #9
                  NovoAlign also handles IUPAC reference sequences. There is a difference in how these are being handled -- Mosaik considers any base aligned to an IUPAC position a partial mismatch, NovoAlign does not penalize them.

                  (Note: Might be the other way around, can't check the documentation right now)

                  Comment

                  • nilshomer
                    Nils Homer
                    • Nov 2008
                    • 1283

                    #10
                    Originally posted by ohofmann View Post
                    NovoAlign also handles IUPAC reference sequences. There is a difference in how these are being handled -- Mosaik considers any base aligned to an IUPAC position a partial mismatch, NovoAlign does not penalize them.

                    (Note: Might be the other way around, can't check the documentation right now)
                    TMAP considers them as a mismatch during seeding but as a match for the final alignment. IUPAC positions are difficult to handle when most aligners assume the input is a simple reference string rather than a regex or graph structure.

                    Comment

                    Latest Articles

                    Collapse

                    • SEQadmin2
                      Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                      by SEQadmin2



                      CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                      Despite this, “CRISPR helped turn genome editing from a specialized technique into
                      ...
                      07-31-2026, 11:01 AM
                    • 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

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 08-13-2026, 12:22 PM
                    0 responses
                    30 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 08-11-2026, 10:35 AM
                    0 responses
                    24 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 08-06-2026, 07:41 AM
                    0 responses
                    38 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 08-03-2026, 10:13 AM
                    0 responses
                    51 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...