以编程方式获取blastn数据库
有没有办法以编程方式获取“选择搜索集”框中列出的数据库? 也许是 XML 格式? (使用的编程语言并不重要)
In the Nucleotide BLAST search page
is there a way to obtain programmatically the databases listed in the "Choose Search Set" box?
Maybe in XML format? (it doesn't matter the programming language used)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
你的问题我不清楚。然而,这里是一个使用 BioPerl 的程序,它将从任何数据库(在“db”下指定)和任何搜索词(在“term”下指定)获取信息。然后,这将保存一个文件,其中包含与给定数据库中的搜索词相关的所有 NCBI 序列。
Your question is unclear to me. However, here is a program using BioPerl that will obtain info from any database (specified under 'db') and any search term (specified under 'term'). This will then save a file with all of NCBIs sequences related to your search term in the given database.
我认为您无法通过 NCBI Web 服务获取此信息。
使用 XSLT:
和 xsltproc:
返回;
I don't think you can get this information threw the NCBI Web services.
Using XSLT:
and xsltproc:
returns;
我不完全是你打算用这个的目的,但 NCBI 使用的完整数据库集位于他们的 FTP 站点:ftp://ftp.ncbi.nih.gov/blast/db/
如果您只对数据库名称感兴趣,只需查看第一个 之前的位即可。 ——大多数数据库都足够大,可以进行分段。
为了进行大量的过滤(例如通过生物体),他们使用别名文件来通过 GI 编号限制这些较大数据库中的一个或多个。
I'm not entirely what you intend to use this for, but the complete set of databases used by NCBI are at their FTP site: ftp://ftp.ncbi.nih.gov/blast/db/
If you're only interested in the database names, just look at the bit before the first . -- most of the databases are large enough to be segmented.
In order to do a good chunk of the filtering (e.g by organism), they use alias files that restrict one or more of these larger databases by GI number.
需要一些 FTP API 才能以编程方式获取这些库。然而,即使压缩后,这些文件也相当大。也许您至少应该检查下载网站上的可用版本是否与您已下载的缓存版本不同。 Java FTP 库的审查位于 http://www.javaworld .com/javaworld/jw-04-2003/jw-0404-ftp.html。
Some FTP API is required to get these libraries programatically. However these files are rather large, even when compressed. Probably you should at least check if the version available on the download site is not the same as your already downloaded, cached version. Java FTP libraries are reviewed at http://www.javaworld.com/javaworld/jw-04-2003/jw-0404-ftp.html.