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

Request for wrapper function #35

Open
scottallen877 opened this issue Aug 23, 2024 · 0 comments
Open

Request for wrapper function #35

scottallen877 opened this issue Aug 23, 2024 · 0 comments

Comments

@scottallen877
Copy link

Not an issue, but a request.

A wrapper that combines the following two functions to return the nucleotide sequence and DBN for a desired region of a secondary structure would be very nice. I think people would use this widely if it were included in the documentation section "Secondary Structure Drawings" since it greatly speeds up the process of creating these in StructureEditor, VARNA, and other programs requiring similar input types.

Sample.get_data("ss").get_dotbracket()[100:150] #returns nt sequence for region 100-150 of Sample
Sample.get_data("ss").sequence[100:150] #returns DBN for matching region 100-150 of Sample

I think the wrapper would just need two arguments: sample and region.

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

1 participant