Skip to content

Commit a23b4fb

Browse files
committed
add PMCID from pubmed as well
1 parent 661ff36 commit a23b4fb

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Diff for: NCBI PubMed.js

+12-10
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"inRepository": true,
1313
"translatorType": 13,
1414
"browserSupport": "gcsbv",
15-
"lastUpdated": "2013-12-02 20:50:04"
15+
"lastUpdated": "2014-01-05 14:36:04"
1616
}
1717

1818
/*****************************
@@ -409,9 +409,10 @@ function doImportFromText(text, next) {
409409
newItem.DOI = ZU.xpathText(articles[i], 'PubmedData/ArticleIdList/ArticleId[@IdType="doi"]');
410410

411411
var PMID = ZU.xpathText(citation, 'PMID');
412+
var PMCID = ZU.xpathText(articles[i], 'PubmedData/ArticleIdList/ArticleId[@IdType="pmc"]');
412413
if(PMID) {
413414
newItem.extra = "PMID: "+PMID;
414-
415+
if (PMCID) newItem.extra += " \nPMCID: " + PMCID;
415416
//this is a catalog, so we should store links as attachments
416417
newItem.attachments.push({
417418
title: "PubMed entry",
@@ -420,7 +421,8 @@ function doImportFromText(text, next) {
420421
snapshot: false
421422
});
422423
}
423-
424+
else if (PMCID) newItem.extra += "PMCID: " + PMCID;
425+
424426
newItem.complete();
425427
}
426428

@@ -1145,19 +1147,19 @@ var testCases = [
11451147
"snapshot": false
11461148
}
11471149
],
1150+
"title": "A map of human genome variation from population-scale sequencing",
1151+
"pages": "1061-1073",
11481152
"ISSN": "1476-4687",
11491153
"journalAbbreviation": "Nature",
1154+
"publicationTitle": "Nature",
1155+
"volume": "467",
11501156
"issue": "7319",
1157+
"date": "Oct 28, 2010",
11511158
"language": "eng",
11521159
"abstractNote": "The 1000 Genomes Project aims to provide a deep characterization of human genome sequence variation as a foundation for investigating the relationship between genotype and phenotype. Here we present results of the pilot phase of the project, designed to develop and compare different strategies for genome-wide sequencing with high-throughput platforms. We undertook three projects: low-coverage whole-genome sequencing of 179 individuals from four populations; high-coverage sequencing of two mother-father-child trios; and exon-targeted sequencing of 697 individuals from seven populations. We describe the location, allele frequency and local haplotype structure of approximately 15 million single nucleotide polymorphisms, 1 million short insertions and deletions, and 20,000 structural variants, most of which were previously undescribed. We show that, because we have catalogued the vast majority of common variation, over 95% of the currently accessible variants found in any individual are present in this data set. On average, each person is found to carry approximately 250 to 300 loss-of-function variants in annotated genes and 50 to 100 variants previously implicated in inherited disorders. We demonstrate how these results can be used to inform association and functional studies. From the two trios, we directly estimate the rate of de novo germline base substitution mutations to be approximately 10(-8) per base pair per generation. We explore the data with regard to signatures of natural selection, and identify a marked reduction of genetic variation in the neighbourhood of genes, due to selection at linked sites. These methods and public data will support the next phase of human genetic research.",
11531160
"DOI": "10.1038/nature09534",
1154-
"extra": "PMID: 20981092",
1155-
"libraryCatalog": "NCBI PubMed",
1156-
"title": "A map of human genome variation from population-scale sequencing",
1157-
"pages": "1061-1073",
1158-
"publicationTitle": "Nature",
1159-
"volume": "467",
1160-
"date": "Oct 28, 2010"
1161+
"extra": "PMID: 20981092 \nPMCID: PMC3042601",
1162+
"libraryCatalog": "NCBI PubMed"
11611163
}
11621164
]
11631165
}

0 commit comments

Comments
 (0)