biopipen.ns.cellranger_pipeline
The cellranger pipelines
Primarily cellranger process plus summary for summarizing the metrics for multiple samples.
CellRangerCountPipeline
— The cellranger count pipeline</>CellRangerVdjPipeline
— The cellranger vdj pipeline</>
biopipen.ns.cellranger_pipeline.
CellRangerCountPipeline
(
*args
, **kwds
)
The cellranger count pipeline
Run cellranger count for multiple samples and summarize the metrics.
parser
— Pass arguments to initialize the parser
The parser is a singleton and by default initalized atplugin.on_init()
hook, which happens usually after the initialization of a process group. </>
ProcGropuMeta
— Meta class for ProcGroup</>
__init_subclass__
(
)
— This method is called when a class is subclassed.</>add_proc
(
self_or_method
,proc
)
(Union) — Add a process to the proc group</>as_pipen
(
name
,desc
,outdir
,**kwargs
)
(Pipen) — Convert the pipeline to a Pipen instance</>post_init
(
)
— Check if the input is a list of fastq files</>
pipen.procgroup.
ProcGropuMeta
(
name
, bases
, namespace
, **kwargs
)
Meta class for ProcGroup
__call__
(
cls
,*args
,**kwds
)
— Make sure Proc subclasses are singletons</>__instancecheck__
(
cls
,instance
)
— Override for isinstance(instance, cls).</>__subclasscheck__
(
cls
,subclass
)
— Override for issubclass(subclass, cls).</>register
(
cls
,subclass
)
— Register a virtual subclass of an ABC.</>
register
(
cls
, subclass
)
Register a virtual subclass of an ABC.
Returns the subclass, to allow usage as a class decorator.
__instancecheck__
(
cls
, instance
)
Override for isinstance(instance, cls).
__subclasscheck__
(
cls
, subclass
)
Override for issubclass(subclass, cls).
__call__
(
cls
, *args
, **kwds
)
Make sure Proc subclasses are singletons
*args
— and**kwds
— Arguments for the constructor
The Proc instance
__init_subclass__
(
)
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
add_proc
(
self_or_method
, proc=None
)
Add a process to the proc group
It works either as a decorator to the process directly or as a decorator to a method that returns the process.
self_or_method
(Union) — The proc group instance or a method thatreturns the processproc
(Optional, optional) — The process class ifself_or_method
is the proc group
The process class if self_or_method
is the proc group, ora cached property that returns the process class
as_pipen
(
name=None
, desc=None
, outdir=None
, **kwargs
)
Convert the pipeline to a Pipen instance
name
(str | none, optional) — The name of the pipelinedesc
(str | none, optional) — The description of the pipelineoutdir
(str | os.pathlike | none, optional) — The output directory of the pipeline**kwargs
— The keyword arguments to pass to Pipen
The Pipen instance
post_init
(
)
Check if the input is a list of fastq files
biopipen.ns.cellranger_pipeline.
CellRangerVdjPipeline
(
*args
, **kwds
)
The cellranger vdj pipeline
Run cellranger vdj for multiple samples and summarize the metrics.
parser
— Pass arguments to initialize the parser
The parser is a singleton and by default initalized atplugin.on_init()
hook, which happens usually after the initialization of a process group. </>
ProcGropuMeta
— Meta class for ProcGroup</>
__init_subclass__
(
)
— This method is called when a class is subclassed.</>add_proc
(
self_or_method
,proc
)
(Union) — Add a process to the proc group</>as_pipen
(
name
,desc
,outdir
,**kwargs
)
(Pipen) — Convert the pipeline to a Pipen instance</>post_init
(
)
— Check if the input is a list of fastq files</>
pipen.procgroup.
ProcGropuMeta
(
name
, bases
, namespace
, **kwargs
)
Meta class for ProcGroup
__call__
(
cls
,*args
,**kwds
)
— Make sure Proc subclasses are singletons</>__instancecheck__
(
cls
,instance
)
— Override for isinstance(instance, cls).</>__subclasscheck__
(
cls
,subclass
)
— Override for issubclass(subclass, cls).</>register
(
cls
,subclass
)
— Register a virtual subclass of an ABC.</>
register
(
cls
, subclass
)
Register a virtual subclass of an ABC.
Returns the subclass, to allow usage as a class decorator.
__instancecheck__
(
cls
, instance
)
Override for isinstance(instance, cls).
__subclasscheck__
(
cls
, subclass
)
Override for issubclass(subclass, cls).
__call__
(
cls
, *args
, **kwds
)
Make sure Proc subclasses are singletons
*args
— and**kwds
— Arguments for the constructor
The Proc instance
__init_subclass__
(
)
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
add_proc
(
self_or_method
, proc=None
)
Add a process to the proc group
It works either as a decorator to the process directly or as a decorator to a method that returns the process.
self_or_method
(Union) — The proc group instance or a method thatreturns the processproc
(Optional, optional) — The process class ifself_or_method
is the proc group
The process class if self_or_method
is the proc group, ora cached property that returns the process class
as_pipen
(
name=None
, desc=None
, outdir=None
, **kwargs
)
Convert the pipeline to a Pipen instance
name
(str | none, optional) — The name of the pipelinedesc
(str | none, optional) — The description of the pipelineoutdir
(str | os.pathlike | none, optional) — The output directory of the pipeline**kwargs
— The keyword arguments to pass to Pipen
The Pipen instance
post_init
(
)
Check if the input is a list of fastq files