Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
44bfd82
update to sgn-377.0 with fix of fieldmap display issue.
lukasmueller Dec 12, 2023
34192e4
Fix for broken phenotype overlay on fieldmap; issue with geo fieldmap…
lukasmueller Dec 13, 2023
7a8929f
update to sgn-378.0. Add Rosner test and IQR metric to dataset outlie…
lukasmueller Jan 9, 2024
4bd80d8
fix locus owner association; add bulk and buk_open cross types; chang…
lukasmueller Jan 26, 2024
87914ed
updating to sgn-380.0. Includes improvements to advanced vector searc…
lukasmueller Jan 30, 2024
a381410
fix entrypoint check that loaded database in spite of there already b…
lukasmueller Feb 2, 2024
166b084
Updating to sgn-381.0. In trial create workflow, trial type is now li…
lukasmueller Feb 9, 2024
0cdba5c
if breedbase database does not exist, create it, otherwise do not.
lukasmueller Feb 9, 2024
6e43feb
update to release sgn-381.1. Includes fixes to the pedigree section i…
lukasmueller Feb 9, 2024
9de7a03
Update to sgn-381.2. Add brapi logo.
lukasmueller Feb 15, 2024
618d1b5
change Bio Chado Schema to sgn copy (from GMOD).
lukasmueller Feb 27, 2024
af64304
bringing system up to date with sgn-382.0 and bio chado schema from s…
lukasmueller Mar 8, 2024
45a8f78
fix categorical trait formats for Fieldbook; fix BrAPI call Additiona…
lukasmueller Mar 9, 2024
95755c3
Fix Geofieldmap tool; Improve merge stock script; Create seedlots fro…
lukasmueller Mar 14, 2024
3e46b98
allow download of archived vcf files; add transformation management t…
lukasmueller Mar 22, 2024
e3c0f74
Add transformation and tracking experiment features; add new cross_ty…
lukasmueller Mar 30, 2024
f3df869
change version of Selenium to version 1.49.
lukasmueller Mar 30, 2024
c2a2220
add rtb logo to rtb sites. Fix studies sort order; fix bug if no trai…
lukasmueller Apr 17, 2024
b1037fd
fix seedlot description in upload; direct phenotyping fixes; remove d…
lukasmueller Apr 26, 2024
b1f4329
fix mixed model tool results page for lme4 and sommer; fix direct phe…
lukasmueller May 11, 2024
1853c49
add genefamily table.
lukasmueller May 16, 2024
8c5c837
upgrade R to version 4.4
lukasmueller May 17, 2024
29a2063
Fix ANOVA analysis; fix issue with Fieldmap viewer; GCPC tool fixes.
lukasmueller May 23, 2024
314b9a4
remove spaces from scale datatype in BrAPI (enables type specific tra…
lukasmueller Jun 4, 2024
7b19687
fix BrAPI observation call (remove repetition, keep rep); Add ability…
lukasmueller Jun 18, 2024
b3c3def
fix phenotype upload; ensure timestamp use most common time zone form…
lukasmueller Jul 9, 2024
f7dfdbc
update to tag sgn-393.0.
lukasmueller Jul 12, 2024
5b1ccd0
fix an issue with the generic file parser module.
lukasmueller Jul 13, 2024
0066a97
fix PERL5LIB path to use locally managed Bio-Chado-Schema repo.
lukasmueller Aug 4, 2024
d68283b
update to sgn-394.0. Improves genotype metadata display; move seedlot…
lukasmueller Aug 4, 2024
15f49fa
bring sgn to sgn-395.0. Includes longer timeout for label designer; a…
lukasmueller Aug 9, 2024
eee3541
remove the synonym option from the label designer as it causes issues…
lukasmueller Aug 14, 2024
4562c9a
add vector search to quicksearch; fix a multiple submission issue wit…
lukasmueller Sep 10, 2024
8507bc5
tweak clustering tool; add links from list items to their detail page…
lukasmueller Sep 20, 2024
0caa038
fix observationUnitPUI in brapi call; parse and validate Fieldbook mu…
lukasmueller Oct 2, 2024
873c5e8
add an improved empty_fixture (for breedbase_site).
lukasmueller Oct 5, 2024
3db66a2
add capability to transfer photos from fieldbook using brapi; hide Tr…
lukasmueller Oct 24, 2024
5626341
Fix an issue with the pedigree upload; fix a javascript issue with th…
lukasmueller Oct 28, 2024
687ff15
make sure /etc/crontab is owned by root.
lukasmueller Nov 6, 2024
73d6af3
update to sgn-402.0 tag. Fix BrAPI logins; fix a typo in Synonyms on …
lukasmueller Nov 6, 2024
dbd9003
update to sgn-403.0. Includes transformation workflow with overall un…
lukasmueller Nov 20, 2024
6b80ab3
Fix VCF loading issue when there is no header in the vcf file; enable…
lukasmueller Dec 7, 2024
2e971fe
add merged master for bio chado schema.
lukasmueller Dec 7, 2024
501b05a
change the git submodule for bio chado schema.
lukasmueller Dec 9, 2024
7626a0e
Bringing repo up to tag sgn-4.05.0. Changes include improvements to t…
lukasmueller Jan 10, 2025
3f6e14b
Add phenotype QC module; Ability to batch update trial metadata; List…
lukasmueller Jan 25, 2025
1bbef9f
add more accessors for create_date for time-based queries.
lukasmueller Feb 2, 2025
034d89d
update to sgn-408.0. Add dataset compatibility tool; improve accessio…
lukasmueller Feb 7, 2025
c58380a
allow curators to set the representative accession image; add a new n…
lukasmueller Feb 10, 2025
0a6c744
update to sgn-410.0. Fix an issue with a missing default configuratio…
lukasmueller Feb 11, 2025
ef68b80
allow transformation ids to be deleted; tweak sgn.conf for outlier fi…
lukasmueller Feb 19, 2025
9b3856e
Update to sgn-412.0. Includes support for tissue_samples in wizard; i…
lukasmueller Feb 24, 2025
05528e4
remove Bio::Chado::Schema from local-lib, need to use Bio::Chado::Sch…
lukasmueller Feb 24, 2025
19a5163
move cxgn/Bio-Chado-Schema to cxgn/bio-chado-schema
lukasmueller Mar 3, 2025
5501fae
Update to sgn-413.0. Includes a fix for pop menus that only had XLS d…
lukasmueller Mar 3, 2025
df923c8
fix Perl library paths for new bio-chado-schema spelling (case).
lukasmueller Mar 3, 2025
d3ce529
update to sgn-414.0. Includes new ability to set the type of a seedlo…
lukasmueller Mar 14, 2025
6533484
tweak accession upload to prevent duplicate names across different st…
lukasmueller Mar 24, 2025
74fc36f
add image section to trial detail page.
lukasmueller Mar 24, 2025
56814c7
update to sgn-416.0. Fix an issue with the trial image section when t…
lukasmueller Apr 3, 2025
185e07b
add FielDHub R package for new diagonal design; fix a missing constru…
lukasmueller Apr 10, 2025
f59a346
Updating to sgn-418.0. Include spatial model in mixed model tool; mak…
lukasmueller Apr 15, 2025
a3855b5
add new SpJobs DBIx::Class object
lukasmueller Apr 18, 2025
ca91399
Download obsoleted stocks metadata using a list; improve handling of …
lukasmueller Apr 18, 2025
a6f571b
Fix breeding program validation for cross upload on experiment detail…
lukasmueller May 5, 2025
15226fc
update javascript minify package; add the ability to link a transform…
lukasmueller May 15, 2025
b0c5f65
fix an issue with fieldbook upload; tweak CXGN::Fieldbook::TraitProps…
lukasmueller May 28, 2025
30a3c15
Add environment variables with version info that can be displayed in …
lukasmueller May 28, 2025
2a95572
add libimage-exiftool-perl to Dockerfile.
lukasmueller Jun 2, 2025
89a9e24
updating to sgn-422.0. Fixes footer version info; display seedlot inf…
lukasmueller Jun 4, 2025
7ee4bb9
move ENV closer to ARG.
lukasmueller Jun 4, 2025
dd6ba80
try wiggly bracket notation in assignment for VERSION etc.
lukasmueller Jun 5, 2025
03bff86
add new NIRS device InnoSpectraNIRS-S-G1; add optional trial_stock_ty…
lukasmueller Jun 19, 2025
fb69253
update to tag sgn-424.0. Fix linkage between crossing experiment and …
lukasmueller Jun 26, 2025
d7c661e
Allow plots to have structured plant and subplot entries with their o…
lukasmueller Jul 3, 2025
09f0ac4
Update to sgn-426.0. Fixes an important issue with CXGN::Job to corre…
lukasmueller Jul 10, 2025
6c15e28
Fixes and important bug by which pedigree data could be accidentally …
lukasmueller Jul 28, 2025
217d337
Allow obsoleted accessions to be included in transgenic historical da…
lukasmueller Aug 15, 2025
b00e16e
in load images script, also add ability to link with cvterms; Downloa…
lukasmueller Aug 22, 2025
9230728
Update R apt source
dwaring87 Aug 27, 2025
a724ec5
Merge pull request #54 from solgenomics/fix_R_apt_source
lukasmueller Aug 28, 2025
1b1b9fa
add EXIF parsing function to image object.
lukasmueller Aug 29, 2025
44b0a35
modify docker-compose.test.yml
lukasmueller Sep 5, 2025
d66cea7
update to tag sgn-430.0. Includes important fix for list validation i…
lukasmueller Sep 5, 2025
655361e
update to sgn-431.0. Includes new functionality to record number of i…
lukasmueller Sep 10, 2025
a020763
add important fix for spatial correction in field map.
lukasmueller Sep 15, 2025
d479812
add missing library files for exif feature; add ability to upload Fie…
lukasmueller Sep 18, 2025
c162b3a
this actually includes the merge for the fieldbook numeric ids upload.
lukasmueller Sep 18, 2025
d8461f3
fix zbar-tools package name
lukasmueller Sep 18, 2025
8654198
Include option to parse barcodes contained in images for association …
lukasmueller Oct 3, 2025
41056f7
update to sgn-435.0. Adds a section with a graphical vector view to v…
lukasmueller Oct 16, 2025
c9b85e4
update to sgn-436.0. Adds the ability to add plots and plants to a gr…
lukasmueller Nov 4, 2025
d2a58d9
adding a download dir to both breedbase_web and selenium dockers to b…
lukasmueller Nov 10, 2025
dd823c6
mount downloads dirs from a docker volume for improved compatibility.
lukasmueller Nov 14, 2025
dca9275
add downloads dirs to docker-compose.test.yml.
lukasmueller Nov 14, 2025
1fb7c05
bring up to date with sgn-437.0. Includes fixes for primer3 tool; fix…
lukasmueller Nov 16, 2025
28cdbdf
add a new page and menu item about NARITA pathogen analysis.
lukasmueller Nov 19, 2025
be2ce53
compile unigene contigalign program.
lukasmueller Dec 6, 2025
a322504
remove make statement from entrypoint.
lukasmueller Dec 11, 2025
710cf39
update to sgn-438.0. Includes a fix for slow experimental design tabl…
lukasmueller Dec 19, 2025
60077ff
Finally updates the manual for fieldbook interfacing; fixes the seedl…
lukasmueller Jan 8, 2026
43ca35e
updating to sgn-440.0. Adds a transcriptomics section to the manual; …
lukasmueller Jan 23, 2026
c7cf5e8
add clustalw from apt repo as it is used by CAPS designer.
lukasmueller Jan 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,10 @@
url = https://github.com/GMOD/chado_tools
[submodule "cxgn/cxgn/Bio-Chado-Schema"]
path = cxgn/Bio-Chado-Schema
url = https://github.com/GMOD/Bio-Chado-Schema
url = https://github.com/solgenomics/bio-chado-schema
[submodule "cxgn/chado_tools"]
path = cxgn/chado_tools
url = https://github.com/GMOD/chado_tools
[submodule "cxgn/Bio-Chado-Schema"]
path = cxgn/Bio-Chado-Schema
url = https://github.com/GMOD/Bio-Chado-Schema
[submodule "cxgn/QuantGenResources"]
path = cxgn/QuantGenResources
url = https://github.com/solgenomics/QuantGenResources.git
Expand All @@ -117,3 +114,6 @@
url = https://github.com/solgenomics/sgn-biotools.git


[submodule "cxgn/Bio-Chado-Schema"]
path = cxgn/bio-chado-schema
url = git@github.com:solgenomics/bio-chado-schema
15 changes: 10 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN bash -c "apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38D

# add cran backports repo and required deps
#
RUN echo "deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/debian bullseye-cran40/" >> /etc/apt/sources.list
RUN echo "deb https://cloud.r-project.org/bin/linux/debian/ bullseye-cran40/" >> /etc/apt/sources.list

RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list

Expand All @@ -42,7 +42,7 @@ RUN apt-get update --fix-missing -y

RUN apt-get install -y aptitude

RUN aptitude install -y npm libterm-readline-zoid-perl nginx starman emacs gedit vim less sudo htop git dkms linux-headers-generic perl-doc ack make xutils-dev nfs-common lynx xvfb ncbi-blast+ primer3 libmunge-dev libmunge2 munge slurm-wlm slurmctld slurmd libslurm-perl libssl-dev graphviz lsof imagemagick mrbayes muscle bowtie bowtie2 postfix mailutils libcupsimage2 postgresql-client-12 libglib2.0-dev libglib2.0-bin screen apt-transport-https libgdal-dev libproj-dev libudunits2-dev locales locales-all rsyslog cron libnlopt0 plink
RUN aptitude install -y npm libimage-magick-perl libimage-exiftool-perl libterm-readline-zoid-perl nginx starman emacs gedit vim less sudo htop git dkms linux-headers-generic perl-doc ack make xutils-dev nfs-common lynx xvfb ncbi-blast+ primer3 libmunge-dev libmunge2 munge slurm-wlm slurmctld slurmd libslurm-perl libssl-dev graphviz lsof imagemagick mrbayes muscle clustalw bowtie bowtie2 postfix mailutils libcupsimage2 postgresql-client-12 libglib2.0-dev libglib2.0-bin screen apt-transport-https libgdal-dev libproj-dev libudunits2-dev locales locales-all rsyslog cron libnlopt0 plink

# Set the locale correclty to UTF-8
RUN locale-gen en_US.UTF-8
Expand Down Expand Up @@ -92,11 +92,11 @@ RUN apt-get install libmoosex-runnable-perl -y
RUN apt-get install libgdbm6 libgdm-dev -y
RUN apt-get install nodejs -y

RUN cpanm Selenium::Remote::Driver@1.44
RUN cpanm Selenium::Remote::Driver@1.49

#INSTALL OPENCV IMAGING LIBRARY

RUN apt-get install -y python3-dev python3-pip python3-numpy libgtk2.0-dev libgtk-3-0 libgtk-3-dev libavcodec-dev libavformat-dev libswscale-dev libhdf5-serial-dev libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libxvidcore-dev libatlas-base-dev gfortran libgdal-dev exiftool libzbar-dev cmake
RUN apt-get install -y python3-dev python3-pip python3-numpy libgtk2.0-dev libgtk-3-0 libgtk-3-dev libavcodec-dev libavformat-dev libswscale-dev libhdf5-serial-dev libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libxvidcore-dev libatlas-base-dev gfortran libgdal-dev exiftool libzbar-dev zbar-tools cmake

RUN pip3 install --upgrade pip
RUN pip3 install grpcio==1.40.0 imutils numpy matplotlib pillow statistics PyExifTool pytz pysolar scikit-image packaging pyzbar pandas opencv-python \
Expand Down Expand Up @@ -134,7 +134,7 @@ RUN adduser --disabled-password --gecos "" -u 1250 production && chown -R produc

WORKDIR /home/production/cxgn/sgn

ENV PERL5LIB=/home/production/cxgn/Bio-Chado-Schema/lib:/home/production/cxgn/local-lib/:/home/production/cxgn/local-lib/lib/perl5:/home/production/cxgn/sgn/lib:/home/production/cxgn/cxgn-corelibs/lib:/home/production/cxgn/Phenome/lib:/home/production/cxgn/Cview/lib:/home/production/cxgn/ITAG/lib:/home/production/cxgn/biosource/lib:/home/production/cxgn/tomato_genome/lib:/home/production/cxgn/chado_tools/chado/lib:.
ENV PERL5LIB=/home/production/cxgn/bio-chado-schema/lib:/home/production/cxgn/local-lib/:/home/production/cxgn/local-lib/lib/perl5:/home/production/cxgn/sgn/lib:/home/production/cxgn/cxgn-corelibs/lib:/home/production/cxgn/Phenome/lib:/home/production/cxgn/Cview/lib:/home/production/cxgn/ITAG/lib:/home/production/cxgn/biosource/lib:/home/production/cxgn/tomato_genome/lib:/home/production/cxgn/chado_tools/chado/lib:.

ENV HOME=/home/production
ENV PGPASSFILE=/home/production/.pgpass
Expand All @@ -147,6 +147,9 @@ ARG CREATED
ARG REVISION
ARG BUILD_VERSION

ENV VERSION=${BUILD_VERSION}
ENV BUILD_DATE=${CREATED}

LABEL maintainer="lam87@cornell.edu"
LABEL org.opencontainers.image.created=$CREATED
LABEL org.opencontainers.image.url="https://breedbase.org/"
Expand All @@ -158,6 +161,8 @@ LABEL org.opencontainers.image.title="breedbase/breedbase"
LABEL org.opencontainers.image.description="Breedbase web server"
LABEL org.opencontainers.image.documentation="https://solgenomics.github.io/sgn/"



# start services when running container...
#
ENTRYPOINT ["/entrypoint.sh"]
1 change: 0 additions & 1 deletion cxgn/Bio-Chado-Schema
Submodule Bio-Chado-Schema deleted from c86838
2 changes: 1 addition & 1 deletion cxgn/Cview
2 changes: 1 addition & 1 deletion cxgn/R_libs
Submodule R_libs updated 1026 files
1 change: 1 addition & 0 deletions cxgn/bio-chado-schema
Submodule bio-chado-schema added at c9e3e9
2 changes: 1 addition & 1 deletion cxgn/citrusgreening
2 changes: 1 addition & 1 deletion cxgn/cxgn-corelibs
2 changes: 1 addition & 1 deletion cxgn/fernbase
Submodule fernbase updated 1 files
+39 −0 docker-compose.yml
2 changes: 1 addition & 1 deletion cxgn/gtsimsrch
Submodule gtsimsrch updated 99 files
+80 −0 README.md
+3 −0 big/cassava.dsgm
+3 −0 big/cassava.vcf
+3 −0 big/pedigree_table
+ cassava_dsout_agmr_histogram_480x360.png
+5,000 −0 data/5krandom_pedigrees
+8,170 −0 data/pedtable3col
+104 −47 include/gtset.h
+97 −54 include/pedigree.h
+23 −0 include/various.h
+53 −2 include/vect.h
+497 −0 lib/GD_plot.pm
+248 −0 lib/Gnuplot_plot.pm
+190 −0 lib/Hdata.pm
+815 −0 lib/Histograms.pm
+125 −0 lib/Plot.pm
+68 −0 moose/bin/analyze_ppout.pl
+156 −0 moose/bin/analyze_triples.pl
+42 −0 moose/bin/grandparents.pl
+527 −0 moose/bin/phased_parents.pl
+508 −0 moose/bin/phpars.pl
+53 −0 moose/bin/random_pedigrees.pl
+31 −0 moose/bin/sel_par_progs.pl
+222 −0 moose/bin/vcf2gts_phased.pl
+52 −0 moose/lib/Chromosome.pm
+74 −81 moose/lib/Cluster1d.pm
+32 −0 moose/lib/Marker.pm
+0 −0 other/compare_2file_agmrs.pl
+62 −0 other/dosage_matrix_info.pl
+57 −0 other/fix_pedigree_table.pl
+0 −0 other/nndists.pl
+44 −0 other/select_accessions_by_ids.pl
+102 −0 other/triples_3_cases.pl
+107 −0 other/uniquify_pedigree_file.pl
+80 −0 other/vcf_acc_subset.pl
+117 −0 other/vcf_format_check.pl
+0 −218 src/agmr_cluster.pl
+0 −69 src/best_triples.pl
+0 −30 src/bt_best_vs_nextbest.pl
+0 −97 src/bt_category_counts.pl
+0 −19 src/closest_pairs.pl
+503 −368 src/clusterer.pl
+0 −26 src/d_vs_md.pl
+0 −32 src/dosage_from_allele_depths.pl
+244 −100 src/duplicate_finder.pl
+671 −316 src/duplicate_search.c
+568 −160 src/find_parents.c
+1,291 −415 src/gtset.c
+92 −0 src/gwas/Manhattan.pl
+48 −0 src/gwas/dsgs2ped.pl
+46 −0 src/gwas/fn_vs_fp.pl
+43 −0 src/gwas/manhattan.gnuplot
+2 −2 src/gwas/plnkout2dsout.pl
+238 −0 src/gwas/rand_dupe_no_dupe.pl
+115 −0 src/gwas/sim_gwas_dupes_vs_nodupes.pl
+154 −0 src/gwas/simmultiphenotypes.pl
+212 −0 src/histogram.pl
+0 −66 src/maf_freqs.pl
+15 −14 src/makefile
+0 −48 src/multipedigrees.pl
+0 −102 src/n01_3etc.pl
+0 −137 src/nxy_z.pl
+271 −0 src/old/DSvcf2gts.pl
+0 −0 src/old/bad_accessions_begone.pl
+1 −1 src/old/find_parent_candidates.c
+75 −113 src/old/pedigree_test.c
+171 −0 src/old/plnkout_to_dsout.c
+4 −4 src/old/remove_duplicates.pl
+70 −57 src/old/vcf2gts.pl
+646 −1,208 src/pedigree.c
+0 −12 src/pedigree_ids.pl
+0 −70 src/progeny_parents_both.pl
+0 −208 src/pt_vs_fp.pl
+0 −75 src/ptfpbt.pl
+0 −30 src/select_accessions_by_ids.pl
+0 −87 src/triples_3_cases.pl
+229 −199 src/uniquify.pl
+0 −54 src/uniquify_pedigree_file.pl
+44 −1 src/various.c
+0 −17 src/vcf_data.pl
+92 −0 src/vcf_thru_find_parents.pl
+979 −0 src/vcf_to_dsgm.c
+0 −514 src/vcf_to_gts.c
+164 −17 src/vect.c
+0 −13 src/xvcf.pl
+7,628 −0 testing/alt0.fpout_std
+8,114 −0 testing/alt1.fpout_std
+7,628 −0 testing/alt2.fpout_std
+8,114 −0 testing/alt3.fpout_std
+38 −0 testing/dstest.pl
+109 −0 testing/fpout_compare.pl
+8,117 −0 testing/noped.fpout_std
+112 −0 testing/test_find_parents.pl
+59 −0 util/quadrants.pl
+16 −0 util/sel_columns.pl
+37 −0 util/select_random_columns.pl
+19 −0 util/sort_by_col.pl
+73 −0 util/venn_lines.pl
+53 −0 util/words_per_line.pl
2 changes: 1 addition & 1 deletion cxgn/local-lib
Submodule local-lib updated 722 files
2 changes: 1 addition & 1 deletion cxgn/sgn
Submodule sgn updated 1679 files
2 changes: 1 addition & 1 deletion cxgn/yambase
7 changes: 6 additions & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
- type: bind
source: .git
target: /home/production/.git
- shared_data:/downloads
environment:
MODE: 'DEVELOPMENT'
PGDATABASE: breedbase
Expand All @@ -19,14 +20,15 @@ services:
PGUSER: postgres
SGN_TEST_SERVER: http://breedbase:3010
SGN_REMOTE_SERVER_ADDR: selenium

DBIC_TRACE: 0
selenium:
container_name: selenium
image: selenium/standalone-firefox-debug
volumes:
- type: bind
source: ./cxgn/sgn/t/data
target: /home/production/cxgn/sgn/t/data
- shared_data:/downloads
ports:
- 5900:5900
- 4444:4444
Expand All @@ -35,3 +37,6 @@ services:
environment:
POSTGRES_DB: breedbase
POSTGRES_PASSWORD: postgres

volumes:
shared_data:
7 changes: 6 additions & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
build:
context: .
cache_from:
- breedbase/breedbase:v0.54
- breedbase/breedbase:latest
environment:
HOME: /root
MODE: 'TESTING'
Expand All @@ -19,6 +19,7 @@ services:
- ./cxgn:/home/production/cxgn
# repos/sgn/sgn_test.conf assumes /home/vagrant
- ./.git:/home/production/.git
- shared_data:/downloads
command: ["t/unit", "t/unit_fixture", "t/unit_mech"]
networks:
- test-breedbase
Expand All @@ -34,6 +35,7 @@ services:
- type: bind
source: ./cxgn/sgn/t/data
target: /home/production/cxgn/sgn/t/data
- shared_data:/downloads
ports:
- 5900:5900
- 4444:4444
Expand All @@ -49,5 +51,8 @@ services:
networks:
- test-breedbase

volumes:
shared_data:

networks:
test-breedbase:
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ services:
- webdata:/home/production/volume
ports:
- 8080:8080
- 25:25
image: breedbase/breedbase:latest
depends_on:
- breedbase_db
Expand Down
9 changes: 8 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ chown 106 /etc/munge/munge.key
/etc/init.d/slurmd start
#/etc/init.d/postgres start

chown root /etc/crontab # in case it was mounted from local dir

if [ "${MODE}" = 'TESTING' ]; then
exec perl t/test_fixture.pl --carpalways -v "${@}"
fi
Expand All @@ -18,7 +20,7 @@ umask 002

echo "CHECKING IF A DATABASE NEEDS TO BE INSTALLED...";

if [ $(psql -h ${PGHOST} -U postgres -d postgres -Atc 'select count(distinct table_schema) from information_schema.tables;') == "2" ]; then
if [[ $(psql -lqt -h ${PGHOST} -U ${PGUSER} | cut -d '|' -f1 | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//;' | grep -w breedbase ) = '' ]]; then
echo "INSTALLING DATABASE...";
echo "CREATING web_usr...";
psql -d postgres -c "CREATE USER web_usr PASSWORD 'postgres';"
Expand Down Expand Up @@ -116,3 +118,8 @@ else
chmod 777 /var/log/sgn/error.log
tail -f /var/log/sgn/error.log
fi

# for unigene page, compile drawcontig align program
#cd /home/production/cxgn/sgn/programs
#make
#cd /home/production/cxgn/sgn
2 changes: 1 addition & 1 deletion starmachine.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ root_dir = /home/production/cxgn/starmachine

env[CATALYST_CONFIG] = /etc/starmachine

env[PERL5LIB] = /home/production/cxgn/biosource/lib:/home/production/cxgn/sgn/lib:/home/production/cxgn/cxgn-corelibs/lib:/home/production/cxgn/tomato_genome/lib:/home/production/cxgn/ITAG/lib:/home/production/cxgn/Cview/lib:/home/production/cxgn/Phenome/lib:/home/production/cxgn/local-lib/lib:/home/production/cxgn/local-lib/lib/perl5:/home/production/cxgn/local-lib/bin
env[PERL5LIB] = /home/production/cxgn/bio-chado-schema/lib:/home/production/cxgn/biosource/lib:/home/production/cxgn/sgn/lib:/home/production/cxgn/cxgn-corelibs/lib:/home/production/cxgn/tomato_genome/lib:/home/production/cxgn/ITAG/lib:/home/production/cxgn/Cview/lib:/home/production/cxgn/Phenome/lib:/home/production/cxgn/local-lib/lib:/home/production/cxgn/local-lib/lib/perl5:/home/production/cxgn/local-lib/bin
sgn[env][CATALYST_CONFIG] = /home/production/cxgn/sgn/sgn.conf
sgn[app_dir] = /home/production/cxgn/sgn
sgn[psgi_file] = bin/sgn.psgi
Expand Down