10X Genomics builds its own reference genome

10X Genomics builds its own reference genome

10X Genomics provides Cell Ranger with human and mouse genomes that can be used directly. In addition, researchers can create custom reference genomes for other species, or add custom marker genes of interest, such as GFP, to the reference. The following tutorial outlines the steps to construct a custom reference genome using cellranger mkref .

    1. Prepare the input file , take mouse as an example: The input file is gtf and fasta file: 1. Download mouse fasta file and gtf file
#fasta
wget ftp://ftp.ensembl.org/pub/release-93/fasta/mus_musculus/dna/Mus_musculus.GRCm38.dna.primary_assembly.fa.gz
gunzip Mus_musculus.GRCm38.dna.primary_assembly.fa.gz
#gtf
wget ftp://ftp.ensembl.org/pub/release-93/gtf/mus_musculus/Mus_musculus.GRCm38.93.gtf.gz
gunzip Mus_musculus.GRCm38.93.gtf.gz
cellranger mkgtf Mus_musculus.GRCm38.93.gtf Mus_musculus.GRCm38.93.filtered.gtf/
                 --attribute=gene_biotype:protein_coding/
                 --attribute=gene_biotype:lincRNA/
                 --attribute=gene_biotype:antisense/
                 --attribute=gene_biotype:miRNA/
                 --attribute=gene_biotype:IG_LV_gene/
                 --attribute=gene_biotype:IG_V_gene/
                 --attribute=gene_biotype:IG_V_pseudogene/
                 --attribute=gene_biotype:IG_D_gene/
                 --attribute=gene_biotype:IG_J_gene/
                 --attribute=gene_biotype:IG_J_pseudogene/
                 --attribute=gene_biotype:IG_C_gene/
                 --attribute=gene_biotype:IG_C_pseudogene/
                 --attribute=gene_biotype:TR_V_gene/
                 --attribute=gene_biotype:TR_V_pseudogene/
                 --attribute=gene_biotype:TR_D_gene/
                 --attribute=gene_biotype:TR_J_gene/
                 --attribute=gene_biotype:TR_J_pseudogene/
                 --attribute=gene_biotype:TR_C_gene
cellranger mkref --genome=mm10/
                 --fasta=Mus_musculus.GRCm38.dna.primary_assembly.fa/
                 --genes=Mus_musculus.GRCm38.93.filtered.gtf/
                 --ref-version=3.0.0

In addition, you can also add your marker genes to the GTF and FASTA

Reference: Build a Custom Reference With cellranger mkref

Reference: https://cloud.tencent.com/developer/article/1650180 10X Genomics Build your own reference genome-Cloud + Community-Tencent Cloud