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

Problem in mkref command #272

Open
AndreaGhiroldi opened this issue Feb 16, 2024 · 2 comments
Open

Problem in mkref command #272

AndreaGhiroldi opened this issue Feb 16, 2024 · 2 comments

Comments

@AndreaGhiroldi
Copy link

AndreaGhiroldi commented Feb 16, 2024

Hi,

I was following the tutorial to install Celescope, but I had an issue with the mkref command:

(celescope) root@PT-DR-GHIROLDI:/home/aghiroldi/hs_ensemble_99# celescope rna mkref \

--genome_name Homo_sapiens_ensembl_99_filtered
--fasta Homo_sapiens.GRCh38.dna.primary_assembly.fa
--gtf Homo_sapiens.GRCh38.99.filtered.gtf
--mt_gene_list mt_gene_list.txt
2024-02-16 09:55:30,298 - celescope.rna.mkref.run - INFO - start...
2024-02-16 09:55:30,298 - celescope.rna.mkref.build_rna_star_index - INFO - start...
STAR
--runMode genomeGenerate
--runThreadN 6
--genomeDir ./
--genomeFastaFiles Homo_sapiens.GRCh38.dna.primary_assembly.fa
--sjdbGTFfile Homo_sapiens.GRCh38.99.filtered.gtf
--sjdbOverhang 100
--genomeSAindexNbases 14 \

/root/miniconda3/envs/celescope/bin/STAR-avx2 --runMode genomeGenerate --runThreadN 6 --genomeDir ./ --genomeFastaFiles Homo_sapiens.GRCh38.dna.primary_assembly.fa --sjdbGTFfile Homo_sapiens.GRCh38.99.filtered.gtf --sjdbOverhang 100 --genomeSAindexNbases 14
STAR version: 2.7.11a compiled: 2023-09-15T02:58:53+0000 :/opt/conda/conda-bld/star_1694746407721/work/source
Feb 16 09:55:30 ..... started STAR run
Feb 16 09:55:30 ... starting to generate Genome files
Feb 16 09:56:14 ..... processing annotations GTF
Feb 16 09:56:40 ... starting to sort Suffix Array. This may take a long time...
Feb 16 09:56:48 ... sorting Suffix Array chunks and saving them to disk...
/root/miniconda3/envs/celescope/bin/STAR: line 8: 1222609 Killed "${cmd}" "$@"
Traceback (most recent call last):
File "/root/miniconda3/envs/celescope/bin/celescope", line 8, in
sys.exit(main())
File "/root/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/celescope.py", line 54, in main
args.func(args)
File "/root/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/rna/mkref.py", line 50, in mkref
runner.run()
File "/root/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/tools/utils.py", line 45, in wrapper
result = func(*args, **kwargs)
File "/root/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/rna/mkref.py", line 44, in run
self.build_rna_star_index()
File "/root/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/tools/utils.py", line 45, in wrapper
result = func(*args, **kwargs)
File "/root/miniconda3/envs/celescope/lib/python3.9/site-packages/celescope/rna/mkref.py", line 40, in build_rna_star_index
subprocess.check_call(cmd, shell=True)
File "/root/miniconda3/envs/celescope/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'STAR
--runMode genomeGenerate
--runThreadN 6
--genomeDir ./
--genomeFastaFiles Homo_sapiens.GRCh38.dna.primary_assembly.fa
--sjdbGTFfile Homo_sapiens.GRCh38.99.filtered.gtf
--sjdbOverhang 100
--genomeSAindexNbases 14
' returned non-zero exit status 137.

@zhouyiqi91
Copy link
Collaborator

zhouyiqi91 commented Feb 17, 2024

An exit code of 137 usually means that the job was killed because it was using too much memory. It needs 32GB RAM to build the human genome index.

https://www.biostars.org/p/325468/

@AndreaGhiroldi
Copy link
Author

Thank you. Solved with a VM

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