dieterich-lab / rp-bp

Rp-Bp is a Bayesian approach to predict, at base-pair resolution, ribosome occupancy and translation.
MIT License
7 stars 5 forks source link

subprocess.CalledProcessError: Command 'STAR --runMode genomeGenerate --genomeDir 。。。。 #109

Closed z626093820 closed 2 years ago

z626093820 commented 2 years ago

Prerequisites Please answer the following questions for yourself before submitting an issue.

Description A clear and concise description of what the issue is. when i use the command 'prepare-rpbp-genome c-elegans-test.yaml' there are some questions Expected behavior A clear and concise description of what the expected behavior is. solve the problems To Reproduce Describe detailed steps to reproduce the issue:

  1. step 1
  2. step 2
  3. you get it...

Output If relevant, paste the output of the steps above, including the commands themselves and traceback, etc.

Environment

Additional context Add any other context about the problem here. when i use the command 'prepare-rpbp-genome c-elegans-test.yaml' there are some questions,such as:

/ribosomal-index/X03680_1.rev.2.bt2'] already exist. Skipping call: bowtie2-build-s /path/to/your/c-elegans-example/X03680_1.fasta /path/to/your/c-elegans-example/WBcel235.79.chrI/ribosomal-index/X03680_1 Segmentation fault Traceback (most recent call last): File "/home/user/soft/python36env/bin/prepare-rpbp-genome", line 33, in sys.exit(load_entry_point('rpbp==2.0.0', 'console_scripts', 'prepare-rpbp-genome')()) File "/home/user/soft/python36env/lib/python3.6/site-packages/rpbp/reference_preprocessing/prepare_rpbp_genome.py", line 224, in main overwrite=args.overwrite, call=call) File "/home/user/soft/python36env/lib/python3.6/site-packages/pbio/misc/shell_utils.py", line 346, in call_if_not_exists ret_code = check_call(cmd, call=call, raise_on_error=raise_on_error) File "/home/user/soft/python36env/lib/python3.6/site-packages/pbio/misc/shell_utils.py", line 194, in check_call return check_call_step(cmd, call=call, raise_on_error=raise_on_error) File "/home/user/soft/python36env/lib/python3.6/site-packages/pbio/misc/shell_utils.py", line 177, in check_call_step raise subprocess.CalledProcessError(ret_code, cmd) subprocess.CalledProcessError: Command 'STAR --runMode genomeGenerate --genomeDir /path/to/your/c-elegans-example/WBcel235.79.chrI/star-index --genomeFastaFiles /path/to/your/c-elegans-example/WBcel235.chrI.fa --runThreadN 1 --limitGenomeGenerateRAM 2147483648' returned non-zero exit status 139.

how can i solve it? Thank you

z626093820 commented 2 years ago

i fix the problem by update the STAR to 2.7.9a