tomazc / iCount

iCount, protein-RNA interaction analytics
http://icount.biolab.si
Other
23 stars 26 forks source link

Suggest: '--genomeLoad', 'LoadAndRemove' for STAR #169

Closed bakerwm closed 4 years ago

bakerwm commented 6 years ago

If I have multiple samples to run mapping in parallel, I could use --genomeLoad LoadAndKeep to save memory by sharing the index in memory.

How about changing the following parameter in star.py?

The default:

--genomeLoad NoSharedMemory
do not use shared memory, each job will have its own private copy of the genome

Adjust:

--genomeLoad LoadAndRemove
load genome into shared but remove it after run
JureZmrzlikar commented 6 years ago

Good point. Would you be able to make a PR with suggested change?

bakerwm commented 6 years ago

ok, I will try to make a PR. @JureZmrzlikar

bakerwm commented 6 years ago

Please check the PR #170 . I added two lines in star.py @JureZmrzlikar