Skip to content

Handle pre-calculated structures#1

Open
dgruano wants to merge 2 commits intomasterfrom
read-sec-structure
Open

Handle pre-calculated structures#1
dgruano wants to merge 2 commits intomasterfrom
read-sec-structure

Conversation

@dgruano
Copy link
Copy Markdown
Collaborator

@dgruano dgruano commented Jan 29, 2026

This PR implements key changes to externalize calculation of secondary structures by RNAfold. More specifically:

  • Add secondary_structure argument indicating that the input sequences contain secondary structures.
  • Add utility function to parse secondary structure files. These must be FASTA files where the sequence is a concatenation of the nucleotide sequence, the SS in dot bracket notation and optionally the minimum free energy (MFE).
  • Add logic to handle SS data and skip RNAfold execution.
  • Filter out SS data that corresponds to otherwise filtered sequences (i.e., sequences with unsupported characters or sequences outside the 200 to 20000 nt range.

dgruano and others added 2 commits January 28, 2026 18:25
- Add optional parameter to extract secondary structure from input
  files.
- Add optional parameter to ssf_extract functions.
- Avoid running RNAfold if secondary structures are read
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

Successfully merging this pull request may close these issues.

1 participant