Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StarSolo 2.7.10b_alpha_220111, --soloCellReadStats Standard halts Solo running prematurely #1871

Closed
akhst7 opened this issue Jun 1, 2023 · 4 comments
Labels

Comments

@akhst7
Copy link

akhst7 commented Jun 1, 2023

Hi,

I am using a following Solo script;

#!/opt/homebrew/bin/zsh

index=/Volumes/MySlateDrive/star_genome_index/index_human_10x
whitelist=/Volumes/MySlateDrive/10X_Whitelist/737K-arc-v1.txt
r1=/Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L003_R1_001.fastq.gz
r2=/Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L003_R2_001.fastq.gz
r3=/Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L004_R1_001.fastq.gz
r4=/Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L004_R2_001.fastq.gz

STAR --genomeDir $index \
--runThreadN 40 \
--readFilesCommand 'gzip -c -d' \
--readFilesIn $r2,$r4 $r1,$r3 \
--soloCBwhitelist $whitelist \
--soloType CB_UMI_Simple \
--soloCBstart 1 \
--soloCBlen 16 \
--soloUMIstart 17 \
--soloUMIlen 12 \
--soloStrand Forward \
--soloBarcodeReadLength 0 \
--soloBarcodeMate 0 \
--clipAdapterType CellRanger4 \
--twopassMode Basic \
--soloMultiMappers EM \
--soloFeatures Gene GeneFull Velocyto \
--outFilterMultimapNmax 10 \
--outFilterScoreMin 30 \
--soloCBmatchWLtype 1MM_multi_Nbase_pseudocounts \
--soloUMIfiltering MultiGeneUMI_CR \
--soloUMIdedup 1MM_CR \
--soloCellFilter  EmptyDrops_CR 5000 0.99 10 45000 90000  500  0.01  20000  0.01  10000 \
--outReadsUnmapped Fastx \
--outFileNamePrefix /Volumes/MySlateDrive/pbmc3Ksorted.GEX2 \
--outSAMtype None \
--soloCellReadStats Standard 

The presence of --soloCellReadStats Standard parameter stops Solo at 1st pass mapping with no clear error message as in a following output;

STAR --genomeDir /Volumes/MySlateDrive/star_genome_index/index_human_10x --runThreadN 40 --readFilesCommand "gzip -c -d" --readFilesIn /Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L003_R2_001.fastq.gz,/Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L004_R2_001.fastq.gz /Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L003_R1_001.fastq.gz,/Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L004_R1_001.fastq.gz --soloCBwhitelist /Volumes/MySlateDrive/10X_Whitelist/737K-arc-v1.txt --soloType CB_UMI_Simple --soloCBstart 1 --soloCBlen 16 --soloUMIstart 17 --soloUMIlen 12 --soloStrand Forward --soloBarcodeReadLength 0 --soloBarcodeMate 0 --clipAdapterType CellRanger4 --twopassMode Basic --soloMultiMappers EM --soloFeatures Gene GeneFull Velocyto --outFilterMultimapNmax 10 --outFilterScoreMin 30 --soloCBmatchWLtype 1MM_multi_Nbase_pseudocounts --soloUMIfiltering MultiGeneUMI_CR --soloUMIdedup 1MM_CR --soloCellFilter EmptyDrops_CR 5000 0.99 10 45000 90000 500 0.01 20000 0.01 10000 --outReadsUnmapped Fastx --outFileNamePrefix /Volumes/MySlateDrive/pbmc3Ksorted.GEX2 --outSAMtype None --soloCellReadStats Standard
	STAR version: 2.7.10b_alpha_220111   compiled:  :/Users/akihikohoji/Downloads/Downloads/source
Jun 01 11:34:50 ..... started STAR run
Jun 01 11:34:50 ..... loading genome
Jun 01 11:35:28 ..... started 1st pass mapping

And a last part of log.out;

Sum of all Genome bytes: 5343458640
Sum of all SA bytes: 3109436257379
Sum of all SAi bytes: 185267190512
Processing splice junctions database sjdbN=362117,   pGe.sjdbOverhang=100
alignIntronMax=alignMatesGapMax=0, the max intron size will be approximately determined by (2^winBinNbits)*winAnchorDistNbins=589824
Created thread # 1
Starting to map file # 0
mate 1:   /Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L003_R2_001.fastq.gz
mate 2:   /Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L003_R1_001.fastq.gz
Starting to map file # 0
mate 1:   /Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L003_R2_001.fastq.gz
mate 2:   /Volumes/MySlateDrive/pbmc_granulocyte_sorted_3k/gex/pbmc_granulocyte_sorted_3k_S1_L003_R1_001.fastq.gz
Created thread # 2
Created thread # 3
Created thread # 4
Created thread # 5
Created thread # 6
Created thread # 7
Created thread # 8
Created thread # 9
Created thread # 10
Created thread # 11
Created thread # 12
Created thread # 13
Created thread # 14
Created thread # 15
Created thread # 16
Created thread # 17
Created thread # 18
Created thread # 19
Created thread # 20
Created thread # 21
Created thread # 22
Created thread # 23
Created thread # 24
Created thread # 25
Created thread # 26
Created thread # 27
Created thread # 28
Created thread # 29
Created thread # 30
Created thread # 31
Created thread # 32
Created thread # 33
Created thread # 34
Created thread # 35
Created thread # 36
Created thread # 37
Created thread # 38
Created thread # 39

My system is as follows;

       
                 ,xNMM.          -----------------------------
               .OMMMMo           OS: macOS 13.4 22F66 arm64
               OMMM0,            Host: Mac13,2
     .;loddo:' loolloddol;.      Kernel: 22.5.0
   cKMMMMMMMMMMNWMMMMMMMMMM0:    Uptime: 3 hours, 28 mins
 .KMMMMMMMMMMMMMMMMMMMMMMMWd.    Packages: 208 (brew)
 XMMMMMMMMMMMMMMMMMMMMMMMX.      Shell: zsh 5.9
;MMMMMMMMMMMMMMMMMMMMMMMM:       Resolution: 3440x1440
:MMMMMMMMMMMMMMMMMMMMMMMM:       DE: Aqua
.MMMMMMMMMMMMMMMMMMMMMMMMX.      WM: Quartz Compositor
 kMMMMMMMMMMMMMMMMMMMMMMMMWd.    WM Theme: Blue (Dark)
 .XMMMMMMMMMMMMMMMMMMMMMMMMMMk   Terminal: iTerm2
  .XMMMMMMMMMMMMMMMMMMMMMMMMK.   Terminal Font: Monaco 10
    kMMMMMMMMMMMMMMMMMMMMMMd     CPU: Apple M1 Ultra
     ;KMMMMMMMWXXWMMMMMMMk.      GPU: Apple M1 Ultra
       .cooc,.    .,coo:.        Memory: 3467MiB / 131072MiB


@alexdobin alexdobin added the bug label Jun 6, 2023
@alexdobin
Copy link
Owner

Hi @akhst7

This is a bug, thanks for reporting it.
It only happens if --soloCellReadStats Standard --soloCellReadStats Standard are used together.
I will fix it soon.

@akhst7
Copy link
Author

akhst7 commented Jun 6, 2023

@alexdobin, Ok. Thanks.

@akhst7 akhst7 closed this as completed Jun 6, 2023
alexdobin added a commit that referenced this issue Jun 9, 2023
…soloCellReadStats Standard --twopassMode Basic are used together.
@alexdobin
Copy link
Owner

Hi @akhst7

I have fixed the issue, please test it out:
https://github.com/alexdobin/STAR/releases/tag/STAR_2.7.10b_alpha_23-06-09
Thanks!

@akhst7
Copy link
Author

akhst7 commented Jun 10, 2023

@alexdobin, It works without any issues.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants