Commit Graph
356 Commits
Author SHA1 Message Date
Ramkrishna Chakrabarty d4f484e9ae Moving sample state and dataset transfer status update api methods to the samples api controller. 2010-12-20 16:05:08 -05:00
Ramkrishna Chakrabarty 7858868650 First pass of the new sequencer_type & sequencer framework
- sequencer table now populated with the unique sequencer in the request_type table
- sequencer_type is introduced which defines a sequencer
- support for sequencer (create, delete, edit)
- added support for a simple sequencer for backward compatibility
- added support for Solid sequencer
- tweaked the request_type api methods. removed the sequencer login info.
2010-12-20 10:50:50 -05:00
Ramkrishna Chakrabarty 028137a54d added 'name' attribute to the sample xml form 2010-12-13 17:30:51 -05:00
Ramkrishna Chakrabarty b34ef29442 Adding a 'name' attribute in the field dict for form_definitions. In the 'form_values'
table, the 'content' column is now a JSON dict instead of a list. Made appropriate code changes.
2010-12-13 17:29:23 -05:00
Daniel Blankenberg 7b7453366f Initial pass on API for forms, request_type, users and roles.
Additional effort is needed to abstract more previously existing functionality out of web controllers.

Add script that is able to create a sequencer configuration for the sample tracking system using API.
2010-12-02 16:04:34 -05:00
Nate Coraor 246ea04cc7 Add support for the new test/data repository and a fix for the bowtie tests. 2010-11-22 10:54:31 -05:00
Ramkrishna Chakrabarty b8652ecc4e - added the change data library sample operation functional test.
- renaming dataset now checks for incorrect filename characters
- fixed bugs
2010-11-17 11:33:54 -05:00
Ramkrishna Chakrabarty dec7e64355 Restored the function to stop the edit samples form from getting submitted when return key is pressed. This is needed in this form as the barcode scanner (when in keyboard emulation mode) may send a return key appended to the scanned barcode string. 2010-11-15 15:38:44 -05:00
Anton Nekrutenko fa410d3ddc Tweaks to taxonomy tools 2010-11-15 15:04:59 -05:00
Nate Coraor 61f392c235 Disk space usage accounting: Users can see how much disk a history is consuming. Disk used is also a column on the history grid. Users can also forcibly purge a dataset from their history. Included is a script (scripts/set_dataset_sizes.py) which will set the value of the new total_size column on the dataset table (includes the contents of the extra_files_path and metadata files). 2011-06-14 12:43:42 -04:00
Nate Coraor 478470e8b0 Testing Python 2.7. 2011-06-08 23:50:07 -04:00
Nate Coraor 758e13ac28 Remove hardcoding of universe_wsgi.ini, fixes issue #358 (except for the sample cleanup scripts which, as samples, are expected to be modified by the site anyway). 2011-06-08 12:10:51 -04:00
Greg Von Kuster cbd7fd8caa Commit versions of tools from the last_gen tool shed in order of oldest -> newest in the next-gen tool shed. Fixes issue # 578. 2011-06-07 11:32:11 -04:00
Greg Von Kuster 5dde45d61b Eliminate all suport for tool / tool suite archives from the tool shed. Yikes! 2011-06-02 15:18:35 -04:00
Nate Coraor 6cf36abfcc (recommit): porocessTaxonomynow removes parenthesis fixing various tree drawing issues in metagenomic tools. Major rework of MG tools needed to ensure reproducibility 2010-11-10 10:26:43 -05:00
Nate Coraor 1e4fba1360 Backed out changeset 081ce300b688 (some files accidentally committed). 2010-11-10 10:26:07 -05:00
Anton Nekrutenko 7c4ca2927b porocessTaxonomynow removes parenthesis fixing various tree drawing issues in metagenomic tools. Major rework of MG tools needed to ensure reproducibility 2010-11-10 10:17:12 -05:00
Kelly Vincent a0a1f44c32 Added a sample loc file listing all fasta files and a script to generate the file given a base genome directory. 2010-11-08 00:43:02 -05:00
Ramkrishna Chakrabarty 7d8a5c650a Improved error handling in api methods. 2010-11-07 22:18:22 -05:00
Ramkrishna Chakrabarty 3d72267f44 sample tracking data transfer mechanism streamlined.
- eliminated the transfer_datasets.ini config file
- eliminated the data transfer user
- now the admin user initiating the data transfer is used as the data transfer user.
- the admin user is provided the add_library_item permission before data transfer if they dont have it
- sample update & data transfer amqp messages now includes api_key
2010-11-07 19:46:59 -05:00
Ramkrishna Chakrabarty 1da8827235 Added validation checks in the data transfer script for sample tracking 2010-10-29 15:24:30 -04:00
Ramkrishna Chakrabarty 809d95b8b4 fixed Lab menu access bug
fixed rabbitmq setup script bug
2010-10-28 16:43:13 -04:00
Ramkrishna Chakrabarty d5d27b67ad adding setup_rabbitmq.sh script.
web api minor code fixes
2010-10-27 12:36:56 -04:00
Ramkrishna Chakrabarty 7ca626b9f1 Added setup script to configure RabbitMQ 2010-10-26 23:04:22 -04:00
Nate Coraor 4835512eda Make the production buildbot use Main's tool conf 2010-10-26 16:03:36 -04:00
Ramkrishna Chakrabarty 6a9ab2813a sample_tracking:
- added web api methods to update requests, samples using restful api
- removed the old ad-doc web api
- modified the data transfer code to use this api
- code cleanup
2010-10-26 10:00:23 -04:00
Nate Coraor 33a7ced929 Added a simple plugin for Nose that shows a diff-style output of failed tests,
and added an error-only file to the Nose HTML plugin.  This should make
buildbot more useful.
2010-10-22 23:58:58 -04:00
Kanwei Li 7736a34123 Add default file_path to cleanup_datasets.py script. Closes #376 2010-10-07 14:15:19 -04:00
Jeremy Goecks f14245aaed Move export_history.py script into lib/galaxy/tools/imp_exp so that it's simpler to execute. 2010-09-29 16:46:42 -04:00
Jeremy Goecks e1876ef767 Use a job to export a history to an archive file. Exporting a history is now enabled in the history options panel, but importing a history is not yet a job and remains disabled. When a user exports a history, a link is provided that can be used to retrieve the archive or, in the future, moved to another Galaxy instance.
The job that exports a history creates (a) a dataset for storing the archive and (b) multiple temporary attribute files to store the necessary data for exporting a history's datasets, jobs, etc. The temporary files are cleaned up when the job ends. Currently, there is no cleanup for history archive files.
2010-09-28 11:40:19 -04:00
Nate Coraor b7e91fddb3 Allow defining of the cluster job runner when running functional tests. 2010-09-24 23:56:57 -04:00
Kanwei Li 0fbab45d14 trackster: Inline editing of configuration and removing of tracks, obsoleting the right editing panel. Improved appearance of overview box by adding a background for the scroll bar, and having a sliding window to indicate region shown. Added id numbers in front of API results for upcoming interactive script. 2010-09-23 20:00:58 -04:00
Ramkrishna Chakrabarty d79e8b6cc0 lims: added basic UI framework for operations on multiple samples
- first pass for state change mechanism for multiple samples
- UI enhancements: checkboxes to select samples & selectfield to select specific operation
- removed state change UI for individual samples in the sample_events page

next is selecting library for multiple samples
2010-08-30 16:33:37 -04:00
Nate Coraor a114889c4a Fix the platform argument to fetch_eggs.py and create an egg packager for easing the installation/updating of Galaxy on systems without a direct connection to the internet. 2010-08-30 11:31:58 -04:00
Ramkrishna Chakrabarty 25dd565340 lims: email notification enhancements
- changed the notify field in the request table to JSONType to store recipient email address and other config details
  - notification of specific sample state changes
     - changes made to barcode scan AMQP handler to update sample state to also send email when required
  - notification to multiple recipients
  - request events history records notifications
  - UI enhancements to the edit request page to allow users to change notification configurations
 UI enhancements to the request page to show the request type state, user & notification details
2010-08-26 11:17:49 -04:00
Nate Coraor 6e1ed92e79 Minor fixes for scrambling and dist-scrambling 2010-08-17 09:29:38 -04:00
Nate Coraor cce1848d5e Use env for the API example scripts instead of directly referring to /usr/bin/python 2010-07-29 11:18:15 -04:00
Ramkrishna Chakrabarty c925dc1f2c lims:
- added a new table 'sample_dataset' to store sample datasets & their info when they are transfered from the sequencer
- the datasets transfer page now uses a grid to facilitate bulk renaming
- bulk renaming possible to fix the problem with the way SOLiD generates datasets
- the remote file browser is now independent of a specific sample, the user may select any sample when transferring datasets from the sequencer
2010-07-29 10:55:08 -04:00
Nate Coraor 99b9d820e8 Have check_galaxy.py script get twill from galaxy.eggs instead of directly from the (defunct) eggs/py-(version) directory 2010-07-28 12:57:16 -04:00
Greg Von Kuster 6bc3da5e5d Fix for sqlalchemy-migrate scripts so they will function across webapps - galaxy is the default, so no command line changes necessary when migrating the db. 2010-07-20 09:27:14 -04:00
Nate Coraor 85c6a3193a Upgrade pbs_python to 4.1.0 and use PBS exit_status (if keep_completed is set) so we can detect PBS failures. This is a reapplication of 3786:48432330228e, which was backed out in a subsequent revision due to crashes experienced in pbs_python 2.9.8. 2010-07-19 12:29:53 -04:00
Nate Coraor 57521e88cf Set a default (database/universe.sqlite) in manage_db.py in case the deprecated database_file is unset 2010-07-02 15:37:25 -04:00
Ramkrishna Chakrabarty 6ef3645b33 lims: removed the db engine echo option in the data transfer 2010-07-01 09:31:41 -04:00
Ramkrishna Chakrabarty 45cb09579f lims: requests/request_admin controller refactor
A new controller called requests_common now handles all common tasks like create/edit/delete requests & samples. The requests controller has only the grid definition and requests_admin controller has the request_type code and the sequencer data transfer code.
Also fixed a form importer bug in forms.py
2010-06-30 10:46:50 -04:00
Nate Coraor 7b93d1f53b API: Add library creation functionality. Note that no roles can be associated with libraries via the API at this time. 2010-06-23 14:44:37 -04:00
Nate Coraor 5eb9ca909f Initial implementation of the Galaxy Web API. Disabled unless
'enable_api = True' in config file.  You should not enable the API on
production sites as this code is brand new and may contain serious bugs and
security flaws!  Implemented:

* Display libraries
* Display library info
* Display library contents
* Display library content info
* Create library folders
* Upload datasets to a library from a server directory or with a path paste.
* Basic example scripts in scripts/api/

Framework changes that were made to support this:

* API Key interface in User Preferences.
* New api_keys database table for storing users' API Keys.
* New API-specific route mapper in webapp.
* API controllers in galaxy.web.api
* Return handling in reused library_common methods.
* expose_api decorator for API controller methods validates key and ensures
  valid JSON format.
* UniverseWebTransaction renamed to GalaxyWebTransaction and subclassed for
  GalaxyWebUITransaction and GalaxyWebAPITransaction.

Things that need to be done next:

* Documentation!
* Refactor reused code from library_common and other controllers into an
  even-more-generic location and format.  The main changes are that the Web UI
  returns redirects and rendered templates, whereas the API returns various
  HTTP status codes and JSON.
* Implement more functionality.
* The request and response format should be considered alpha and are subject to
  change.  They will be standardized as the API matures.

Hints to get started can be found in scripts/api/README
2010-06-22 13:10:28 -04:00
Ramkrishna Chakrabarty df780b03c9 lims:
- bug fix - the data transfer module now works for file/folder names with spaces in them
- UI cleanup
2010-06-11 10:18:13 -04:00
Ramkrishna Chakrabarty 37e3e9c006 lims:
- UI enhancements to the remote file browser, double click to open folder
- data transfer folder name includes date now
2010-06-09 13:07:05 -04:00
Daniel Blankenberg fdef6331e5 Updates for 'Profile Annotations for a set of genomic intervals' tool. This tool will now report a 'data version'. Add a script that creates the indexes and table description xml from a UCSC database dump. 2010-04-23 11:14:26 -04:00
Ramkrishna Chakrabarty 3d9c8baaad lims:
dataset rename issue fixed
2010-04-22 09:35:44 -04:00