94150 Commits

Author SHA1 Message Date
Daniel Blankenberg fc40c7f3d6 Fix help link for all EMBOSS tools. 2007-01-11 16:47:46 +00:00
Daniel Blankenberg 5a4c943fda Fix for Biomart test. Why are there two biomart tests? 2007-01-11 16:28:14 +00:00
Ian Schenck 2612a17f26 Proxy changes copied to trunk...is there an easier way to do this? 2007-01-10 17:28:58 +00:00
Nate Coraor 8c21ccf8af Only stagein if the file exists on disk. Fixes LAJ on the cluster. 2007-01-10 16:37:56 +00:00
Daniel Blankenberg e4f2de8e63 Fix for LAJ ('fake datasets') and admin interface. Datasets and histories are no longer deleted from the database, a flag is set instead. 2007-01-10 15:47:21 +00:00
Daniel Blankenberg 8554c031ed Push Microbial datasource changes onto trunk. 2007-01-10 15:23:30 +00:00
Nate Coraor 8f8dd92373 Remove last references to /depot/data1/cache.
All binned scores moved to scofield:/cache, chrominfo.txt is copied
nightly from herbie via a cron job.  This can go away when galaxyOps is
no longer in use.
2007-01-03 19:36:07 +00:00
Nate Coraor 148922285a Need to pass LC_ALL as well... if anyone can think of any other env vars
that need to exist when a job is run, please let me know.
2006-12-21 21:14:24 +00:00
Daniel Blankenberg 97c1ac33f7 Some items that were not copied over to trunk. 2006-12-21 00:14:11 +00:00
Nate Coraor 2392b88f77 Stage in output datasets (empty files) as well as input datasets so
PBS will stage empty files back out (if the tool produces no output).
2006-12-20 22:03:48 +00:00
James Taylor ca4a90d1c4 Hide deleted histories so everything looks like the previous version. 2006-12-20 21:58:51 +00:00
James Taylor a11d9618cf Whoa, accidently turned on sqlalchemy echoing. 2006-12-20 21:10:52 +00:00
James Taylor 5b4c0bee7b Log first 32K of job stdout and stderr to job table. 2006-12-20 21:09:09 +00:00
Anton Nekrutenko c879bae96f TRUNK:More fixes for uniq and STDERR printout 2006-12-20 19:15:54 +00:00
Anton Nekrutenko 90fe4385d1 TRUNK:a Typo 2006-12-20 02:52:00 +00:00
Anton Nekrutenko c16dc08e00 TRUNK:More cut changes 2006-12-20 02:44:02 +00:00
Anton Nekrutenko b840959a1c TRUNK:This trunk/brunch stuff is VERY confusing. Again: Fix for uniq (count). No more leading spaces 2006-12-20 01:53:04 +00:00
Anton Nekrutenko 37d815d298 Trunk:Fix for uniq (count). No more leading spaces 2006-12-20 01:26:58 +00:00
Anton Nekrutenko cea78e73f7 Fix for uniq (count). No more leading spaces 2006-12-20 01:23:07 +00:00
James Taylor 7a3e6d9b96 Fixes for biomart in the trunk. 2006-12-19 19:38:42 +00:00
Anton Nekrutenko 5a226c32ea Trunk: Forgot the pic. Got rid of the lock. Now a picture will be updated monthly 2006-12-19 02:08:59 +00:00
Anton Nekrutenko 1b3c3e6fe8 Trunk: Got rid of the lock. Now a picture will be updated monthly 2006-12-19 02:08:03 +00:00
Nate Coraor 5d3e026ffe Allow for stagein/stageout rather than relying on nfs for pbs runs. 2006-12-18 23:44:09 +00:00
Anton Nekrutenko 73b53ba17c for Trunk: Updated gops text; added links to screencasts; made join and compare smarter so they look up column numbers from datasets 2006-12-18 21:35:43 +00:00
Anton Nekrutenko 32106fd6d5 cut for trunk 2006-12-18 18:38:37 +00:00
Daniel Blankenberg 9d1dd9fb51 Biomart: add chr to the front of X and Y when in the chrom column. 2006-12-18 16:52:33 +00:00
Daniel Blankenberg afdcf4f0f9 Minor fix for log_event, EncodeDB should work now. 2006-12-18 15:48:01 +00:00
James Taylor 7b39e19525 PBS Related Fixes. 2006-12-16 16:49:33 +00:00
James Taylor 6f73ad0c0f Modified how the Job Manager and PBS Job Runner work. Rather than just
spinning on the queue the monitor method now takes all of the items from the
queue at once and moves them to a waiting list, processes the waiting list,
and then sleeps.

The main job manager uses an interruptible sleep so that when new jobs arrive
they are dispatched immediately.

This should help with processor utilization quite a bit (spinning on the
queues with no sleep was pretty heavy).
2006-12-15 22:48:58 +00:00
Daniel Blankenberg c198156ee3 Add 'URL' to the list of parameters that are not sanitized. URL is used for datasources such as biomart (and hbvar soon). 2006-12-15 19:10:00 +00:00
James Taylor 856b7cb5f2 Documentation improvements. 2006-12-15 16:33:00 +00:00
James Taylor 84b2cb4f74 Allow passing database path and 'use_pbs' to the functional tests.
TODO: This should just be able to read an INI file, far too many variables at this point.
2006-12-15 15:57:15 +00:00
Daniel Blankenberg c0e78cd02a Update cron scripts to reflect the fact that ElementTree is now an egg. 2006-12-14 22:04:05 +00:00
James Taylor bc60e6a7ff Fix the bugs I introduced into Nate's code while splitting up job queue (PBS seems to work now in trunk). 2006-12-14 21:59:44 +00:00
Daniel Blankenberg a7c848eb22 AXT to LAV does work. 2006-12-14 21:22:47 +00:00
Daniel Blankenberg 75a590241b Updated interval2maf test data. 2006-12-14 21:03:03 +00:00
Daniel Blankenberg 74784e1755 Pushing my changes from james-wsgi branch onto the trunk.
Biomart doesn't work on the trunk yet (Before or after this commit).

axt to lav tool won't be functional until multiple datasets per history item is available on trunk - although I could
make it so that only the lav file is generated and no fasta files, in which case it wouldn't be an issue.
2006-12-14 21:02:17 +00:00
James Taylor 58f813650d Fix for DataToolParameter unit test. 2006-12-14 20:31:05 +00:00
James Taylor 6b87816f64 Update pkg_resources. 2006-12-14 16:19:17 +00:00
James Taylor d4dc2fa8bf Fix some doc comments. 2006-12-14 01:08:48 +00:00
James Taylor 5e2761622e Set job state properly on completion. 2006-12-14 01:03:22 +00:00
James Taylor 399d29cec6 First pass at re-factoring job management:
- Creating the command line has been broken up into several methods
  associated with 'Tool'

- Creation of the command line is now done by DefaultToolAction and stored in
  the database (thus if the tool config changes between queueing and running
  of a job things will not break, and if the JobQueue was running on a
  different machine from the web frontend it would not need knowledge of the
  tool config)

- Broke the old JobQueue up quite a bit. New classes are:

  jobs.JobQueue: jobs to be run still get added here. It has a single monitor
  thread that iterates the jobs waiting for one to become runnable, then it
  tries to dispatch the job

  jobs.DefaultJobDispatcher: responsible for deciding how to run a job once
  it is ready to run. Just a trivial implementation for now, as before is PBS
  is enabled and the tool is not a 'data_source' tool, try to run it using
  PBS, otherwise run locally

  jobs.runners.local.LocalJobRunner: the old pool of worker threads that runs
  jobs processes locally

  jobs.runners.local.PBSJobRunner: PBS job runner. Only uses a single thread
  to watch all queued/running jobs. This is TOTALLY UNTESTED. I haven't even
  imported it. I just tried to break up Nate's code to make a state machine
  that could be managed with one thread. Need to know more about the PBS
  setup to test.

Next steps:

- Clean up locally running jobs when the queue is shut down (kill the jobs
  and mark the state change appropriately)

- For all jobs it should be possible to requeue and jobs in the 'waiting'
  state on startup

- For the PBS queue, it should be possible to recover the state of any jobs
  that were queued or running on startup. However we might need more data
  in the database for this
2006-12-14 00:24:38 +00:00
James Taylor 99e2fdbe81 Add a 'deleted' boolean column to History and Dataset. More work is still
needed on the interface. It should be possible to undelete items as well.

As far as purging, if a dataset is in the deleted state and not modified for
a certain period of time we can purge the data file and set the state to
"purged" or something similar. At this point datasets can no longer be
undeleted (but we still have all the job history in the database for as
long as we want).
2006-12-06 22:45:15 +00:00
James Taylor 01478be010 Fix tool config for functional tests. 2006-11-15 20:09:48 +00:00
James Taylor 2c4c20436e Cleaning up modules. Still a few stragglers that can't be easily eggified.
EVERYTHING we depend on should eventually be under the galaxy module or
packaged in eggs to avoid namespace problems.
2006-11-15 18:27:21 +00:00
James Taylor c5f634fd3f Imports... 2006-11-15 18:14:50 +00:00
James Taylor d87ee75027 Cleaning everything up (should be working as usual) 2006-11-15 16:55:17 +00:00
James Taylor 9cdbe06f09 More moving things around. 2006-11-15 16:32:54 +00:00
James Taylor a834c193ab Moving some things around. 2006-11-15 16:32:21 +00:00
James Taylor f788a34fca Moving james-wsgi branch to new trunk. 2006-11-15 16:28:21 +00:00