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

STAR --genomeSAindexNbases setting #18

Closed
zhangzlab opened this issue Sep 11, 2020 · 3 comments
Closed

STAR --genomeSAindexNbases setting #18

zhangzlab opened this issue Sep 11, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@zhangzlab
Copy link

Dear,

I encountered the Segmentation fault (core dumped) at the STAR alignReads to the virus genome step. Then I checked the genomeSAindexNbases parameter in the virus index creation step and found the following warning.

'WARNING: --genomeSAindexNbases 14 is too large for the genome size=199753728, which may cause seg-fault at the mapping step. Re-run genome generation with recommended --genomeSAindexNbases 12'

Two questions:

  1. The recommended genomeSAindexNbases of STAR is min(14, log2(GenomeLength)/2 - 1). I noticed the GenomeLength of all virus genomes is just 198153, why 199753728 here.
  2. Should I change the genomeSAindexNbases in the virus index creation step?
@zhangzlab
Copy link
Author

I recreated the index with genomeSAindexNbases = 12, and now it's ok.

@yyoshiaki yyoshiaki self-assigned this Sep 13, 2020
@yyoshiaki
Copy link
Owner

Thank you for pointing it out, and sorry for my late reply. Actually, in createindex.cwl, we used the default --genomeSAindexNbases. In the next release, we consider specifying smaller --genomeSAindexNbases.

@yyoshiaki yyoshiaki added the enhancement New feature or request label Sep 13, 2020
@yyoshiaki
Copy link
Owner

Fixed in #22 . Thank you!

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

No branches or pull requests

2 participants