Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • rglover
    replied
    Hiya. Looking at the link you posted for where you downloaded your executables, you're definitely using BLAST+, so blastall (probably) won't work well.
    If you try formatting your database with:

    makeblastdb -in yourfasta.fasta -dbtype nucl

    that should format your database for use with the Blast+ executables. I've managed to use formatdb/makeblastdb interchangeably between blast/blast+ in the past, but on Windows so you never know, it might error on Linux.
    If you then use the "blastn -db <yourfasta.fasta> -word_size" etc convention for starting your blast it might work.

    Leave a comment:


  • maubp
    replied
    Originally posted by BioTalk View Post
    The list of file created by formatdb are:
    .nhr, .nin, .nsq, .nsd, .nsi
    What are the full names? This is important for what you tell blast, e.g. for example.nin etc tell blast the database name is example, but for example.fas.nin etc the database name is example.fas instead.

    Leave a comment:


  • BioTalk
    replied
    Originally posted by rglover View Post
    What are the names of the database files that formatdb is creating? Could you list them here? You could also try putting "-o T" on the end of your formatdb. Other than that I'm not really sure!
    The list of file created by formatdb are:
    .nhr, .nin, .nsq, .nsd, .nsi

    Leave a comment:


  • rglover
    replied
    What are the names of the database files that formatdb is creating? Could you list them here? You could also try putting "-o T" on the end of your formatdb. Other than that I'm not really sure!

    Leave a comment:


  • BioTalk
    replied
    Originally posted by rglover View Post
    It could be that when you've formatted the blast database you didn't set it for nucleotide sequences - formatdb defaults to protein if it finds no command to specify nucleotide.
    Try "formatdb -i <yourfasta.fasta> -p F"
    The -p F turns protein off and nucleotide on
    I tried "formatdb -i <yourfasta.fasta> -p F" and then my previous command but it gave me the same output as before

    Leave a comment:


  • BioTalk
    replied
    I just tried inputting one query sequence with the command: blastall -p blastn -F F -W 16 -i <inputfile.fa> -d <knownsequences.fa> -o <outputfile.fa>

    and I got almost similar output:

    BLASTN 2.2.21 [Jun-14-2009]


    Reference: Altschul, Stephen F., Thomas L. Madden, Alejandro A. Schaffer,
    Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997),
    "Gapped BLAST and PSI-BLAST: a new generation of protein database search
    programs", Nucleic Acids Res. 25:3389-3402.

    Query= 1-72342
    (20 letters)
    Do you think there is installation problem? or the command I am using are not correct?

    Leave a comment:


  • rglover
    replied
    It could be that when you've formatted the blast database you didn't set it for nucleotide sequences - formatdb defaults to protein if it finds no command to specify nucleotide.
    Try "formatdb -i <yourfasta.fasta> -p F"
    The -p F turns protein off and nucleotide on

    Leave a comment:


  • maubp
    replied
    You should have one line starting "Query=" for each query sequence.

    If that is a full file, it looks like BLAST is crashing or failing to finish.

    If I recall correctly, the next output would have been information about the BLAST database - are you sure that is setup right using formatdb? For example, can you do single queries against this database?

    Leave a comment:


  • BioTalk
    replied
    Originally posted by maubp View Post
    If you are using "blastall" then you are using the old legacy BLAST executables based on the NCBI C Toolkit.

    If you are using the new BLAST+ suite written in C++ then the command here would be "blastp" instead (and all the options have been renamed).
    I tried the command for blastn as you have suggested and for that I got some error for indexing.
    @biocomp:~/Desktop/Blast/bin$ ./blastn -word_size 16 -query <inputseq.fa> -db <sequencetocompare.fa> -out <outputfile.fa>
    BLAST Database error: No alias or index file found for nucleotide database [/home/Desktop/sequencetocompare.fa] in search path [/home/Desktop/Blast/bin::]

    Leave a comment:


  • BioTalk
    replied
    I am sorry for the confusion! It is giving almost blank output file with the following details in it instead of alignment result.

    BLASTN 2.2.21 [Jun-14-2009]


    Reference: Altschul, Stephen F., Thomas L. Madden, Alejandro A. Schaffer,
    Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997),
    "Gapped BLAST and PSI-BLAST: a new generation of protein database search
    programs", Nucleic Acids Res. 25:3389-3402.

    Query= Cluster_573384 1
    (23 letters)

    So, I thought Blast it not using multiple input query sequences.

    Leave a comment:


  • maubp
    replied
    Originally posted by BioTalk View Post
    Please let me know if you know how should I deal with "Blank output file" problem!
    You never mentioned a "blank output file" until now. I thought you said you were having trouble getting BLAST to use multiple input query sequences.


    Does blastall give any error messages?

    Did you remember to create a BLAST database first using formatdb?
    Last edited by maubp; 07-26-2010, 07:21 AM.

    Leave a comment:


  • BioTalk
    replied
    Originally posted by maubp View Post
    Unix/Linux/Mac OS X etc all use a LF character for a new line, while DOS/Windows uses the CR LF characters. This incompatibility is a common problem when dealing with files created on another OS.
    http://en.wikipedia.org/wiki/Newline
    Oh okay, I think this is not a problem with the fasta files as they are all created in Linux and being used in Linux. Also, I tried to open the files and they both looks like a normal fasta file.

    Please let me know if you know how should I deal with "Blank output file" problem!

    Leave a comment:


  • maubp
    replied
    Originally posted by BioTalk View Post
    Thank you for your prompt response!

    I am using Blast for Linux 64 bit downloaded from:


    The command line I am using is: blastall -p blastn -F F -W 16 -i <inputfile.fa> -d <knownsequences.fa> -o <outputfile.fa>
    If you are using "blastall" then you are using the old legacy BLAST executables based on the NCBI C Toolkit.

    If you are using the new BLAST+ suite written in C++ then the command here would be "blastn" instead (and all the options have been renamed).
    Last edited by maubp; 07-26-2010, 07:28 AM. Reason: blastn vs blastp typo

    Leave a comment:


  • maubp
    replied
    Originally posted by BioTalk View Post
    I am not sure about this question: Have you checked your FASTA files are using the right new line characters for your OS?
    Unix/Linux/Mac OS X etc all use a LF character for a new line, while DOS/Windows uses the CR LF characters. This incompatibility is a common problem when dealing with files created on another OS.

    Leave a comment:


  • BioTalk
    replied
    I am not sure about this question: Have you checked your FASTA files are using the right new line characters for your OS?

    Leave a comment:

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
23 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
36 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
42 views
0 reactions
Last Post SEQadmin2  
Working...