Papers Page Code

From GersteinInfo

(Difference between revisions)
Jump to: navigation, search
(Return to index)
(Return to index)
Line 14: Line 14:
<blockquote>
<blockquote>
-
** Papers Master **
+
*Papers Master  
<Labid> - id by which to refer to the article <br />
<Labid> - id by which to refer to the article <br />
<PMID> - PubMed id<br />
<PMID> - PubMed id<br />
Line 20: Line 20:
<Citation> - citation of the article (author, journal, year, etc) (If pubmed id exists, leave blank)<br />
<Citation> - citation of the article (author, journal, year, etc) (If pubmed id exists, leave blank)<br />
<preprint> - URL of the preprint file<br />
<preprint> - URL of the preprint file<br />
 +
<subjects> - specifies the grant(s) funding the paper (e.g. "cegs,keck") (refer to Papers Subjects)<br />
<website> - supplemental website<br />
<website> - supplemental website<br />
<Year> - published year of an article (must fill in) <br />
<Year> - published year of an article (must fill in) <br />
<footnote> - footnote of this article <br />
<footnote> - footnote of this article <br />
<website2> - second supplemental website<br />
<website2> - second supplemental website<br />
-
** Papers Subject **
+
*Papers Subject  
-
<Category> - name of subject areas<br />
+
<Category> - classification of research areas<br />
-
<LabID> -name of subject areas <br />
+
<LabID> -name of grants <br />
-
<grant> - specifies the grant(s) funding the paper (e.g. "cegs,keck")<br />
+
<Title> - brief description of grants <br />
 +
<Website> - website of research grants <br />
 +
<Html> - content appears on webpage <br />
</blockquote>
</blockquote>
-
The tags can conceptually be divided into two groups: ones such as PMID and labitle, which serve to identify the paper, and tags such as website and subject which supply supplemental information about the paper. There are three ways to identify a paper (in order of decreasing precedence):
+
The tags can conceptually be divided into two groups: ones such as PMID and labitle, which serve to identify the paper, and tags such as website and subject which supply supplemental information about the paper. There are two ways to identify a paper (in order of decreasing precedence):
# PMID
# PMID
-
# labtitle, labcite
+
# Title, Citation
-
# labtitle, Authors, Journal and optionally Year, Volume and Pages
+
-
For the proper display of the paper, at least on of these methods must be specified in citation.xml. You should always include the PMID if a paper is known to be listed in PubMed. Option 2 should be used for papers that are in press.
+
You should always include the PMID if a paper is known to be listed in PubMed. Option 2 should be used for papers that are in press.
-
The other group of tags supplies additional information about the paper specified by the first group of tags. All of these tags are optional, however used of <tt><grant></tt> and <tt><preprint> </tt> is strongly encouraged. (Please consult Mark for guidelines on citing grants.)
+
The other group of tags supplies additional information about the paper specified by the first group of tags. All of these tags are optional, however used of <tt><subjects></tt> and <tt><preprint> </tt> is strongly encouraged. (Please consult Mark for guidelines on citing grants.)
-
'''CGI and Perl scripts:''' These are invoked from a password-protected directory on the server ([/papers_template click here to access]). You can view the source code [scripts here]. The most important script that most people will use is <tt>papers.cgi</tt>. This simply invokes two other scripts:
 
-
 
-
* <tt>importEprint.sh</tt> creates the directory <tt>/web/papers/skel</tt> which is used for collecting citation info later on. It will back up the existing copy of <tt>/web/papers</tt> to <tt>/web/papers_template/backup/skel_DATE.tar.gz</tt>, which can later be recovered.
 
-
* <tt>papers.pl</tt> is a script that takes a main XML file containing a list of articles in NCBI format, and collects information contained in the copies citation.xml files found in <tt>/web/papers/skel</tt> which specify supplimental information for the articles in the main file. It will add any papers not in the list downloaded from the NCBI to the overall list, which is saved in the file <tt>/web/papers/papers.xml</tt>. The following files are produced by this script: 
 
-
 
-
<blockquote>
 
-
/web/papers/index.html<br/>
 
-
/web/papers/paper-tags.htm<br/>
 
-
/web/papers/paper-ids.htm<br/>
 
-
/web/papers/papers-simple.html<br/>
 
-
/web/papers/papers.xml<br/>
 
-
/web/papers/[labid]/index.html<br/>
 
-
/web/papers/grant/index.html<br/>
 
-
/web/papers/grant/[grantid].html<br/>
 
-
</blockquote>
 
-
 
-
The other scripts of importance:
 
-
 
-
* <tt>downloadXML.cgi</tt> obtains a complete listing of Mark's publications from PubMed. This is a non-trivial task (and currently relies on the NCBI not changing any aspect of their site). The downloaded file is <tt>/web/papers/NCBIData.xml</tt>. This script should be invoked whenever a new paper is published.
 
-
* <tt>rollback.cgi</tt> recovers an earlier copy of <tt>/web/papers</tt> in case of disaster. Backups are stored in <tt>/web/papers_template/backup </tt>.
 
</font>
</font>

Revision as of 14:09, 12 September 2011

Contents

New Stuff

MBGLab--Papers-Master

Papers-Subjects

Automatic generation of publication documents from SpreadSheet

Return to index

Introduction and guidelines: All papers are defined by a unique "labid" such as "pgenes-nar" or "genome-transposon-nature". Ideally, the labid should contain the abbreviated subject and journal name as shown. To add a paper, you simply need to go to MBGLab--Papers-Master (Link above) , then fill in the corresponding columns. If you also want to add a new subject area, go to Papers-Subjects (Link above). After finishing adding new papers, go to Private Wiki and find the rebuild link (under Papers / Manuscripts ), then click it.

Here is a list of the tags and their meanings:

  • Papers Master
<Labid> - id by which to refer to the article
<PMID> - PubMed id
<Title> - title of the article (If pubmed id exists, leave blank)
<Citation> - citation of the article (author, journal, year, etc) (If pubmed id exists, leave blank)
<preprint> - URL of the preprint file
<subjects> - specifies the grant(s) funding the paper (e.g. "cegs,keck") (refer to Papers Subjects)
<website> - supplemental website
<Year> - published year of an article (must fill in)
<footnote> - footnote of this article
<website2> - second supplemental website
  • Papers Subject
<Category> - classification of research areas
<LabID> -name of grants
<Title> - brief description of grants
<Website> - website of research grants
<Html> - content appears on webpage

The tags can conceptually be divided into two groups: ones such as PMID and labitle, which serve to identify the paper, and tags such as website and subject which supply supplemental information about the paper. There are two ways to identify a paper (in order of decreasing precedence):

  1. PMID
  2. Title, Citation

You should always include the PMID if a paper is known to be listed in PubMed. Option 2 should be used for papers that are in press.

The other group of tags supplies additional information about the paper specified by the first group of tags. All of these tags are optional, however used of <subjects> and <preprint> is strongly encouraged. (Please consult Mark for guidelines on citing grants.)

Rebuild Link

Rebuild Link on private wiki

Old Code Page

Redirect Papers Page Code Old

Personal tools