Extract locus length given locus accession number
1
0
Entering edit mode
2.8 years ago
m.koohi.m ▴ 120

Hello, I want to find a simple way (API or batch query) to extract locus length from locus accession number.

For example: Given JF752342.1 I want to extract 59320 which is the length of this locus.


https://www.ncbi.nlm.nih.gov/nuccore/JF752342.1

Any API or any batch query?

Regards,

genome ncbi API • 633 views
ADD COMMENT
2
Entering edit mode
2.8 years ago
GenoMax 141k

Using EntrezDirect:

$ esearch -db nuccore -query "JF752342" | esummary | xtract -pattern DocumentSummary -element Caption,Slen
JF752342    59320
ADD COMMENT

Login before adding your answer.

Traffic: 1886 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