split
Split fragment files by cell type.
Usage and options
Required Arguments
-f, –sample_fragments
Path to a text file mapping sample names to fragment files.
-b, –cell_type_barcodes
Path to a text file mapping samples to cell types and cell types to cell barcodes.
-c, –chrom
Filename with chromosome sizes (*.chrom.sizes, *.fa.fai).
-o, –output
Path to output folder.
Optional arguments
-t, –temp
Path to temporary folder. Default: /tmp
-n, –n_cpu
Number of cores to use. Default: 1
-v, –verbose
Whether to print progress. Default: False
–clear_temp
Whether to clear the temporary folder. Default: False
-s, –sep
Separator for text files. Default: ‘\t’
–sample_column
Column name for the sample name Default: sample
–fragment_column
Column name for the path to the fragment file Default: path_to_fragment_file
–cell_type_column
Column name for the cell type Default: cell_type
–cell_barcode_column
Column name for the cell barcode Default: cell_barcode
Examples of input files
sample_to_fragment.tsv
cell_type_to_cell_barcode.tsv