Todo
DONE Convert docstring style from (given,does,returns) to (:param a: format)
Code defining classes to represent and excute pipeline program calls.
Defines common methods for all program call types.
initializes a BaseCall object
Parameters: |
|
---|---|
Returns: | an initialized BaseCall object |
renames out directory, prepending ‘FAILED’ flag: equivalent of mv tophat_Aa0 FAILED.tophat_Aa0
Builds and writes this CallObject’s qsub script to current working directory using options provided under the “qsub_options” sub-tree in the yaml config file.
converts opt_dict into list encoding proper options to send to the current program: saves to self.
Constructs condition ID :param condition_dict: a dictionary containing consition info like name, replicate_id, etc. :returns: an ID used to construct the call_id of a call.
builds a dict with non-job-specific values set and job-specific values set to False based on option names in the yaml file for this phase
Returns: | partially populated opt_dict |
---|
records command string used, program output, and the end of call in self.log_file
sends notification email informing user that self.call_id has been initiated
Manage a single call to cuffdiff and store associated run data.
initializes the CuffdiffCall object
Parameters: |
|
---|---|
Returns: | an initialized CuffdiffCall object |
Manage a single call to cufflinks and store associated run data.
initializes the CufflinksCall object
Parameters: |
|
---|---|
Returns: | an initialized CufflinksCall object |
Todo
DONE add support for –GTF in addition to currently supported –GTF-guide
Manage a single call to cuffmerge and store associated run data.
initializes the CuffmergeCall object
Parameters: |
|
---|---|
Returns: | an initialized CuffmergeCall object |
Manage a single call to blacktie-cummerbund script and store associated run data.
initializes the CummerbundCall object
Parameters: |
|
---|---|
Returns: | an initialized CummerbundCall object |
Handles yaml_config.cummerbund_options.cuffdiff-dir: from_conditions.
Handles yaml_config.cummerbund_options.gtf-path: from_conditions.
Handles yaml_config.cummerbund_options.out: from_conditions.
Manage a single call to tophat and store associated run data.
initializes the TophatCall object
Parameters: |
|
---|---|
Returns: | an initialized TophatCall object |
Handles yaml_config.tophat_options.positional_args.bowtie2_index: from_conditions.
Code defining custom base error classes to provide a foundation for graceful error handling.
Base class for exceptions in the blacktie package.
When errors occur due to malformed file formats.
When a required argument is missing from the parsed command line options.
When a ‘state check’ comes back as conflicting or nonsensical.
Code facilitating the execution of external system calls.
Create new dir while creating any parent dirs in the path as needed.
Code facilitating random aspects of this package.
A dict like class to facilitate setting and access to tree-like data. Allows access to dictionary keys through ‘dot’ notation: “yourDict.key = value”.
Traverses a dictionary tree and converts all sub-dictionaries to Bunch() objects.
Sends email to recipient using GMAIL server by default but will now accept server_info to customize this.
Parameters: |
|
---|---|
Returns: | None |
Todo
DONE make email_notification() adjustable for other email servers
Provides access to current version info contained in setup.py