Conversion
A pipeline to convert different file formats to .h5mu.
Info
ID: conversion
Namespace: ingestion
Links
Example commands
You can run the pipeline using nextflow run.
View help
You can use --help as a parameter to get an overview of the possible parameters.
nextflow run openpipelines-bio/openpipeline \
-r 0.10.0 -latest \
-main-script ./workflows/ingestion/conversion/main.nf \
--helpRun command
Example of params.yaml
# Inputs
id: # please fill in - example: "foo"
input: # please fill in - example: ["input.h5mu"]
input_type: # please fill in - example: "foo"
# Outputs
# output: "$id.$key.output.h5mu"
# Conversion from h5ad
# modality: ["foo"]
# Nextflow input-output arguments
publish_dir: # please fill in - example: "output/"
# param_list: "my_params.yaml"nextflow run openpipelines-bio/openpipeline \
-r 0.10.0 -latest \
-profile docker \
-main-script ./workflows/ingestion/conversion/main.nf \
-params-file params.yaml
Note
Replace -profile docker with -profile podman or -profile singularity depending on the desired backend.
Argument groups
Inputs
| Name | Description | Attributes |
|---|---|---|
--id |
ID of the sample. | string, required, example: "foo" |
--input |
Path to the sample. | List of file, required, example: "input.h5mu", multiple_sep: ";" |
--input_type |
Type of the input file | string, required |
Outputs
| Name | Description | Attributes |
|---|---|---|
--output |
Name or template for the output files. | file, example: "output.h5mu" |
Conversion from h5ad
| Name | Description | Attributes |
|---|---|---|
--modality |
Name of the modality where the h5ad is stored in the h5mu object. | List of string, multiple_sep: ":" |
Visualisation
flowchart LR
p0(Input)
p2(toSortedList)
p4(flatMap)
p5(filter)
p10(from_10xh5_to_h5mu)
p12(join)
p35(mix)
p15(filter)
p20(from_10xmtx_to_h5mu)
p22(join)
p25(filter)
p30(from_h5ad_to_h5mu)
p32(join)
p37(toSortedList)
p39(Output)
p4-->p5
p4-->p15
p4-->p25
p0-->p2
p2-->p4
p5-->p12
p5-->p10
p10-->p12
p12-->p35
p15-->p22
p15-->p20
p20-->p22
p22-->p35
p25-->p32
p25-->p30
p30-->p32
p32-->p35
p35-->p37
p37-->p39