make_input_csv

Creates a configuration file for a library, listing the sample names, assay types and paths to FastQ files (etc).

module

Inputs

Channel nameDescriptionType
optA map of task-specific variables.map
typeA hyphen-separated collection of assays, for example ‘10x-hto-vdj’, to determine the type of configuration file to produce.string
library idsAn array of library identifiers. These will be used to find the library type from the _project/library types map.strings
sample idsA list of sample names that are expected in the library(s).strings
descriptionsA list of descriptions of the samples, added to the configuration file.strings
barcodesA list of lists of barcodes for each sample.strings
feature typesAn array of “Gene Expression” (etc) for each sample.strings
fastq pathAn array of paths that contain FastQ files that could be added to the sample sheet.paths
indexA Cell Ranger (gene expression) index. Can be created with mkref or downloaded.path
index_vdjA Cell Ranger (VDJ) index. Can be created with mkvdjref or downloaded. May be a non-existent path if not rewquired.path
probe_set.csvA CSV file to map probes to genes. Can be downloaded from 10x. May be set to a non-existent file if not required.file
adt_set.csvA CSV file that defines which sequenced tag is associated to which antibody. May be a non-existent file if not required.file
hto_set.csvA CSV file that defines the sequences that identify barcodes. The reference in assets may be used. The file is subset for barcodes of samples in the library.file

Outputs

Emission nameDescriptionTypeFilename pattern
optA map of task-specific variables.map
input csvCSV-formatted sample sheet for a Cell Ranger multi analysis.fileinput.csv
features csvA CSV file of features, referenced in the input.csvfile