Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ncbi-blast

    Hi,

    I have a trialseq.fa file having a sequence:

    >trialseq
    TGGCCTAACCTTCGGGAAGGAGCCGTCTAAGGCAGGGCAGATGACNNNNNNNNNNNNGTAACAAGNNNNNNNNNNNNGAACCTGNNNNNNGATCACCTCCTTTCTA

    There is also a blast db having the same sequence:
    makeblastdb -in trialseq.fa -dbtype nucl -out trial.db

    The trialseq has been blasted agains the DB:
    blastn -db trial.db -query trialseq.fa -out blast.txt

    However, blast result show only a partial match:

    ----
    Score = 84.2 bits (45), Expect = 4e-22
    Identities = 45/45 (100%), Gaps = 0/45 (0%)
    Strand=Plus/Plus

    Query 1 TGGCCTAACCTTCGGGAAGGAGCCGTCTAAGGCAGGGCAGATGAC 45
    |||||||||||||||||||||||||||||||||||||||||||||
    Sbjct 1 TGGCCTAACCTTCGGGAAGGAGCCGTCTAAGGCAGGGCAGATGAC 45

    ----

    How to use blast in such a way that it would return true 100% match? So that N would match as any nucleotide.

    Thanks

  • #2
    Originally posted by sampie View Post
    Hi,

    I have a trialseq.fa file having a sequence:

    >trialseq
    TGGCCTAACCTTCGGGAAGGAGCCGTCTAAGGCAGGGCAGATGACNNNNNNNNNNNNGTAACAAGNNNNNNNNNNNNGAACCTGNNNNNNGATCACCTCCTTTCTA

    There is also a blast db having the same sequence:
    makeblastdb -in trialseq.fa -dbtype nucl -out trial.db

    The trialseq has been blasted agains the DB:
    blastn -db trial.db -query trialseq.fa -out blast.txt

    However, blast result show only a partial match:

    ----
    Score = 84.2 bits (45), Expect = 4e-22
    Identities = 45/45 (100%), Gaps = 0/45 (0%)
    Strand=Plus/Plus

    Query 1 TGGCCTAACCTTCGGGAAGGAGCCGTCTAAGGCAGGGCAGATGAC 45
    |||||||||||||||||||||||||||||||||||||||||||||
    Sbjct 1 TGGCCTAACCTTCGGGAAGGAGCCGTCTAAGGCAGGGCAGATGAC 45

    ----

    How to use blast in such a way that it would return true 100% match? So that N would match as any nucleotide.

    Thanks
    have you tried modifying Query filtering options?

    Code:
    -dust <String>
       Filter query sequence with DUST (Format: 'yes', 'level window linker', or
       'no' to disable)
       Default = `20 64 1'
     -filtering_db <String>
       BLAST database containing filtering elements (i.e.: repeats)
     -window_masker_taxid <Integer>
       Enable WindowMasker filtering using a Taxonomic ID
     -window_masker_db <String>
       Enable WindowMasker filtering using this repeats database.
     -soft_masking <Boolean>
       Apply filtering locations as soft masks
       Default = `true'
     -lcase_masking
       Use lower case filtering in query and subject sequence(s)?

    Comment


    • #3
      Hi,

      It seems it might be possible to get blast to work for some data set by trying various parameters. However, I contacted ncbi support and they told that handling ambiguous matches is not the strong suite of BLAST.

      So, I quess it is better to just try to find a local aligner which does support ambiguous matches.

      Any suggestions for a good local aligner for this purpose?

      Thanks

      Comment


      • #4
        with fasta package you can align local-local, local-global, global-global

        http://fasta.bioch.virginia.edu/fast...sta_down.shtml

        Comment


        • #5
          Thanks for suggestion.

          How about bowtie2? It seem to be quite popular and good tools. From bowtie2 help I found that it can be disabled that N is considered as a negatively scoring match. However, I did not find an option to have N as positively scoring match.

          Comment


          • #6
            My experience with Bowtie2 is limited to map Illumina reads to reference genome.
            have in mind that bowtie output is in sam format.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 11:49 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 08:47 AM
            0 responses
            16 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            61 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Working...
            X