Skip to content

Commit

Permalink
New script to retrieve PubMed refs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjolley committed Aug 23, 2019
1 parent 9e29a80 commit 10dff3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = '1.23.0'
version = '1.24.0'
# The full version, including alpha/beta/rc tags.
release = '1.23.0'
release = '1.24.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
19 changes: 4 additions & 15 deletions dbase_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1333,22 +1333,11 @@ is populated by a script that looks in BIGSdb databases for PubMed records not
locally stored and then requests the full citation record from the PubMed
database.

The script is called get_refs.pl and can be found in the scripts/maintenance
directory. This script needs to know which BIGSdb databases and tables it
needs to search for PubMed ids. These are listed in a configuration file
(usually called getrefs.conf) which contains two columns - the first is the
name of the database, the second is a comma-separated list of tables to search,
e.g. ::

pubmlst_bigsdb_neisseria_isolates refs,scheme_refs
pubmlst_bigsdb_neisseria_seqdef profile_refs,sequence_refs,locus_refs,scheme_refs

The script can be called as follows: ::

get_refs.pl getrefs.conf
The script is called retrieve_pubmed_records.pl and can be found in the
scripts/maintenance directory.

Run either as the 'postgres' user or an account that is allowed to connect as
the postgres user.
Simply run the script either as the 'postgres' user or an account that is
allowed to connect as the postgres user.

This should be run periodically from a CRON job, e.g. every hour.

Expand Down

0 comments on commit 10dff3b

Please sign in to comment.