debian/0000755000000000000000000000000012231465203007164 5ustar debian/gbrowse.links0000644000000000000000000000026712150105116011675 0ustar usr/share/javascript/prototype/prototype.js usr/share/gbrowse/htdocs/js/prototype.js usr/share/javascript/scriptaculous/scriptaculous.js usr/share/gbrowse/htdocs/js/scriptaculous.js debian/gbrowse-data.install0000644000000000000000000000005211720205701013125 0ustar sample_data/* var/lib/gbrowse/databases/ debian/watch0000644000000000000000000000021112022337133010205 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://search.cpan.org/dist/GBrowse .*/GBrowse-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/gbrowse_apache2.conf0000644000000000000000000000316312152112206013063 0ustar Alias "/gbrowse2/i/" "/var/cache/gbrowse/images/" Alias "/gbrowse2" "/usr/share/gbrowse/htdocs" ScriptAlias "/gb2" "/usr/lib/cgi-bin/gbrowse" AllowOverride Options Options -Indexes -MultiViews +FollowSymLinks Require all granted Options +Indexes Require all granted Require all granted Options ExecCGI SetEnv GBROWSE_CONF "/etc/gbrowse" Alias /fgb2 "/usr/lib/cgi-bin/gbrowse" SetHandler fcgid-script FcgidInitialEnv GBROWSE_CONF /etc/gbrowse # these directives prevent idle/busy timeouts and may need to be # adjusted up or down FcgidMinProcessesPerClass 6 FcgidIOTimeout 600 FcgidBusyTimeout 600 Alias /fgb2 "/usr/lib/cgi-bin/gbrowse" SetHandler fastcgi-script # Note: you may need to increase -idle-timeout if file uploads are timing out and returning server # errors. FastCgiConfig -idle-timeout 600 -maxClassProcesses 20 -initial-env GBROWSE_CONF=/etc/gbrowse # Use of mod_perl is no longer supported. Use at your own risk. Alias /mgb2 "/usr/lib/cgi-bin/gbrowse" SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders debian/gbrowse_syn_load_alignment_database.10000644000000000000000000000126511720205701016471 0ustar .TH GBrowse2 1 "October 18, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME gbrowse_syn_load_alignment_database \- Script to load the database for gbrowse_syn .SH DESCRIPTION The expected file format is tab-delimited (shown below): species1 ref1 start1 end1 strand1 cigar_string1 species2 ref2 start2 end2 strand2 cigar_string2 coords1... | coords2... the coordinate format: pos1_species1 pos1_species2 ... posn_species1 posn_species2 | pos1_species2 pos1_species1 ... posn_species2 posn_species1, where pos is the matching sequence coordinate (ungapped) in each species. .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/gbrowse.dirs0000644000000000000000000000010111720205701011504 0ustar etc/gbrowse var/cache/gbrowse/sessions var/lib/gbrowse/databases debian/README.source0000644000000000000000000000042411720205701011340 0ustar GBrowse for Debian ----------------- To build the package for Debian, one needs to update an installation script to install_util/GBrowseInstall.pm. Code has been patched to do so. get-orig-source target downloads file and remove contrib directory to avoid licensing issues. debian/get-orig-source0000755000000000000000000000143312022336647012135 0ustar #!/bin/bash set -e PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` VERSION=`uscan --rename --verbose --force-download | grep "Newest version on remote site is .* local version is .*" | head -n 1 | sed "s/Newest version on remote site is \([a-z0-9.]\+\),.*/\1/"` mkdir -p ../tarballs cd ../tarballs UTAR="${PKG}_${VERSION}.orig.tar.gz" mv ../${UTAR} . tar -xzf ${UTAR} mv GBrowse-${VERSION} $PKG-${VERSION}+dfsg.orig # .orig is requested by Developers Reference 3.4.4 §6.7.8.2 cd $PKG-${VERSION}+dfsg.orig rm -rf contrib # Fix upstream bug 3321801 chmod 644 t/testdata/conf/languages/POSIX.pm sed -i '/^contrib\//d' MANIFEST cd .. rm $UTAR BZIP2="--best" tar -cjf ${PKG}_${VERSION}+dfsg.orig.tar.bz2 ${PKG}-${VERSION}+dfsg.orig rm -rf ${PKG}-${VERSION}+dfsg.orig debian/links0000644000000000000000000000027011720205701010223 0ustar /usr/share/javascript/prototype/prototype.js usr/share/gbrowse/htdocs/js/prototype.js /usr/share/javascript/scriptaculous/scriptaculous.js usr/share/gbrowse/htdocs/js/scriptaculous.js debian/gbrowse_slave.10000644000000000000000000000251611720205701012111 0ustar .TH GBrowse2 1 "February 07, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME gbrowse_slave \- Creates an account for GBrowse .SH SYNOPSIS .B gbrowse_slave [options] .I "[-p portnumber]" Network port number to listen to (default 8101) .I "[-v level]" Verbosity level (0-3) .I "[-u name]" User to run under (same as current) .I "[-l path]" Log file path (default, use STDERR) .I "[--pid path]" PID file path (default, none) .I "[-preload path]" Path to a config file containing override information and databases to preload .I "[-T path]" Override location of configuration file cache files. .PP .SH DESCRIPTION Bare-naked Gbrowse render server. Launch with the port number to listen on. No other configuration information is necessary. The needed configuration will be transmitted from the master server at run time. If you need to override some configuration information (for example, to specify a different tmp_base directory for session information), you may place it in a configuration file in the [GENERAL] section. All options in the [GENERAL] section will override the transmitted information. Any [name:database] sections containing database information located in the preload config file will be preloaded to reduce execution latency. .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/gbrowse-calign.manpages0000644000000000000000000000010311720205701013573 0ustar debian/gbrowse-calign/man/man3/Bio::Graphics::Browser2::CAlign.3pm debian/gbrowse_create_account.10000644000000000000000000000200611720205701013750 0ustar .TH GBrowse2 1 "February 07, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME gbrowse_create_account \- Creates an account for GBrowse .SH SYNOPSIS .B gbrowse_create_account [-pass password -fullname name -email address] user .I user GBrowse user name .I "[-pass password]" If a password is not provided on the command line, you will be prompted for it on standard input .I "[-fullname name]" User full name .I "[-email address]" User email .PP .SH DESCRIPTION Creates a user account with the desired username and password. If the account already exists, then the password is reset. This script uses the "user_account_db" option in the currently installed GBrowse.conf configuration file to find the appropriate accounts database. .br .B WARNING: This script should be run as the web server user using "sudo \-u www\-data $0". If it detects that it is not being run as this user, it will attempt to sudo itself for you. .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/scan_gbrowse.10000644000000000000000000000116611720205701011723 0ustar .TH GBrowse2 1 "February 07, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME scan_gbrowse \- Scan the gbrowse2 instance for discoverable tracks .SH SYNOPSIS .B scan_gbrowse [ --cache cachetime] URL .I url GBrowse URL to scan .I "[--cache cachetime]" Cache the results in a temporary file for cachetime seconds .PP .SH DESCRIPTION Scan the gbrowse2 instance at for discoverable tracks and create appropriate remote track configuration stanzas suitable for incorporation into the local gbrowse2 config file. .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/rules0000755000000000000000000000461212152112354010245 0ustar #!/usr/bin/make -f GBROWSE_BUILD_OPTIONS = --conf=/etc/gbrowse --htdocs=/usr/share/gbrowse/htdocs --tmp=/var/cache/gbrowse --databases=/var/lib/gbrowse/databases --cgibin=/usr/lib/cgi-bin/gbrowse --www-user=www-data --registration_done=1 --persistent=/var/lib/gbrowse %: dh $@ --with apache2 override_dh_auto_configure: dh_auto_configure -- $(GBROWSE_BUILD_OPTIONS) override_dh_auto_install: ./Build --install_base=debian/gbrowse debianinstall #./Build apache_conf > debian/gbrowse/etc/gbrowse/gbrowse_apache2.conf perl Build.PL $(GBROWSE_BUILD_OPTIONS) --installetc=y ./Build --install_base=debian/gbrowse install_slave mv debian/gbrowse/lib/perl5/* debian/gbrowse/usr/share/perl5 # Remove arch dependant data mv debian/gbrowse/usr/share/perl5/auto/Bio/Graphics/Browser2/CAlign/* debian/gbrowse-calign/usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign/ mv debian/gbrowse/usr/share/perl5/Bio/Graphics/Browser2/CAlign.pm debian/gbrowse-calign/usr/lib/perl5/Bio/Graphics/Browser2/CAlign.pm rm -rf debian/gbrowse/lib rm -f debian/gbrowse/usr/share/doc/gbrowse/INSTALL rm -f debian/gbrowse/usr/share/perl5/auto/GBrowse/.packlist rm -f debian/gbrowse/usr/share/gbrowse/htdocs/js/prototype.js rm -f debian/gbrowse/usr/share/gbrowse/htdocs/js/scriptaculous.js chmod 644 debian/gbrowse/etc/gbrowse/MobyServices/text_xml_renderer.pm chmod 644 debian/gbrowse/etc/gbrowse/synteny/oryza.synconf.disabled #Remove database (kept as separate package) rm -rf debian/gbrowse/var/lib/gbrowse/databases/* #Rename pl scripts in bin rename 's/\.pl//' debian/gbrowse/bin/*.pl mv debian/gbrowse/bin debian/gbrowse/usr/bin # Activate configuration files. find $(CURDIR)/debian/gbrowse/etc -name '*.new' | xargs rename 's/.new//' rm -rf $(CURDIR)/debian/gbrowse/usr/share/perl5/auto # Update conf files sed -i 's/gbrowse2/gbrowse/g' $(CURDIR)/debian/gbrowse/etc/gbrowse/yeast*.conf sed -i 's/gbrowse2/gbrowse/g' $(CURDIR)/debian/gbrowse/etc/gbrowse/slave*.conf override_dh_installman: #Rename due to perl extension seen as polish rename 's/\.pl\.1p/\.1p/' debian/gbrowse/man/man1/*.pl.1p mkdir -p debian/gbrowse-calign/man/man3/ mv debian/gbrowse/man/man3/Bio::Graphics::Browser2::CAlign.3pm debian/gbrowse-calign/man/man3/Bio::Graphics::Browser2::CAlign.3pm dh_installman rm -rf debian/gbrowse/man rm -rf debian/gbrowse-calign/man override_dh_builddeb: dh_builddeb -- -Zbzip2 get-orig-source: . debian/get-orig-source debian/gbrowse_metadb_config.10000644000000000000000000000176611720205701013566 0ustar .TH GBrowse2 1 "February 07, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME gbrowse_metadb_config \- Initializes an empty GBrowse user accounts and uploads metadata database .SH SYNOPSIS .B gbrowse_metadb_config [-dns password -admin user:pass] .I dns Provide a custom DBI connection string, overriding what is set in Gbrowse.conf. Note that if there are semicolons in the string (like most MySQL connection DSNs will), you WILL have to escape it with quotes. .I "[-admin user:pass]" Provide an administrator username and password (in the form user:pass) to skip the prompts if the database does not exist. .PP .SH DESCRIPTION Initializes an empty GBrowse user accounts and uploads metadata database. Currently mysql and SQLite databases are supported. When creating a mysql database you must provide the \-admin option to specify a user and password that has database create privileges on the server. .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/gbrowse_syn_load_alignments_msa.10000644000000000000000000000063411720205701015667 0ustar .TH GBrowse2 1 "October 18, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME gbrowse_syn_load_alignments_msa \- Script to load the database for gbrowse_syn from alignement file .SH DESCRIPTION This script will load the gbrowse_syn alignment database directly from a multiple sequence alignment file. .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/README.Debian0000644000000000000000000000144711720205701011230 0ustar GBrowse for Debian ------------------ GBrowse needs a web browser to run. If Apache2 is installed, a default configuration file has been installed in /etc/apache2/conf.d to map URLs to GBrowse directories. In other cases (other web server, apache not installed...), one should configure the web server to trigger gbrowse. An apache2 template is available in configration directory (/etc/gbrowse/apache2.conf). If Apache2 is used, the server should be restarted to take into account the configuration update. Software is accessible in your browser at http://myhost/gbrowse2/ Warning, an upgrade from version 2.38 and lower may delete some gbrowse internal files. If it occurs, one just need to install again the package with a new apt-get install command. This will reinstall the deleted files. debian/gbrowse.apache20000644000000000000000000000004112152112370012050 0ustar conf debian/gbrowse_apache2.conf debian/gbrowse_change_passwd.10000644000000000000000000000065111720205701013603 0ustar .TH GBrowse2 1 "February 07, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME gbrowse_change_passwd \- Modify a gbrowse user password .SH SYNOPSIS .B gbrowse_change_passwd user [passwd] .I user GBrowse user name .I [passwd] If no password is provided on the command line, then a new random password will be chosen. .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/copyright0000644000000000000000000004346311720205701011126 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 Source: http://search.cpan.org/dist/GBrowse/ Files: * Copyright: © 2002 Cold Spring Harbor Laboratory and University of California, Berkeley © 2008 H. Mark Okada . © 2001,2003,2005,2008 Cold Spring Harbor Laboratory © 2010 Ontario Institute for Cancer Research License: GPL-1+ or Artistic-2.0 The Generic Genome Browser package versions between 1.0 and 1.8 and all associated files are Copyright (c) 2002 Cold Spring Harbor Laboratory and University of California, Berkeley. Versions 1.9 and higher are copyright (c) 2010 Ontario Institute for Cancer Research. . This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. . CSHL makes no representations whatsoever as to the SOFTWARE contained herein. It is experimental in nature and is provided WITHOUT WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER WARRANTY, EXPRESS OR IMPLIED. CSHL MAKES NO REPRESENTATION OR WARRANTY THAT THE USE OF THIS SOFTWARE WILL NOT INFRINGE ANY PATENT OR OTHER PROPRIETARY RIGHT. . By downloading this SOFTWARE, your Institution hereby indemnifies CSHL against any loss, claim, damage or liability, of whatsoever kind or nature, which may arise from your Institution's respective use, handling or storage of the SOFTWARE. . If publications result from research using this SOFTWARE, we ask that CSHL, University of California, Berkeley and the Ontario Institute for Cancer Research be acknowledged and/or credit be given to CSHL/Berkeley/OICR scientists, as scientifically appropriate. Files: bin/auto_install_databases.pl bin/bed2gff3.pl bin/bp_load_gff.pl bin/gtf2gff3.pl bin/load_genbank.pl bin/make_das_conf.pl bin/process_gadfly.pl bin/process_ncbi_human.pl bin/process_ncbi_human.pl bin/process_sgd.pl bin/ucsc_genes2gff.pl cgi-bin/gbrowse_img conf/plugins/Aligner.pm conf/plugins/AttributeHiliter.pm conf/plugins/RestrictionAnnotator.pm conf/plugins/SequenceDumper.pm conf/plugins/SimpleTrackFinder.pm conf/plugins/Spectrogram.pm conf/plugins/TrackFinder.pm contrib/Coverage/plugin/Coverage.pm docs/pod/GBROWSE_IMG.pod docs/pod/MAKE_IMAGES_HOWTO.pod docs/pod/PLUGINS_HOWTO.pod htdocs/gbrowse_karyotype_help.html lib/Bio/DB/GFF/Aggregator/reftranscript.pm lib/Bio/DB/GFF/Aggregator/waba_alignment.pm lib/Bio/DB/GFF/Aggregator/wormbase_gene.pm lib/Bio/Graphics/Browser2/CAlign.pm lib/Bio/Graphics/Browser2/Markup.pm lib/Bio/Graphics/Browser2/OptionPick.pm lib/Bio/Graphics/Browser2/PadAlignment.pm lib/Bio/Graphics/Browser2/Realign.pm lib/CGI/Toggle.pm libalign/CAlign.pm Copyright: © 2001–4 Cold Spring Harbor Laboratory © Jason Stajich and Cold Spring Harbor Laboratories 2002 © 2009 Ontario Institute for Cancer Research © 2007, University of Utah © 2002 Regional Blood Center of Ribeirao Preto © 2002 Advanced Biomedical Computing Center, SAIC/NCI-Frederick. License: GPL-1+ or Artistic This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty. Files: t/Test.pm Copyright: © 1998-1999 Joshua Nathaniel Pritikin. All rights reserved. License: Artistic This package is free software and is provided "as is" without express or implied warranty. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html) Files: htdocs/css/dropdown/default_theme.css htdocs/css/dropdown/dropdown.css Copyright: © 2008 Live Web Institute. All Rights Reserved. License: GPL-3+ Comment: Checked on http://lwis.net/free-css-drop-down-menu/: “This CSS Drop-Down Menu is free for commercial or personal use and is licensed under the GNU General Public License.” Files: docs/pod/INSTALL.MacOSX.pod Copyright: © 2003 Cold Spring Harbor Laboratory License: missing-most-probably-same-as-Perl Material in this document is copyright 2001-2003 by the Cold Spring Harbor Laboratory. This information is provided "AS-IS" without any warranty, expressed or implied. Files: htdocs/js/*.js Copyright: © 2005-2010 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) © 2005-2010 Ivan Krstic (http://blogs.law.harvard.edu/ivan) © 2005-2010 Jon Tirsen (http://www.tirsen.com) © 2007,2008 Sheldon McKay, Cold Spring Harbor Laboratory License: MIT Files: htdocs/js/prototype.js Copyright: © 2005-2010 Sam Stephenson © 2009, The Dojo Foundation License: Dojo Released under the MIT, BSD, and GPL Licenses. More information: http://sizzlejs.com/ Files: htdocs/js/x_cook.js Copyright: © 2004 Michael Foster License: LGPL-2.1+ Files: htdocs/subtracktable.js Copyright: © 2005-2009 Matt Kruse (javascripttoolbox.com) License: MIT or GPL Dual licensed under the MIT and GPL licenses. This basically means you can use this code however you want for free, but don't claim to have written it yourself! Donations always accepted: http://www.JavascriptToolbox.com/donate/ . Please do not link to the .js files on javascripttoolbox.com from your site. Copy the files locally to your server instead. Files: debian/* Copyright: 2011, Olivier Sallou License: Artistic-2.0 or GPL-1+ License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA . On Debian GNU/Linux systems, the complete text of version 1 of the General Public License can be found in `/usr/share/common-licenses/GPL-1'. License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see or . License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian GNU/Linux systems, the complete text of version 2.1 of the Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian GNU/Linux systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: Artistic-2.0 Copyright (c) 2000-2006, The Perl Foundation. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. . . Preamble This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software. . You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement. . . Definitions "Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package. . "Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures. . "You" and "your" means any person who would like to copy, distribute, or modify the Package. . "Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version. . "Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization. . "Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees. . "Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder. . "Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder. . "Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future. . "Source" form means the source code, documentation source, and configuration files for the Package. . "Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form. . . Permission for Use and Modification Without Distribution (1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version. . . Permissions for Redistribution of the Standard Version (2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package. . (3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License. . . Distribution of Modified Versions of the Package as Source (4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following: . (a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version. . (b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version. . (c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under . (i) the Original License or . (ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed. . Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source . (5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license. . (6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version. . . Aggregating or Linking the Package (7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation. . (8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package. . . Items That are Not Considered Part of a Modified Version (9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license. . . General Provisions (10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license. . (11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license. . (12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder. . (13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed. . (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/gbrowse-calign.dirs0000644000000000000000000000012511720205701012745 0ustar usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign usr/lib/perl5/Bio/Graphics/Browser2/ debian/postrm0000644000000000000000000000131611720205701010431 0ustar #!/bin/bash set -e case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) rm -rf /var/cache/gbrowse if [ "$1" = "purge" ] ; then update-rc.d gbrowse-slave remove > /dev/null if [ -e /etc/init.d/gbrowse-slave ] ; then rm /etc/init.d/gbrowse-slave fi if [ -e /etc/default/gbrowse-slave ] ; then rm /etc/default/gbrowse-slave fi if [ -e /usr/share/gbrowse ] ; then rm -rf /usr/share/gbrowse fi fi ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# debian/gbrowse.10000644000000000000000000000406511720205701010720 0ustar .TH GBrowse2 1 "February 07, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME GBrowse2 \- The Generic Genome Browser .SH SYNOPSIS .B libgbrowse-perl [\-h] .SH INSTALLATION If Apache2 is installed on the system, the software has configured it to link URLs to GBrowse directories. A restart of Apache is required to take it into account. Configuration is available in /etc/gbrowse2/apache2.conf file. If another web server is used, one should refer to the apache2 template to map urls in the same way. .PP .SH DEPENDENCIES Additional optional perl dependencies exist to provide additional features. Please refer to Optional modules in INSTALL file for more information. .PP .SH CONFIGURATION .B gbrowse2 Configuration files are located in /etc/gbrowse. Main configuration file is GBrowse.conf. It contains the global configuration elements. Specific configuration files are located in the same directory per data bank. For more details, one should refer to the GBrowse documentation. Installation is provided with a Yeast genome sample. .PP .SH DESCRIPTION GBrowse is a simple but highly configurable web-based genome browser. It is a component of the Generic Model Organism Systems Database project (GMOD). Some of its features: * Simultaneous bird's eye and detailed views of the genome; * Scroll, zoom, center; * Attach arbitrary URLs to any annotation; * Order and appearance of tracks are customizable by administrator and end-user; * Search by annotation ID, name, or comment; * Supports third party annotation using GFF formats; * Settings persist across sessions; * DNA and GFF dumps; * Connectivity to different databases, including BioSQL and Chado; * Multi-language support; * Third-party feature loading; * Customizable plug-in architecture (e.g. run BLAST, dump & import many formats, find oligonucleotides, design primers, create restriction maps, edit features). .PP .SH WEB ACCESS GBrowse is accessible at URL http://localhost/gbrowse2 .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/upstream0000644000000000000000000000070412022336505010750 0ustar Reference: Author: Maureen J. Donlin Title: "Using the Generic Genome Browser (GBrowse)" Journal: Department of Biochemistry and Molecular Biology and Department of Molecular Microbiology and Immunology, Saint Louis University School of Medicine Year: 2009 DOI: 10.1002/0471250953.bi0909s28 URL: http://www.currentprotocols.com/WileyCDA/CPUnit/refId-bi0909.html eprint: http://onlinelibrary.wiley.com/doi/10.1002/0471250953.bi0909s28/pdf debian/docs0000644000000000000000000000002311720205701010027 0ustar README README.gff3 debian/gbrowse_set_admin_passwd.10000644000000000000000000000174711720205701014330 0ustar .TH GBrowse2 1 "February 07, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME gbrowse_setadmin_passwd \- Sets the adminstrator password for the GBrowse admin .SH SYNOPSIS .B gbrowse_create_account [-pass password -name user] .I user Admin user name (default, admin) .I "[-pass password]" Password is not provided on the command line, you will be prompted for it on standard input .PP .SH DESCRIPTION This script uses the "user_account_db" and "admin_account" options in the currently installed GBrowse.conf configuration file to find the appropriate accounts database and the name of the administrator. If a password is not provided on the command line, you will be prompted for it on standard input. .br .B WARNING: This script should be run as the web server user using "sudo \-u www\-data $0". If it detects that it is not being run as this user, it will attempt to sudo itself for you. .PP .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/lintian-overrides0000644000000000000000000000011312152112700012531 0ustar gbrowse: script-not-executable etc/gbrowse/MobyServices/GbrowseServices.pm debian/gbrowse.manpages0000644000000000000000000000007711720205701012352 0ustar debian/*.1 debian/gbrowse/man/man1/* debian/gbrowse/man/man3/* debian/source/0000755000000000000000000000000012152113150010455 5ustar debian/source/format0000644000000000000000000000001411720205701011667 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012152113150010604 5ustar debian/patches/debian-packaging-patch0000644000000000000000000002013712063031625015002 0ustar Subject: fix directories for debian policy Description: Fix install directories to match Debian Policy Author: Olivier Sallou Last-Updated: 2012-09-25 Forwarded: not-needed --- a/etc/init.d/gbrowse-slave +++ b/etc/init.d/gbrowse-slave @@ -1,10 +1,10 @@ #!/bin/sh ### BEGIN INIT INFO # Provides: gbrowse_slave -# Required-Start: $local_fs -# Required-Stop: $local_fs -# Default-Start: 28 -# Default-Stop: S +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 # Short-Description: Start/Stop the gbrowse_slave rendering server. ### END INIT INFO @@ -13,7 +13,7 @@ NAME="gbrowse-slave" DESC="GBrowse slave track rendering server" -test -x $DAEMON || exit 0 +#test -x $DAEMON || exit 0 set -e USER=$WWWUSER --- a/etc/default/gbrowse-slave +++ b/etc/default/gbrowse-slave @@ -1,10 +1,9 @@ -#!/bin/sh export PERL5LIB=$PERL5LIB -DAEMON=$INSTALLSCRIPT/gbrowse_slave -USER=$WWWUSER -PRELOAD=$CONF/slave_preload.conf +DAEMON=/usr/bin/gbrowse_slave +USER=www-data +PRELOAD=/etc/gbrowse/slave_preload.conf RUNDIR=/var/run/gbrowse LOGDIR=/var/log/gbrowse PREFORK=3 --- a/bin/gbrowse_metadb_config.pl +++ b/bin/gbrowse_metadb_config.pl @@ -21,7 +21,10 @@ my @argv = @ARGV; my ($dsn, $admin); +my $new=0; + GetOptions('dsn=s' => \$dsn, + 'new' => \$new, 'admin=s' => \$admin) or die < @@ -169,10 +172,12 @@ check_table("uploads", $uploads_columns); check_table("sharing", $sharing_columns); +if($new==0) { check_sessions(); check_uploads_ids(); check_all_files(); check_data_sources(); +} fix_session_permissions(); fix_sqlite_permissions() if $type =~ /sqlite/i; --- a/htdocs/index.html +++ b/htdocs/index.html @@ -24,7 +24,7 @@
/var/www/gbrowse2/example_scripts
-

Example Databases

+

Example Databases (requires gbrowse-data package)

@@ -32,9 +32,9 @@ installed for you. Try them at these URL:

@@ -56,13 +56,13 @@

  • http://your.host/gb2/gbrowse/yeast
  • http://your.host/gb2/gbrowse/yeast_advanced
  • http://your.host/gb2/gbrowse/yeast_renderfarm
  • -
  • http://your.host/gb2/gbrowse/pop_demo (demo of embedded population allele frequency maps -- requires Template module to be installed)
  • Accelerated Demos

    -If you have FastCGI and/or ModPerl installed, you will have access to -an accelerated version of gbrowse at these URLs: +By default, FastCGI and ModPerl are not set by gbrowse installation, +However, if you have FastCGI and/or ModPerl installed, you will have access to + accelerated versions of gbrowse a these URLs:
    • FastCGI --- a/install_util/GBrowseInstall.pm +++ b/install_util/GBrowseInstall.pm @@ -33,6 +33,7 @@ wwwuser => 'User account under which Apache daemon runs?', installconf => 'Automatically update Apache config files to run GBrowse?', installetc => 'Automatically update system config files to run gbrowse-slave?', + registration_done => 'Set to 1 to skip registration.', ); my %OK_PROPS = @OK_PROPS; @@ -422,6 +423,82 @@ END } +sub ACTION_debianinstall { + my $self = shift; + my $prefix = $self->install_base || $self->prefix || 'debian/libgbrowse-perl'; + GBrowseGuessDirectories->prefix($prefix); + + $self->depends_on('config_data'); + + $self->install_path->{conf} + ||= $self->config_data('conf') || GBrowseGuessDirectories->conf; + $self->install_path->{htdocs} + ||= $self->config_data('htdocs') + || GBrowseGuessDirectories->htdocs; + $self->install_path->{'cgi-bin'} + ||= $self->config_data('cgibin') + || GBrowseGuessDirectories->cgibin; + $self->install_path->{'etc'} + ||= GBrowseGuessDirectories->etc; + $self->install_path->{'databases'} + ||= $self->config_data('databases') + || GBrowseGuessDirectories->databases; + + + $self->install_path->{conf} = $prefix.$self->install_path->{conf}; + $self->install_path->{htdocs} = $prefix.$self->install_path->{htdocs}; + $self->install_path->{'cgi-bin'} = $prefix.$self->install_path->{'cgi-bin'}; + $self->install_path->{'etc'} = $prefix.$self->install_path->{'etc'}; + $self->install_path->{'databases'} = $prefix.$self->install_path->{'databases'}; + $self->SUPER::ACTION_install(); + + my $user = $self->config_data('wwwuser') || GBrowseGuessDirectories->wwwuser; + + # fix some directories so that www user can write into them + my $tmp = $self->config_data('tmp') || GBrowseGuessDirectories->tmp; + $tmp = $prefix.$tmp; + mkpath($tmp); + my ($uid,$gid) = (getpwnam($user))[2,3]; + + # taint check issues + $uid =~ /^(\d+)$/; + $uid = $1; + $gid =~ /^(\d+)$/; + $gid = $1; + + my $htdocs_i = File::Spec->catfile($self->install_path->{htdocs},'i'); + my $images = File::Spec->catfile($tmp,'images'); + my $htdocs = $self->install_path->{htdocs}; + { + local $> = $uid; + symlink($images,$htdocs_i); # so symlinkifowner match works! + } + + my $databases = $self->install_path->{'databases'}; + + #chmod 0755,File::Spec->catfile($self->install_path->{'etc'},'init.d','gbrowse-slave'); + #$self->fix_selinux; + + my $base = basename($self->install_path->{htdocs}); + + # Configure the databases, if needed. + #print STDERR "Updating user account database...\n"; + #my $metadb_script = File::Spec->catfile("bin", "gbrowse_metadb_config.pl"); + #my $perl = $self->perl; + #my @inc = map{"-I$_"} split ':',$self->added_to_INC; + #system $perl,@inc,$metadb_script,"--dsn=DBI:SQLite:debian/gbrowse/var/lib/gbrowse/users.sqlite"; + +} + +sub ACTION_debianinstall_slave { + my $self = shift; + my $prefix = $self->install_base || $self->prefix ||''; + GBrowseGuessDirectories->prefix($prefix); + $self->install_path->{'etc'} = $prefix.$self->install_path->{'etc'}; + $self->SUPER::ACTION_install(); +} + + sub ACTION_install { my $self = shift; my $prefix = $self->install_base || $self->prefix || ''; @@ -776,8 +853,9 @@ sub guess_user_account_db { my $self = shift; if (eval "require DBD::SQLite; 1") { - my $databases = $self->config_data('databases'); - return "DBI:SQLite:$databases/users.sqlite"; + #my $databases = $self->config_data('databases'); + #return "DBI:SQLite:$databases/users.sqlite"; + return "DBI:SQLite:/var/lib/gbrowse/users.sqlite"; } elsif (eval "require DBD::mysql; 1") { return 'DBI:mysql:gbrowse_login;user=gbrowse;password=gbrowse'; } else { --- a/conf/GBrowse.conf +++ b/conf/GBrowse.conf @@ -163,9 +163,9 @@ # "user_accounts" is true, then GBrowse # will attempt to use its internal user accounts database # to authenticate and/or register users. -user_accounts = 1 -user_accounts_registration = 1 -user_accounts_openid = 1 +user_accounts = 0 +user_accounts_registration = 0 +user_accounts_openid = 0 # Path to the database -- you will need to create this database and grant all # privileges on it to the indicated user. debian/patches/skip_check_installed_test.patch0000644000000000000000000000232012063031724017032 0ustar Author: Olivier Sallou Subject: build steps checks for installed files Description: For Debian program should not check for installed files Last-Updated: 2012-09-20 Forwarded: not-needed --- a/install_util/GBrowseInstall.pm +++ b/install_util/GBrowseInstall.pm @@ -636,7 +636,7 @@ my $copied = $self->copy_if_modified($_=>'blib'); if ($copied || !$self->up_to_date('_build/config_data',"blib/$_")) { $self->substitute_in_place("blib/$_"); - $self->check_installed($install_path,$base); + #$self->check_installed($install_path,$base); } } @@ -698,7 +698,7 @@ my $copied = $self->copy_if_modified($base=>'blib'); if ($copied or !$self->up_to_date('_build/config_data',"blib/$base")) { $self->substitute_in_place("blib/$base"); - $self->check_installed($install_path,$base) if $copied; + #$self->check_installed($install_path,$base) if $copied; } } } @@ -736,7 +736,7 @@ my $copied = $self->copy_if_modified($_=>'blib'); if ($copied or !$self->up_to_date('_build/config_data',"blib/$_")) { $self->substitute_in_place("blib/$_"); - $self->check_installed($install_path,$base); + #$self->check_installed($install_path,$base); } } } debian/patches/skipRenderFarmTest_UpstreamBug120000644000000000000000000000224712063030200016764 0ustar Subject: remove renderfarm tests Description: there is an upstream bug with renderfarm involved tests. Upstream bug id 12 has been created witj instructions to solve the issue. Runtime has been tested with no issue. This patch remove tests using renderfarm feature. Author: Olivier Sallou Last-Updated: 2012-03-07 --- a/t/03.render.t +++ b/t/03.render.t @@ -16,9 +16,10 @@ use lib "$Bin/testdata"; use TemplateCopy; # for the template_copy() function -use constant TEST_COUNT => 150; +use constant TEST_COUNT => 0; use constant CONF_FILE => "$Bin/testdata/conf/GBrowse.conf"; +exit 0; my $PID; BEGIN { --- a/t/04.remoteserver.t +++ b/t/04.remoteserver.t @@ -12,10 +12,11 @@ use CGI; use FindBin '$Bin'; -use constant TEST_COUNT => 47; +use constant TEST_COUNT => 0; use constant CONF_FILE => "$Bin/testdata/conf/GBrowse.conf"; use constant DEBUG => 0; +exit 0; my $PID; BEGIN { --- a/t/06.featuresearch.t +++ b/t/06.featuresearch.t @@ -11,9 +11,10 @@ use CGI; use FindBin '$Bin'; -use constant TEST_COUNT => 26; +use constant TEST_COUNT => 0; use constant CONF_FILE => "$Bin/testdata/conf/GBrowse.conf"; +exit 0; my $PID; BEGIN { debian/patches/fix_pop_url0000644000000000000000000000373512063030200013060 0ustar Subject: update URL for default conf Author: Olivier Sallou Last-Update: 2011-08-08 Description: update URL for details in example conf files to match /gb2 instead of cgi-bin/gb2 Forwarded: not-needed --- a/conf/yeast_chr1+2.conf +++ b/conf/yeast_chr1+2.conf @@ -158,7 +158,7 @@ This gene brought to you by SGD. Gene $name - See gene details + See gene details Ask SGD about $name Ask Wikipedia about $name Ask Google about $name --- a/conf/yeast_renderfarm.conf +++ b/conf/yeast_renderfarm.conf @@ -153,7 +153,7 @@ This gene brought to you by SGD. Gene $name - See gene details + See gene details Ask SGD about $name Ask Wikipedia about $name Ask Google about $name debian/patches/gbrowse-slave-fix_defaults_path0000644000000000000000000000164112063030200016773 0ustar Subject: fix default path on debian Author: Olivier Sallou Description: update path to be debian compliant, add description Last-Updated: 2012-02-19 --- a/etc/init.d/gbrowse-slave +++ b/etc/init.d/gbrowse-slave @@ -1,11 +1,12 @@ #!/bin/sh ### BEGIN INIT INFO -# Provides: gbrowse_slave +# Provides: gbrowse-slave # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop the gbrowse_slave rendering server. +# Description: Enable the GBrowse slave rendering mode ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin @@ -24,8 +25,8 @@ VERBOSITY=1 NICE=0 -if [ -f $ETC/default/gbrowse-slave ]; then - . $ETC/default/gbrowse-slave +if [ -f /etc/default/gbrowse-slave ]; then + . /etc/default/gbrowse-slave fi mkdir -p $RUNDIR debian/patches/series0000644000000000000000000000022312063030200012011 0ustar debian-packaging-patch gbrowse-slave-fix_defaults_path manpages.patch fix_pop_url skipRenderFarmTest_UpstreamBug12 skip_check_installed_test.patch debian/patches/manpages.patch0000644000000000000000000001212612063031672013433 0ustar Subject: fix POD-generated manual pages Description: upstream pages contain errors Author: Olivier Sallou Last-Updated: 2012-09-25 Forwaded: yes Bug: https://sourceforge.net/tracker/?func=detail&aid=3571433&group_id=27707&atid=391291 --- a/bin/gtf2gff3.pl +++ b/bin/gtf2gff3.pl @@ -1320,7 +1320,7 @@ =head1 NAME -gtf2gff3 +gtf2gff3 - Converts GTF formatted files to valid GFF3 files =head1 VERSION @@ -1496,7 +1496,7 @@ =item C<< FATAL: Invalid value passed to strand: strand. >> This may indicate that your GTF file does not indicate the strand for -features that require it. Consider using the DEFAULT_STRAND paramater +features that require it. Consider using the DEFAULT_STRAND parameter in the config file. It may also indicate a software bug. Please contact the author. --- a/bin/wiggle2gff3.pl +++ b/bin/wiggle2gff3.pl @@ -2,7 +2,7 @@ =head1 NAME -wiggle2gff3.pl +wiggle2gff3.pl - Converts UCSC WIG format files into gff3 files =head1 SYNOPSIS --- a/lib/Bio/DB/GFF/Aggregator/match_gap.pm +++ b/lib/Bio/DB/GFF/Aggregator/match_gap.pm @@ -34,7 +34,6 @@ should be sufficient for simple nucleotide to nucleotide alignments. -################################################################################ =cut --- a/lib/Bio/DB/GFF/Aggregator/reftranscript.pm +++ b/lib/Bio/DB/GFF/Aggregator/reftranscript.pm @@ -1,6 +1,6 @@ =head1 NAME -package Bio::DB::GFF::Aggregator::reftranscript -- Aggregates references transcripts +Bio::DB::GFF::Aggregator::reftranscript -- Aggregates references transcripts =head1 SYNOPSIS --- a/lib/Bio/Graphics/Browser2/AuthorizedFeatureFile.pm +++ b/lib/Bio/Graphics/Browser2/AuthorizedFeatureFile.pm @@ -23,7 +23,6 @@ =head2 METHODS -=over 4 =cut --- a/lib/Bio/Graphics/Browser2/DataBase.pm +++ b/lib/Bio/Graphics/Browser2/DataBase.pm @@ -66,12 +66,16 @@ $CACHE->delete($key); } +=over + =item Bio::Graphics::Browser2::DataBase->clone_databases() Call this after a fork in the child process to make sure that all open databases have had a chance to clone themselves if they need to. Otherwise you will get random database failures. +=back + =cut sub clone_databases { --- a/lib/Bio/Graphics/Browser2/Plugin.pm +++ b/lib/Bio/Graphics/Browser2/Plugin.pm @@ -238,7 +238,7 @@ The purpose of this methods is to suppress the 'Configure...' or 'Find...' title that is printed at the top of the page when the -plugin is loaded. It will return false unless overriden by a plugin where +plugin is loaded. It will return false unless overridden by a plugin where this behaviour is desired. =item $type = $self->type() --- a/lib/Bio/Graphics/Browser2/Region.pm +++ b/lib/Bio/Graphics/Browser2/Region.pm @@ -3,6 +3,12 @@ # provide method for fetching and manipulating the current # region or regions. +=head1 NAME + +Bio::Graphics::Browser2::Region -- Provide method for fetching and manipulating regions + +=cut + use strict; use warnings; use Bio::Graphics::Browser2::Shellwords; --- a/lib/Bio/Graphics/Browser2/Render.pm +++ b/lib/Bio/Graphics/Browser2/Render.pm @@ -3,6 +3,12 @@ use strict; use warnings; +=head1 NAME + +Bio::Graphics::Browser2::Render -- Provide methods to render regions + +=cut + use JSON; use Digest::MD5 'md5_hex'; use CGI qw(:standard param request_method header url iframe img span div br center url_param); --- a/lib/Bio/Graphics/Browser2/RenderPanels.pm +++ b/lib/Bio/Graphics/Browser2/RenderPanels.pm @@ -2,6 +2,13 @@ use strict; use warnings; +=head1 NAME + +Bio::Graphics::Browser2::RenderPanels-- Provide methods to render a panel + +=cut + + use GD 'gdTransparent','gdStyled'; use Bio::Graphics; --- a/lib/Legacy/Graphics/Browser.pm +++ b/lib/Legacy/Graphics/Browser.pm @@ -4,6 +4,12 @@ # This is an old version of Bio::Graphics::Browser retained for gbrowse_syn # It is on the path to deprecation +=head1 NAME + +Legacy::Graphics::Browser-- Old version, deprecated + +=cut + =head1 METHODS The remainder of this document describes the methods available to the --- a/lib/Bio/Graphics/Browser2/DataSource.pm +++ b/lib/Bio/Graphics/Browser2/DataSource.pm @@ -32,6 +32,10 @@ } } +=head1 NAME + +Bio::Graphics::Browser2::DataSource -- DataSource to access data + =head1 SYNOPSIS =head1 DESCRIPTION @@ -150,6 +154,8 @@ delete $CONFIG_CACHE{$self->config_file}; } + +=back =head2 userdata() $path = $source->userdata(@path_components) @@ -871,6 +877,8 @@ croak "Do not call make_link() on the DataSource. Call it on the Render object"; } +=over + =item $db = $dsn->databases Return all named databases from [name:database] tracks. @@ -1116,6 +1124,8 @@ %DB_SETTINGS = (); } +=back + =head2 generate_image ($url,$path) = generate_image($gd); --- a/bin/gbrowse_grow_cloud_vol.pl +++ b/bin/gbrowse_grow_cloud_vol.pl @@ -2,13 +2,13 @@ =head1 NAME -gbrowse_grow_cloud-vol.pl Grow the GBrowse volume by the requested amount +gbrowse_grow_cloud-vol \- Grow the GBrowse volume by the requested amount =head1 SYNOPSYS Grow /opt/gbrowse by another 100 gigabytes - % gbrowse_grow_cloud_vol.pl 100 + % gbrowse_grow_cloud_vol 100 =head1 DESCRIPTION debian/gbrowse_import_ucsc_db.10000644000000000000000000000243112063030200013756 0ustar .TH GBrowse2 1 "February 07, 2011" "version 1.1.0" "USER COMMANDS" .SH NAME browse_import_ucsc_db \- Creates a framework data source .SH DESCRIPTION This creates a framework data source for one of the genomes known to the UCSC Genome Browser. You can then modify the data source configuration file, add your own data, and so forth. Provide the name of a UCSC genome build and optionally a description to display in GBrowse. To get started, find the desired data source by going to http://genome.ucsc.edu/cgi-bin/hgGateway and using the "clade" and "genome" menus to navigate to the desired species and build number. You will find the data source name in the blue box below the navigation controls. Look for something like this: D. melanogaster Genome Browser – dm3 assembly (sequences) The data source name appears before the word "assembly", in this case "dm3". .SH USAGE [options] [] .SH OPTIONS To get a list of all sources recognized by UCSC appears type: browse_import_ucsc_db \-\-list Options: \-\-remove-chr Remove the 'chr' prefix from all chromosome names \-\-list List data sources .SH EXAMPLE Example: $0 hg19 'Human genome (hg19)' .SH AUTHOR Olivier Sallou (olivier.sallou (at) irisa.fr) - Man page and packaging Lincoln Stein - GBrowse debian/compat0000644000000000000000000000000211720205701010357 0ustar 8 debian/control0000644000000000000000000000564212152113130010565 0ustar Source: gbrowse Section: science Priority: optional Build-Depends: bioperl (>= 1.6.901), debhelper (>= 9), dh-apache2, libbio-graphics-perl (>= 2.31), libcapture-tiny-perl, libcgi-session-perl (>= 4.02), libgd-gd2-perl (>= 2.07) | libgd-gd2-noxpm-perl (>= 2.07), libio-string-perl, libjson-perl, libstatistics-descriptive-perl, libwww-perl, libhttp-daemon-perl, perl, perl (>= 5.10.0) | libextutils-cbuilder-perl, sqlite3, libdbd-sqlite3-perl, libterm-readkey-perl, libjs-prototype (>=1.7), libjs-scriptaculous (>= 1.9), libvm-ec2-perl Maintainer: Debian Med Packaging Team Uploaders: Olivier Sallou , Charles Plessy , Aaron M. Ucko Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/gmod/gbrowse/trunk/ Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/gmod/gbrowse/ Standards-Version: 3.9.3 Homepage: http://www.gbrowse.org/ Package: gbrowse Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, apache2 (>= 2.4) | httpd-cgi, bioperl (>= 1.6.901), libbio-graphics-perl (>= 2.31), libcgi-session-perl (>= 4.02), libgd-gd2-noxpm-perl (>= 2.07) | libgd-gd2-perl (>= 2.07), libio-string-perl, libjson-perl, libstatistics-descriptive-perl, libwww-perl, libhttp-daemon-perl, perl (>= 5.10.0) | libextutils-cbuilder-perl, libterm-readkey-perl, sqlite3, libdbd-sqlite3-perl, libjs-prototype (>=1.7), libjs-scriptaculous (>=1.9), libvm-ec2-perl Recommends: ${misc:Recommends} Suggests: gbrowse-data, gbrowse-calign, libfile-nfslock-perl Description: GMOD Generic Genome Browser Generic Genome Browser is a simple but highly configurable web-based genome browser. It is a component of the Generic Model Organism Systems Database project (GMOD). Some of its features: * Simultaneous bird's eye and detailed views of the genome; * Scroll, zoom, center; * Attach arbitrary URLs to any annotation; * Order and appearance of tracks are customizable by administrator and end-user; * Search by annotation ID, name, or comment; * Supports third party annotation using GFF formats; * Settings persist across sessions; * DNA and GFF dumps; * Connectivity to different databases, including BioSQL and Chado; * Multi-language support; * Third-party feature loading; * Customizable plug-in architecture (e.g. run BLAST, dump & import many formats, find oligonucleotides, design primers, create restriction maps, edit features). Package: gbrowse-data Architecture: all Depends: ${misc:Depends} Recommends: gbrowse Description: Sample data to use GBrowse This package contains sample data to test the gbrowse tool with the Yeast genome. Package: gbrowse-calign Architecture: any Depends: ${perl:Depends},${shlibs:Depends},${misc:Depends}, perl (>= 5.10.0), gbrowse Description: CAlign helper This package provides the CAlign helper for use with Realign. It speeds up Smith-Waterman alignment. debian/postinst0000644000000000000000000000125511720664455011011 0ustar #!/bin/bash set -e case "$1" in configure) if [ ! -d /var/cache/gbrowse ] ; then mkdir -p /var/cache/gbrowse fi chown -R root:www-data /var/lib/gbrowse chmod -R 770 /var/lib/gbrowse chown -R root:www-data /var/cache/gbrowse chmod -R 770 /var/cache/gbrowse if [ -e /var/cache/gbrowse/sessions ]; then chown -R www-data:www-data /var/cache/gbrowse/sessions fi update-rc.d gbrowse-slave defaults > /dev/null ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# debian/gbrowse-data.postinst0000644000000000000000000000064211720205701013347 0ustar #!/bin/bash set -e case "$1" in configure) chown -R root:www-data /var/lib/gbrowse/databases chmod -R 770 /var/lib/gbrowse/databases if [ -e /etc/init.d/gbrowse-slave ] ; then invoke-rc.d gbrowse-slave restart fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# debian/changelog0000644000000000000000000000532112231465203011037 0ustar gbrowse (2.54+dfsg-2build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Tue, 22 Oct 2013 13:07:30 +0100 gbrowse (2.54+dfsg-2) unstable; urgency=low * Transition to apache 2.4 (Closes: #669830). -- Olivier Sallou Sat, 25 May 2013 11:46:26 +0200 gbrowse (2.54+dfsg-1) unstable; urgency=low * New upstream release * debian/control: increase min bio-graphics version -- Olivier Sallou Sat, 15 Dec 2012 09:11:03 +0100 gbrowse (2.51+dfsg-1) unstable; urgency=low [ Olivier Sallou ] * new upstream release (Closes: #677381). * fixes make test issue and plugins impact (Closes: #662922). * debian/control: switch to Standards 3.9.3 [ Andreas Tille ] * debian/upstream: Added citation information -- Olivier Sallou Wed, 07 Mar 2012 10:36:52 +0100 gbrowse (2.48~dfsg-1) unstable; urgency=low [ Olivier Sallou ] * new upstream release * debian/control: add libbiographics-perl dependency * debian/patches/skipRenderFarmTest_UpstreamBug12: fix an upstream test issue on renderfarm testing. [ Charles Plessy ] * Updated VCS URLs (debian/control). -- Olivier Sallou Sun, 19 Feb 2012 15:59:53 +0100 gbrowse (2.42~dfsg-1) unstable; urgency=low * New upstream release -- Olivier Sallou Tue, 18 Oct 2011 15:37:42 +0200 gbrowse (2.39~dfsg-2) unstable; urgency=low * Skip deferred rendering tests causing random failures on build servers -- Olivier Sallou Mon, 29 Aug 2011 10:34:12 -0400 gbrowse (2.39~dfsg-1) unstable; urgency=low * New upstream version -- Olivier Sallou Mon, 8 Aug 2011 10:34:12 -0400 gbrowse (2.38~dfsg-1) unstable; urgency=low * New upstream version * New patch to fix gbrowse-slace defaults script -- Olivier Sallou Sat, 18 Jun 2011 13:55:12 -0400 gbrowse (2.26~dfsg-3) unstable; urgency=low * Bump version to compensate for botched uploads of -2. (It's been a long day.) -- Aaron M. Ucko Tue, 26 Apr 2011 22:55:12 -0400 gbrowse (2.26~dfsg-2) unstable; urgency=low * Team upload. * Upload to unstable, where -1 accidentally landed. * debian/{gbrowse.dirs,rules}: Tweak to avoid errors when building just the architecture-dependent gbrowse-calign package. (Closes: #624130.) * debian/control: Temporarily add myself to uploaders to placate dak. -- Aaron M. Ucko Tue, 26 Apr 2011 21:46:23 -0400 gbrowse (2.26~dfsg-1) experimental; urgency=low [ Olivier Sallou ] * Initial Release (Closes: #429610). -- Charles Plessy Wed, 13 Apr 2011 14:45:45 +0900