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

Failed to Resize Memory #27

Open
NicMAlexandre opened this issue Dec 8, 2022 · 2 comments
Open

Failed to Resize Memory #27

NicMAlexandre opened this issue Dec 8, 2022 · 2 comments

Comments

@NicMAlexandre
Copy link

Hello,

I I am running the pre-ma.bf script like so:
hyphy hyphy-analyses/codon-msa/pre-msa.bf --input combined_seq.fasta

I am running on a large memory node (1.5 Tb Memory) and get the following error:

**Analysis Description

Load nucleotide sequences (SOME of which must be in frame), perform
frameshift correction as needed, and translate to amino-acids for
subsequent alignment.

  • Requirements: Sequences

  • Citation: TBD

  • Written by: Sergei L Kosakovsky Pond

  • Contact Information: spond@temple.edu

  • Analysis Version: 0.02

code: Universal
Error:
Failed to resize memory to '964000' bytes'

Function call stack
1 : [namespace = wVSxEEcW] DataSet ^dataset_name = ReadDataFile(PROMPT_FOR_FILE);

2 : filter.nuc_data=alignments.ReadNucleotideDataSet("filter.raw_data",None);
-------**

Should I use fewer sequences? These are the entire genome CDS (all annotated gene CDS) for 10 species.

@spond
Copy link
Member

spond commented Dec 8, 2022

Dear @nicolasalexandre21,

pre-msa.bf (and codon-msa in general) is designed to deal with gene-sized alignments. Specifically, it will break for long sequences, because one stage of the algorithm (error-correcting alignment) is memory hungry. These scripts are not meant to segment CDS into individual genes. For that you may try something like https://academic.oup.com/bioinformatics/article/35/5/871/5075035

Best,
Sergei

@NicMAlexandre
Copy link
Author

Oh I see thank you!

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