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
              Genetic Variation in Immunogenetics and Antibody Diversity
              by seqadmin



              The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
              11-06-2024, 07:24 PM
            • seqadmin
              Choosing Between NGS and qPCR
              by seqadmin



              Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...
              10-18-2024, 07:11 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 11:09 AM
            0 responses
            23 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Today, 06:13 AM
            0 responses
            20 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 11-01-2024, 06:09 AM
            0 responses
            30 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 10-30-2024, 05:31 AM
            0 responses
            21 views
            0 likes
            Last Post seqadmin  
            Working...
            X