5
5
__author__ = "Greg Caporaso"
6
6
__copyright__ = "Copyright 2011, The QIIME project"
7
__credits__ = ["Greg Caporaso"]
7
__credits__ = ["Greg Caporaso", "Jai Ram Rideout"]
10
10
__maintainer__ = "Greg Caporaso"
11
11
__email__ = "gregcaporaso@gmail.com"
12
12
__status__ = "Release"
16
14
from qiime.util import parse_command_line_parameters, make_option
17
15
from os.path import exists
20
script_info['brief_description'] = "This script checks for the existence expected file in parallel runs."
21
script_info['script_description'] = "This script checks for the existence expected file in parallel runs, and is useful for checking the status of a parallel run or for finding out what poller.py is waiting on in a possibly failed run."
22
script_info['script_usage'] = [("","Check for the existence of files listed in the expected_out_files.txt from a PyNAST alignment run, and print a warning for any that are missing.","identify_missing_files.py -e ALIGN_BQ7_/expected_out_files.txt")]
23
script_info['output_description']= ""
18
script_info['brief_description'] = "This script checks for the existence of expected files in parallel runs."
19
script_info['script_description'] = "This script checks for the existence of expected files in parallel runs, and is useful for checking the status of a parallel run or for finding out what poller.py is waiting on in a possibly failed run."
20
script_info['script_usage'] = [("Example",
21
"Check for the existence of files listed in expected_out_files.txt from a "
22
"PyNAST alignment run, and print a warning for any that are missing.",
23
"%prog -e ALIGN_BQ7_/expected_out_files.txt")]
24
script_info['output_description']= """
25
This script does not create any output files.
24
27
script_info['required_options'] = [
25
28
make_option('-e','--expected_out_fp',
26
29
type="existing_filepath",
27
help='the list of expected output files'),
30
help='the list of expected output files')
29
32
script_info['optional_options'] = []
30
33
script_info['version'] = __version__
34
option_parser, opts, args =\
35
parse_command_line_parameters(**script_info)
36
option_parser, opts, args = parse_command_line_parameters(**script_info)
37
38
filepaths = [l.strip() for l in open(opts.expected_out_fp,'U')]