convert/from_bdrhap_to_h5mu
Description
Convert the output of the BD Rhapsody Sequence Analysis pipeline to a MuData h5 file.
The gene ids (e.g. Ensembl ids) are used as .var index, the gene symbols are stored in .var['gene_symbol']
and the feature types in .var['feature_types']. For targeted assays and AbSeq, the gene id is equal to the
feature name. Only the putative cells are included in the 'rna' and 'prot' modalities.
The sample tag and sample name of each cell (when using sample multiplexing) are stored in .obs['sample_tag']
and .obs['sample_name']. The t-SNE and UMAP coordinates calculated by the BD Rhapsody pipeline are
stored in .obsm['X_tsne_bd_rhapsody'] and .obsm['X_umap_bd_rhapsody'].
The TCR/BCR contigs are stored in the 'vdj_t', 'vdj_t_gd' and 'vdj_b' modalities, using the
scirpy data structure. These modalities contain all contigs for all cell labels, not only for
the putative cells. Whether a cell label is a putative cell is stored in the 'putative_cell'
column of '.obs'.
Arguments
Name | Type & Properties | Description |
|---|---|---|
--output_compression | string | Compression format to use for the output AnnData and/or Mudata H5 files. By default no compression is applied. |
Inputs
Name | Type & Properties | Description |
|---|---|---|
--id | string required | A sample ID. |
--input -i | file required | The Cellismo (.cellismo) or MuData (.h5mu) file generated by the BD Rhapsody Sequence Analysis pipeline. |
--input_vdj_contigs | file | The unfiltered VDJ contigs in AIRR format ('*_VDJ_Unfiltered_Contigs_AIRR.tsv.gz') generated by the BD Rhapsody Sequence Analysis pipeline. Required when the input contains VDJ data. |
Outputs
Name | Type & Properties | Description |
|---|---|---|
--output -o | file required output | Output h5mu file. |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
id: "run"
output: "$id.$key.output.h5mu"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v5.0.0 \
-main-script target/nextflow/convert/from_bdrhap_to_h5mu/main.nf \
-params-file params.yaml Relationships
Used by
Current component
Uses
No component dependencies found.