<< btd_getpdb Data bases

BTD >> BTD > Data bases > btd_getuniprot

btd_getuniprot

Retrieve sequence information from UniProt database

Calling Function

filename = btd_getuniprot(x)
filename = btd_getuniprot(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+"/uniprot_"+x+".html".

filename

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

Description

Retrieve sequence information from UniProt database

Examples

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

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

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

See Also

History

VersionDescription
1.1 Input option filepath added.

Report an issue
<< btd_getpdb Data bases