Skip to content

Commit 3581d15

Browse files
author
lstein
committed
this was the previous trunk branch
0 parents  commit 3581d15

File tree

677 files changed

+240484
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

677 files changed

+240484
-0
lines changed

.cvsignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
GGB.def
2+
_build*
3+
benchmarking
4+
blib*
5+
*.patch
6+
*gz
7+
*.notes
8+
pm_to_blib
9+
*.tmp
10+
test*
11+
tmp*
12+
Build
13+
Makefile
14+
okada*
15+
META.yml
16+
old_tar_files
17+
*.tar
18+
INSTALL.SKIP
19+
NFS_bechmark_results.ods
20+
*-stamp
21+
foo*
22+
.cvsignore
23+
*.index
24+
25+

Build.PL

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
#!/usr/bin/perl
2+
3+
use strict;
4+
use warnings;
5+
use FindBin '$Bin';
6+
7+
use lib "$Bin/install_util";
8+
use File::Copy;
9+
use GBrowseInstall;
10+
11+
my $build = GBrowseInstall->new(
12+
module_name => 'GBrowse',
13+
dist_version_from => 'lib/Bio/Graphics/Browser2.pm',
14+
dist_author => 'Lincoln Stein <[email protected]>',
15+
dist_abstract => 'The GMOD Generic Genome Browser',
16+
license => 'perl',
17+
18+
requires => {
19+
'perl' => '5.008',
20+
'Bio::Root::Version' => '1.005009001',
21+
'Bio::Graphics' => '2.09',
22+
'CGI::Session' => '4.02',
23+
'Digest::MD5' => 0,
24+
'ExtUtils::CBuilder' => 0,
25+
'File::Temp' => 0,
26+
'GD' => '2.07',
27+
'IO::String' => 0,
28+
'JSON' => 0,
29+
'LWP' => 0,
30+
'Statistics::Descriptive' => 0,
31+
'Storable' => 0,
32+
},
33+
build_requires => {'Capture::Tiny' => 0,},
34+
recommends => {
35+
'Ace' => 0,
36+
'Bio::Das' => 0,
37+
'Bio::DB::Sam' => 1.20,
38+
'Bio::DB::BigFile' => 1.00,
39+
'Crypt::SSLeay' => 0,
40+
'DB_File::Lock' => 0,
41+
'DBI' => 0,
42+
'DBD::mysql' => 0,
43+
'DBD::Pg' => 0,
44+
'DBD::SQLite' => 0,
45+
'Digest::SHA' => 0,
46+
'FCGI' => 0,
47+
'File::NFSLock' => 0,
48+
'GD::SVG' => 0,
49+
'Math::BigInt' => 0,
50+
# 'MOBY::Client::Central' => 0,
51+
'Net::OpenID::Consumer' => 0,
52+
'Net::SMTP::SSL' => 0,
53+
$] <= 5.008 ? ('Safe::World' => 0)
54+
: () ,
55+
'Template' => 2.20,
56+
},
57+
script_files => [
58+
'bin/gbrowse_clean.pl',
59+
'bin/gbrowse_create_useraccount_db.pl',
60+
'bin/gbrowse_set_admin_passwd.pl',
61+
'bin/gbrowse_slave',
62+
'bin/gbrowse_syn_load_alignment_database.pl',
63+
'bin/gbrowse_syn_load_alignments_msa.pl',
64+
'bin/make_das_conf.pl',
65+
'bin/wiggle2gff3.pl',
66+
# not sure if these still work
67+
# 'bin/register_moby_services.pl',
68+
# 'bin/process_wormbase.pl',
69+
# 'bin/process_sgd.pl',
70+
# 'bin/load_genbank.pl',
71+
],
72+
73+
create_makefile_pl => 'passthrough',
74+
75+
);
76+
77+
if(-e '/proc/filesystems'
78+
&& `grep selinux /proc/filesystems`) {
79+
print STDERR <<'END';
80+
**** WARNING *********************************************************
81+
You appear to have SELinux installed on this computer. This can
82+
interfere with GBrowse operation. Please read the file
83+
README.fedora_and_selinux in order to perform additional configuration
84+
operations that may be necessary to run on this computer.
85+
**********************************************************************
86+
END
87+
}
88+
89+
if ($build->have_c_compiler()) {
90+
foreach ('CAlign.xs','CAlign.pm') {
91+
copy("./libalign/$_" => "./lib/Bio/Graphics/Browser/$_");
92+
}
93+
$build->include_dirs(["$Bin/libalign"]);
94+
}
95+
96+
my $argc=0;
97+
for my $arg (keys %{$build->private_props}) {
98+
my $value = $build->runtime_params($arg) or next;
99+
$build->config_data($arg=>$value);
100+
$argc++;
101+
}
102+
$build->config_data(OpenIDConsumerSecret=>int(1e15*rand()));
103+
$build->config_done(1) if $argc > 0;
104+
105+
$build->add_build_element('conf');
106+
$build->add_build_element('htdocs');
107+
$build->add_build_element('cgibin');
108+
$build->add_build_element('etc');
109+
$build->add_build_element('database');
110+
111+
$build->create_build_script;
112+
print STDERR <<END;
113+
Now run:
114+
./Build test
115+
./Build demo (optional)
116+
./Build install (as superuser/administrator)
117+
-or-
118+
./Build install_slave (optional, for slave installations)
119+
120+
Other useful targets:
121+
./Build register (to register your copy of GBrowse)
122+
./Build reconfig (to reconfigure install locations)
123+
./Build demostop (to stop the demo)
124+
END
125+
126+
exit 0;
127+
128+
1;

Changes

Lines changed: 619 additions & 0 deletions
Large diffs are not rendered by default.

DISCLAIMER

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
The Generic Genome Browser package versions between 1.0 and 1.8 and
2+
all associated files are Copyright (c) 2002 Cold Spring Harbor
3+
Laboratory and University of California, Berkeley. Versions 1.9 and
4+
higher are copyright (c) 2010 Ontario Institute for Cancer Research.
5+
6+
This package and its accompanying libraries is free software; you can
7+
redistribute it and/or modify it under the terms of the GPL (either
8+
version 1, or at your option, any later version) or the Artistic
9+
License 2.0. Refer to LICENSE for the full license text.
10+
11+
CSHL makes no representations whatsoever as to the SOFTWARE contained
12+
herein. It is experimental in nature and is provided WITHOUT WARRANTY
13+
OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER
14+
WARRANTY, EXPRESS OR IMPLIED. CSHL MAKES NO REPRESENTATION OR
15+
WARRANTY THAT THE USE OF THIS SOFTWARE WILL NOT INFRINGE ANY PATENT OR
16+
OTHER PROPRIETARY RIGHT.
17+
18+
By downloading this SOFTWARE, your Institution hereby indemnifies CSHL
19+
against any loss, claim, damage or liability, of whatsoever kind or
20+
nature, which may arise from your Institution's respective use,
21+
handling or storage of the SOFTWARE.
22+
23+
If publications result from research using this SOFTWARE, we ask that
24+
CSHL, University of California, Berkeley and the Ontario Institute for
25+
Cancer Research be acknowledged and/or credit be given to
26+
CSHL/Berkeley/OICR scientists, as scientifically appropriate.

0 commit comments

Comments
 (0)