File: poller.rst

package info (click to toggle)
qiime 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 29,704 kB
  • sloc: python: 77,837; haskell: 379; sh: 113; makefile: 103
file content (46 lines) | stat: -rw-r--r-- 1,536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.. _poller:

.. index:: poller.py

*poller.py* -- Poller for parallel QIIME scripts.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

**Description:**

Script for polling parallel runs to check completion. See Qiime/scripts/`poller_example.py <./poller_example.html>`_ for example usage.


**Usage:** :file:`poller.py [options]`

**Input Arguments:**

.. note::

	
	**[REQUIRED]**
		
	-f, `-`-check_run_complete_file
		Path to file containing a list of files that must exist to declare a run complete [REQUIRED]
	
	**[OPTIONAL]**
		
	-r, `-`-check_run_complete_f
		Function which returns True when run is completed [default: qiime.parallel.poller.basic_check_run_complete_f]
	-p, `-`-process_run_results_f
		Function to be called when runs complete [default: qiime.parallel.poller.basic_process_run_results_f]
	-m, `-`-process_run_results_file
		Path to file containing a map of tmp filepaths which should be written to final output filepaths [default: None]
	-c, `-`-clean_up_f
		Function called after processing result [default: qiime.parallel.poller.basic_clean_up_f]
	-d, `-`-clean_up_file
		List of files and directories to remove after run [default: None]
	-t, `-`-time_to_sleep
		Time to wait between calls to status_callback_f (in seconds) [default: 3]


**Output:**

No output created.