query/cellxgene_census

Description

Query cells from a CellxGene Census or custom TileDBSoma object.
Aside from fetching the cells' RNA counts (.X), cell metadata
(.obs) and gene metadata (.var), this component also fetches
the dataset metadata and joins it into the cell metadata.

Type

python_script

License

MIT

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
cell_filter_min_genes: [ 50 ]  
cell_filter_min_counts: [ 0 ]  
gene_filter_min_cells: [ 5 ]  
gene_filter_min_counts: [ 0 ]  
output: "$id.$key.output.h5mu"  
output_modality: [ "rna" ]  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \  
  -revision v3.0.1 \  
  -main-script target/nextflow/query/cellxgene_census/main.nf \  
  -params-file params.yaml  

Input database

Name
Type & Properties
--input_uri
string
--census_version
string
--add_dataset_metadata
boolean_true

Cell query

Name
Type & Properties
--species
string
required
--obs_value_filter
string
required

Filter cells by grouping

Name
Type & Properties
--cell_filter_grouping
string
multiple
--cell_filter_minimum_count
integer

Count filtering

Name
Type & Properties
--cell_filter_min_genes
integer
--cell_filter_min_counts
integer
--gene_filter_min_cells
integer
--gene_filter_min_counts
integer

Outputs

Name
Type & Properties
--output
file
required
output
--output_modality
string
--output_layer_counts
string
--output_compression
string

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.