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
              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
            • seqadmin
              Strategies for Sequencing Challenging Samples
              by seqadmin


              Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
              03-22-2024, 06:39 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            30 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            32 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            28 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            52 views
            0 likes
            Last Post seqadmin  
            Working...
            X