Delete entry species from NCBi databse
1
0
Entering edit mode
5.0 years ago

Good morning, Is it possible to exclude one species of the entire nt, NCBI database? Thanks for the help.

NCBI databse • 1.4k views
ADD COMMENT
1
Entering edit mode

From the help, think this can help you. You can see the full description if you put -help behind your command like blastn -help

-negative_gilist <String>
   Restrict search of database to everything except the specified GIs
    * Incompatible with:  gilist, seqidlist, taxids, taxidlist,
   negative_seqidlist, negative_taxids, negative_taxidlist, remote, subject,
   subject_loc
 -negative_seqidlist <String>
   Restrict search of database to everything except the specified SeqIDs
    * Incompatible with:  gilist, seqidlist, taxids, taxidlist,
   negative_gilist, negative_taxids, negative_taxidlist, remote, subject,
   subject_loc
 -taxids <String>
   Restrict search of database to include only the specified taxonomy IDs
   (multiple IDs delimited by ',')
    * Incompatible with:  gilist, seqidlist, taxidlist, negative_gilist,
   negative_seqidlist, negative_taxids, negative_taxidlist, remote, subject,
   subject_loc
 -negative_taxids <String>
   Restrict search of database to everything except the specified taxonomy IDs
   (multiple IDs delimited by ',')
    * Incompatible with:  gilist, seqidlist, taxids, taxidlist,
   negative_gilist, negative_seqidlist, negative_taxidlist, remote, subject,
   subject_loc
ADD REPLY
0
Entering edit mode

Hi, could you elaborate on this question?

What is the goal? do you mean in a local setting or remove from the official releases as well?

ADD REPLY
0
Entering edit mode

In my analysis, we perform the analysis using blast against all database, so the goal would be to delete in a local setting.

ADD REPLY
1
Entering edit mode

I think you want to "exlude" species from blast process. Do you have a blast command line we can start with ?

ADD REPLY
0
Entering edit mode

I use this command line: 'blastn -task megablast -num_threads 6 -outfmt "6 std ssciname" -max_target_seqs 1 -db nt_v5 -query ' + clustfastareps + " -out "+blastfile' Thanks for the help

ADD REPLY
0
Entering edit mode

also, be careful with using -max_target_seqs 1 , it might in some cases not do (or result) in what you expect it to do. There are some threads here on Biostars about it.

EDIT: and outside Biostar as well as indicated by Bastien Hervé !

ADD REPLY
0
Entering edit mode

Thank you for the help

ADD REPLY
0
Entering edit mode

ok, that' s one thing already

anyway, we would need more info to be able to assist you, which DBs are you referring to? what kind of analysis?

ADD REPLY
0
Entering edit mode

I'm sorry, I'm using all nt.

ADD REPLY
1
Entering edit mode
5.0 years ago
GenoMax 141k

You can use the following option to eliminate a specific species (find its taxid from Tax Browser):

-negative_taxids <String>
   Restrict search of database to everything except the specified taxonomy IDs
   (multiple IDs delimited by ',')
ADD COMMENT

Login before adding your answer.

Traffic: 1913 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6