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
              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
            • seqadmin
              Techniques and Challenges in Conservation Genomics
              by seqadmin



              The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

              Avian Conservation
              Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
              03-08-2024, 10:41 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 06:37 PM
            0 responses
            10 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 06:07 PM
            0 responses
            9 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-22-2024, 10:03 AM
            0 responses
            50 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-21-2024, 07:32 AM
            0 responses
            67 views
            0 likes
            Last Post seqadmin  
            Working...
            X