| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repo contains scripts that are used to generate most FlyBase bulk reports, as well as reports for FlyBase curators and external collaborators. This is a new public repository that replaces the private, retired harvdev-reports (renamed to harvdev-reports-old) repository. This repo contains a mix of newer python scripts and older perl (taken from the fb_cvs/FB/scripts/reports repo). Bulk reports for FlyBase users are shipped off to IUDev and incorporated into the public FB site on the Downloads page and FTP site. Other reports are posted to internal and external FTP sites for use.
This code is intended to run in docker using the Bulk_Reports GoCD pipeline (Reporting_Build pipeline group).
This Bulk_Reports GoCD pipeline is automatically triggered by the completion of the related, upstream Reporting_Build GoCD pipeline.
Variables are set at the outset of the entire reporting release build for the Reporting_Build pipeline group environment that runs all pipelines.
The variables relevant to the generation of bulk reports are as follows:
Here is the list of plain text variables that change each release:
ANNOTATIONRELEASE - the Dmel annotation release version for the reporting build - check the FB public release notes and increment that by one.
RELEASE - the current release under construction: e.g., 2024_01.
PREV_RELEASE - the release number for the previous reporting build: e.g., if RELEASE=2024_01, then PREV_RELEASE=2023_06.
Here is the list of plain text variables that rarely change from release to release:
BUILD_DIR - the directory in which files for the db build are stored: i.e., /data/build-public-release.
USER - the postgres use name, which does not change: i.e., go.
DOCKER_USER - the docker username for the FlyBase docker account: i.e., harvdevgocd.
REPORTING_SERVER - the server on which the reporting dbs are kept: i.e., flysql25.
REPORTING_DATABASE - the name of the reporting build that is in progress: e.g., fb_2024_01_reporting.
ASSEMBLY - the name of the current Dmel reference genome assembly as it is known at the Alliance: i.e., R6.
Download files are generated by the Bulk_Reports in Reporting_Build pipeline group.
The pipeline automates these steps:
Occasionally (up to once per FlyBase public release), Sian provides a flash drive with updated images for the Gal4 table. These new images need to be added to the existing set (rarely, there will be replacements). The updated image set needs to be uploaded to the FB FTP for IUDev as a tarball. Also, the metadata needs to be updated so that image names are incorporated into the JSON file that feeds the table.
sftp ftpsite sftp> cd foriu/gal4images sftp> put FUG4_YYYY-MM-DD.tar.gz sftp> ls -l sftp> bye
The Reporting Build SOP discusses various troubleshooting scenarios for dealing with failed scripts and GoCD pipelines. If a file size check fails, see the Reporting Build SOP for a discussion on what to do. In summary, if the file needs fixing, fix it. If the file is too small (<95% normal), but still ok, use the -o override command to re-run the script and bypass the error (take out -o after the override is done).
| Back | FazBrowse Home | New Git URL |