<< Data bases Data bases btd_getgenbank >>

BTD >> BTD > Data bases > btd_getembl

btd_getembl

Gets sequence information from the online EMBL database

Calling Function

filename = btd_getembl(x)
filename = btd_getembl(x, filepath)

Arguments

x

Unique identifier for a sequence record

filepath

local Path + filename where the file returned by the online query must be stored. The directory must be writable. If only a path to directory in provided, the default filename used is built as filepath+"/embl_"+x+".html".

filename

Name of the file returned by the query. By default (if no filepath is provided), it is named "dbfetch" and is stored in the current directory (that must be writeable).

Description

Retrieves sequence information from the online EMBL database, as a HTML file returned and stored locally.

Examples

fn = btd_getembl('X00558', TMPDIR)
winopen(fn);    // Opens the local file in your web browser
fileparts(fn, "fname")
--> fn = btd_getembl('X00558', TMPDIR)
 fn  =
 C:\Users\Me\AppData\Local\Temp\SCI_TMP_7176_10748\embl_X00558.html

--> winopen(fn);    // Opens the local file in your web browser

--> fileparts(fn, "fname")
 ans  =
 embl_X00558

See Also

History

VersionDescription
1.1 Input option filepath added.

Report an issue
<< Data bases Data bases btd_getgenbank >>