Skip to content

Releases: kjolley/BIGSdb

Version 1.47.0

27 Jun 13:18
Compare
Choose a tag to compare

Version 1.47.0 introduces an embargo system for isolate submissions. This can be enabled in the bigsdb.conf file:

###ISOLATE EMBARGOES########
#Set to enable isolate embargoes and limit the time allowed. These can be 
#overridden in individual isolate database config files.
#Values are in months.
embargo_enabled=1
default_embargo=12
max_initial_embargo=24
max_embargo=48

These values can also all be overridden in the config.xml file for a specific database, e.g. embargo_enabled="yes".

If enabled, submitters will now see an option to request an embargo when they submit. They can choose an embargo length up to the value set by max_initial_embargo (default 24 months).

image

Users will be able to see embargoed isolates when they are logged in and they behave like any other private data in that they can be shared with others by adding them to a shared user project. Curators will also be able to see them, whereas normal private isolates cannot be seen by curators.

Isolate_information_id_150479_test_Neisseria_isolates

It is also possible to search for embargoed isolates and by embargo date and users will see a hyperlinked reminder when they are logged in of how many embargoed isolates they have and the date at which the first of these will become public.

Neisseria_isolates

Curators with the appropriate permission set are able to modify embargo dates for both currently public isolates (making them private if they were submitted publicly by mistake) or for currently embargoed isolates.

Query_or_update_isolates

embargo

Finally, you should run the check_embargoes.pl script once a day to automatically publish any isolate that reaches its embargo date.

In addition, quotas for projects has now been introduced. Previously only users could have quotas and projects could be set to be quota-free.

Full Changelog: v_1.46.2...v_1.47.0

Version 1.46.2

31 May 08:04
Compare
Choose a tag to compare

BingMaps has been removed as an option for mapping as Microsoft will be retiring this service in June 2025. It has been replaced with options to use MapTiler (satellite) and ArcGIS streetmap/satellite imagery, alongside the existing option of OpenStreetMap for street level mapping.

OpenStreetMap

osm

MapTiler

maptiler

Esri/ArcGIS streetmap

Esri_street

Esri/ArcGIS satellite

Esri

You can select the appropriate options in bigsdb.conf (these can all also be overridden in individual database config.xml files if you wish to use different options or API keys):

#MAPPING############
#Set the option for displaying location maps.
#Note for Esri/ArcGIS services you must register 
#[https://developers.arcgis.com/en/sign-up/] 
#and abide by terms of service [https://developers.arcgis.com/en/terms/].
#For MapTiler you need to register and get an API key [https://www.maptiler.com/]. 

#0: OpenStreetMaps only
#1: OpenStreetMaps + MapTiler satellite imagery
#2: OpenStreetMaps + Esri/ArcGIS World Imagery (satellite)
#3: Esri/ArcGIS World Street Map + Esri/ArcGIS World Imagery (satellite) 

mapping_option=0
;maptiler_api_key=xxxxxxxxxx

Note that use of MapTiler requires an API key - the free tier allows up to 100,000 map tile requests per month. You must also register for an Esri account to use Esri/ArcGIS services (you will need a paid account if using this commercially).

See the database setup documentation if you wish to enable mapping - either using a location field that contains GPS coordinates, or a geographic field such as 'town_or_city' which can be linked to a lookup table of GPS coordinates. The latter lookup table can be automatically populated to find the coordinates of towns and cities using the gp_town_lookups.pl script.

Full Changelog: v_1.46.1...v_1.46.2

Version 1.46.1

22 May 14:47
Compare
Choose a tag to compare

Version 1.46.1 introduces a new SNPsites plugin.

The SNPsites plugin aligns sequences for specified loci for an isolate dataset. The alignment is then passed to snp-sites to identify SNP positions. Output consists of a summary table including the number of alleles and polymorphic sites found for each locus, an interactive D3 chart that displays the summary, and ZIP files containing alignment FASTAs and VCF files for each locus.

Note that snp-sites needs to be installed and its path set in bigsdb.conf, e.g.

#snp-sites##########
snp_sites_path=/usr/bin/snp-sites

Full Changelog: v_1.46.0...v_1.46.1

Version 1.46.0

13 May 08:20
Compare
Choose a tag to compare

Version 1.46.0 introduces the following changes:

  • An option has been added to filter alleles, profiles, and isolates for non-logged in users to records added before a specified date. This requires users to log in if they wish to access more recent data and has been introduced to provide licensing options. This can be activated globally in bigsdb.conf or within individual database config.xml files by setting the login_to_show_after_date attribute.

In bigsdb.conf:

login_to_show_after_date=2024-01-01

In config.xml:

login_to_show_after_date="2024-01-01"
  • Fix for missing foreign key on the query_interface_fields table and missing primary key on scheme completion cache tables.

Full Changelog: v_1.45.0...v_1.46.0

Version 1.45.0

26 Apr 13:40
Compare
Choose a tag to compare

Version 1.45.0 introduces the following changes:

  • An option has been added to highlight private data in the Excel file generated for isolate exports. If a user has access to private data (which may belong to others and been shared with them) there will be a section on the form that allows the user to select how these records are shaded within the output.

image

  • An option has been added for an admin to create customized isolate query forms with pre-selected fields shown. New options will appear in the admin interface (with the Misc toggle selected):

image

Clicking the Add Query Interface link will allow a user to define new link text that will appear within the Search list on the contents page. Once this has been done, the Query Interface Fields links will become visible and this allows the admin to select any number of provenance, scheme, or LINcode fields to be pre-selected when the link is clicked.

image

image

  • Finally, separate options have been added to force users to be logged in to download alleles or profiles when using the web interface. This is to encourage users to script downloads using the API. There are global settings in the bigsdb.conf file:
###DOWNLOADS################
#Require users to be logged in to download records via web interface
#Note that this is likely to prevent automated downloads (which generally
#should be done via API). These values can be overridden in the database
#config.xml file.

allele_downloads_require_login=1
profile_downloads_require_login=1

These can also be overridden on a per-database basis in the database config.xml file, e.g.

allele_downloads_require_login="yes"
profile_downloads_require_login="no"

Full Changelog: v_1.44.1...v_1.45.0

Version 1.44.1

22 Apr 09:44
Compare
Choose a tag to compare

Version 1.44.1 introduces the following changes:

image

  • An option has been added to scannew.pl to only scan records that have passed assembly checks.
  • An option has also been added to not scan private records.

See https://bigsdb.readthedocs.io/en/latest/offline_tools.html#automated-offline-allele-definition for all scannew.pl options.

Full Changelog: v_1.44.0...v_1.44.1

Version 1.44.0

15 Apr 08:47
Compare
Choose a tag to compare

Version 1.44.0 introduces the following changes:

  • New database indexes have been added to improve performance (thanks @braffes).
  • Some rarely or never used indexes have been dropped.
  • The option to set an allele designation with a status of 'ignore' has been removed. This was not really used but added an unnecessary filtering contraint on multiple queries.
  • The number of isolates that match the current isolate at different LIN code thresholds are now displayed on an isolate record page (if LIN code has been assigned). The number is hyperlinked and takes you to a query that returns the matching isolates.

image

An administrator can also decide whether or not to include classification scheme or LIN code scheme matches on the isolate information page. These are enabled by default, if defined, but can be disabled with the following options in config.xml:

show_lincode_matches="no"
show_classification_schemes="no"

In addition, the number of LIN code thresholds to display can be set with the following option (replace the number with the required number of thresholds):

show_lincode_thresholds="5"

Full Changelog: v_1.43.3...v_1.44.0

Version 1.43.3

20 Mar 10:54
Compare
Choose a tag to compare

Version 1.43.3 brings the following changes:

  • An optional message can be added on the allele and profile download pages to indicate that users should use the API for scripted data downloads. It is much easier to rate-limit the API than the web interface and it generally uses less resources to serve data. This message can be enabled by setting the URL for the API in bigsdb.conf, e.g. rest_url=https://rest.pubmlst.org

image

  • The JQuery.UI.multiselect widget is now used for dropdown boxes with large numbers of options, e.g. locus lists on the isolate query page, or where multiple options can be selected, such as the the 'includes' field list on various plugins. Where appropriate, the list is also searchable to make finding and selecting values quicker and easier.

image

  • Javascript performance has been improved for background loading of isolate query form elements.
  • Limits can now be set for the number of offline jobs that any single user can run for individual plugins. See the updated format of the job_limits.conf file found in the conf directory. If the limit is reached then further jobs for that particular plugin and user will be queued.

Full Changelog: v_1.43.2...v_1.43.3

Version 1.43.2

08 Mar 11:34
Compare
Choose a tag to compare

Version 1.43.2 brings the following changes:

  • Additional logging information added. This includes the particular locus or scheme selected in data downloads, or the isolate record being shown.
  • The cgST with fewest missing loci is now highlighted on the isolate info page when the isolate has multiple cgSTs.
  • The query dashboard is now shown for bookmarked and publication queries.
  • There is now an option to force users to log-in if they want to run offline jobs (see jobs_require_login=1 in bigsdb.conf).
  • There is now an option to automatically check the box to tag incomplete loci at specified identity thresholds (rather than just at 100% identity)
  • 'Ambiguous read' flags are now automatically set on tags if sequence contains non-A,G,T,C characters.
  • JQuery.UI.multiselect is now used for the flag dropdown box on the tag scan page. Previously we used an unformatted scrolling list box where an allele already had a flag but this was 4-5 lines long and made the table ugly and multiple flags difficult to select. For new tags there was a standard dropdown box which meant only one flag could be selected. As scan tables can be many thousands of rows long, the dropbox is only rendered when it is first visible in the current viewport.

Full Changelog: v_1.43.1...v_1.43.2

Version 1.43.1

31 Jan 15:02
Compare
Choose a tag to compare

Hotfix release to fix the isolate query modification trigger not appearing on the isolate query page (broken in commit d4b5439).

Full Changelog: v_1.43.0...v_1.43.1