Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

This dataset is human and 10xv2 chemistry. So we need to download (or build) the human index, dowload (or build) the human transcripts to genes map, and download the 10xv2 whitelist.

The species index and transcripts to genes for common species is available for download here. We can also download it and the whitelist straight in the command line.

Note: command line arguments are preceeded by $. For example, if you see $ cd my_folder then type cd my_folder.

$ curl -L -o homo_sapiens.tar.gz
$ curl -L -o 10xv2_whitelist.txt
$ gunzip homo_sapiens.tar.gz
$ tar -xvf homo_sapiens.tar

The we can copy and paste this one-liner

$ mkfifo R1.gz R2.gz; curl -Ls > R1.gz & curl -Ls  > R2.gz & kallisto bus -i homo_sapiens/transcriptome.idx -x 10xv2 -t 4 -o bus_out/ R1.gz R2.gz; cd bus_out/; mkdir tmp/; bustools correct -w ../10xv2_whitelist.txt -p output.bus | bustools sort -t 4 -T tmp/ -p - | bustools count -o genes -g ../homo_sapiens/transcripts_to_genes.txt -e -t transcripts.txt --genecounts -

and we have our gene count matrices.