Hello,
I’m mapping RNA-Seq reads to the human genome and getting the following error after the “inserting junctions into the genome indices” step:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
I’m on a desktop computer with 1 processor and 32 GB of RAM. I’m operating this computer from a bootable 16GB flash drive running ubuntu 18.04 (is this an issue?). I’m reading all the files for this analysis off a 1TB hard drive external HD and then writing any output to the 1TB external HD (>230GB free space on the external HD). I know my setup is a bit goofy, but I'm doing this on university computers that limit customized setups.
I’m not sure if there is something I am missing, if this is a bug, or if I need to go to a cloud service to get enough RAM to do this. I’m new to RNA-seq and apologize if I am missing something obvious. I googled around, but could not seem to find an answer to this problem.
Some details:
I’m not generating the genome index, rather I got all the pre-made files from:
http://labshare.cshl.edu/shares/gingeraslab/www-data/dobin/STAR/STARgenomes/ENSEMBL/homo_sapiens/ENSEMBL.homo_sapiens.release-83/ along with the primary assembly:
(
http://labshare.cshl.edu/shares/gingeraslab/www-data/dobin/STAR/STARgenomes/ENSEMBL/homo_sapiens/ENSEMBL.homo_sapiens.release-83/Homo_sapiens.GRCh38.dna.primary_assembly.fa)
and the annotation file:
I’m using the pre-compiled executable STAR-2.6.0a with the following settings:
--genomeDir (points to
folder with content from from first labshare link above minus the primary assembly fa file and gtf annotation file) \
--runThreadN 1 \
--outSAMstrandField intronMotif \
--outFilterIntronMotifs RemoveNoncanonical \
--outFileNamePrefix (just set to meaningful name) \
--readFilesIn (points to single end read zipped fastq file) \
--readFilesCommand zcat \
--outSAMtype BAM Unsorted \
--outReadsUnmapped Fastx \
--outSAMmode Full
I am getting a log out file for my zipped fastq input file (
http://textuploader.com/dp16x, also attached)
I also pasted the log out file that came with the genome index material I downloaded from the labshare link (
http://textuploader.com/dp16b, also attached)
If anyone has any ideas, please let me know. I’d really like to use STAR, the documentation for it seems excellent, but I am hitting a bit of a wall on this one.
Sincerely,
Brett Vanderwerff