Skip to content

module plugins.sample_processors.htsinfer

Infer missing sample metadata with HTSinfer.

Global Variables

  • map_model_to_zarp
  • map_zarp_to_model

class SampleProcessorHTSinfer

Infer metadata with HTSinfer.

Args:

  • records: Pandas DataFrame object.
  • config: Config object.

Attributes:

  • records: Pandas DataFrame object.
  • config: Config object.

method process

process(
    loc: Path = PosixPath('/home/runner/work/zarp-cli/zarp-cli'),
    workflow: Path = PosixPath('/home/runner/work/zarp-cli/zarp-cli/Snakefile')
)  DataFrame

Infer metadata with HTSinfer.

Args:

  • loc: Working directory. Data may be located within child directories. Defaults to current working directory.
  • workflow: Path to Snakemake workflow for running HTSinfer. Defaults to Snakefile in current working directory.

Returns: Dataframe with inferred sample metadata.