Handle sequences with different length in logoplots
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 265
- Forks
- 50
- Avg merge
- 9d 9h
- Merged PRs (30d)
- 4
Description
However, when there are two different lengths of junctions of each cell, it will return an error when I plot the CDR3-motif with following code.
There's an example here how you can filter by length:
https://scirpy.scverse.org/en/latest/tutorials/tutorial_5k_bcr.html#logoplotsBut this is good feedback, I think we should make it easier to make logoplots of sequences with different lengths, e.g. by automatically generating separate plots for all lengths in the input dataset.
Originally posted by @grst in #644
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the logoplots example in the linked 5k BCR tutorial and trace the logoplot entry point used there. Check how inputs with different junction lengths are currently handled, then verify that mixed-length input produces separate plots for each length without the existing error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100