Skip to content

Transcriptome aligned BAM is empty when using setting for 10X 5prime #2024

@edg1983

Description

@edg1983

Hi,

I'm using STARsolo v2.7.10b to align reads generated by 3prime or 5prime 10X libraries, and I want to output the BAM file aligned to transcriptome, so I'm using the --quantMode TranscriptomeSAM option.

For 3prime libraries, all worked perfectly with the following command line.

STAR --runThreadN 12 \
	--soloType CB_UMI_Simple \
	--soloUMIlen 12 \
	--soloCellFilter EmptyDrops_CR \
	--soloFeatures GeneFull SJ \
	--genomeDir ${genome_ref} \
	--soloCBwhitelist ${white_list} \
	--outFileNamePrefix ${out_prefix}. \
	--readFilesCommand zcat \
	--outSAMtype BAM SortedByCoordinate \
	--quantMode TranscriptomeSAM \
    --clipAdapterType CellRanger4 \
	--outSAMattributes NH HI AS GX GN CB UB \
    --soloMultiMappers EM \
	--readFilesIn ${R2_fastqs} ${R1_fastqs}

However, when processing 5prime libraries, the .toTranscriptome.out.bam generated only contains a header with SQ definitions but nothing else (and no reads).

I'm using the following command to process 5prime data, following the suggestions in the documentation.

STAR --runThreadN 12 \
	--soloType CB_UMI_Simple \
	--soloCellFilter EmptyDrops_CR \
	--soloFeatures GeneFull SJ \
	--genomeDir ${genome_ref} \
	--soloCBwhitelist ${white_list} \
	--outFileNamePrefix ${out_prefix}. \
	--readFilesCommand zcat \
	--outSAMtype BAM SortedByCoordinate \
	--quantMode TranscriptomeSAM \
	--outSAMattributes NH HI AS GX GN CB UB \
   	--soloMultiMappers EM \
	--readFilesIn ${R1_fastqs} ${R2_fastqs} \
	--soloBarcodeMate 1 \
	--soloStrand Forward \
	--clip5pNbases 39 0 \
	--soloCBstart 1   --soloCBlen 16   --soloUMIstart 17   --soloUMIlen 10

Is there something missing in my command to be able to generate the transcriptome-aligned BAM correctly?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions