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

memory error #11

Open
xfliu1995 opened this issue Oct 26, 2019 · 4 comments
Open

memory error #11

xfliu1995 opened this issue Oct 26, 2019 · 4 comments

Comments

@xfliu1995
Copy link

Too much memory is occupied by software operation, when mapping by STAR. This often causes software to fail.How do you limit the maximum amount of memory that your software can use while it is running?

@shapemapper
Copy link

What are your alignment target sequences?

If you're attempting to align against a large number of transcripts, see FAQ. On the other hand, if you're trying to align against a small number of large sequences (for example the human genome), the aligner index will just require a lot of memory (~30Gb in the case of the human genome), and that's not easily worked around without changing the aligner.

@shapemapper
Copy link

I should also add that you can adjust the speed/memory tradeoff with the --genomeSAindexNbase parameter, which is passed through to STAR during the genome index building phase.

@xfliu1995
Copy link
Author

When I add --genomeSAindexNbase parameter for shapemapper2,shapemapper2 running error.
Traceback (most recent call last):
File "/BioII/lulab_b/shibinbin/projects/shapemap/python/cli.py", line 108, in
run(sys.argv)
File "/BioII/lulab_b/shibinbin/projects/shapemap/python/cli.py", line 46, in run
pipeline = ap.construct(rest_args)
File "/BioII/lulab_b/shibinbin/projects/shapemap/python/pyshapemap/pipeline_arg_parser.py", line 595, in construct
params, fastqs = parse_args(args)
File "/BioII/lulab_b/shibinbin/projects/shapemap/python/pyshapemap/pipeline_arg_parser.py", line 440, in parse_args
raise RuntimeError("Error: unrecognized argument(s): {}".format(rest))
RuntimeError: Error: unrecognized argument(s): ['--genomeSAindexNbases']

@shapemapper
Copy link

Are you running the most recent version of shapemapper?

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

No branches or pull requests

2 participants