augur.read_file module

Read a file like Augur, with transparent optimized decompression and universal newlines.

Input is read from the given file path, as the compression format detection requires a seekable stream. The given path may be “-” to explicitly read from stdin, but no decompression will be done.

Output is always to stdout.

Universal newline translation is always performed, so n, rn, and r in the input are all translated to the system’s native newlines (e.g. n on Unix, rn on Windows) in the output.

augur.read_file.register_parser(parent_subparsers)
augur.read_file.run(args)