submit module

mavis.submit.OPTIONS = WeakMavisNamespace(__name__='~mavis.submit.options', _defns={'queue': 'the queue jobs are to be submitted to', 'memory_limit': 'the maximum number of megabytes (MB) any given job is allowed', 'import_env': 'flag to import environment variables', 'time_limit': 'the time in seconds any given jobs is allowed', 'validation_memory': 'default memory limit (MB) for the validation stage', 'trans_validation_memory': 'default memory limit (MB) for the validation stage (for transcriptomes)', 'annotation_memory': 'default memory limit (MB) for the annotation stage', 'scheduler': 'The scheduler being used'}, _types={'queue': <class 'str'>, 'memory_limit': <class 'int'>, 'import_env': <function cast_boolean>, 'time_limit': <class 'int'>, 'validation_memory': <class 'int'>, 'trans_validation_memory': <class 'int'>, 'annotation_memory': <class 'int'>, 'scheduler': MavisNamespace(SGE='SGE', SLURM='SLURM', __name__='~mavis.submit.SCHEDULER', _defns={}, _types={'SGE': <class 'str'>, 'SLURM': <class 'str'>})}, annotation_memory=12000, import_env=True, memory_limit=16000, queue='', scheduler='SLURM', time_limit=36000, trans_validation_memory=18000, validation_memory=16000)

MavisNamespace – submission options

mavis.submit.SCHEDULER = MavisNamespace(SGE='SGE', SLURM='SLURM', __name__='~mavis.submit.SCHEDULER', _defns={}, _types={'SGE': <class 'str'>, 'SLURM': <class 'str'>})

MavisNamespace – scheduler types

class mavis.submit.SubmissionScript(content, scheduler, **kwargs)[source]

Bases: object

holds scheduler options and build submissions scripts

build_header()[source]

returns the header line detailing the scheduler-specific submission options

write(filepath)[source]

write a submission script to the input path

mavis.submit.build_dependency_string(command, delim, jobs)[source]