Skip to content

Commit b5811e3

Browse files
authored
Merge pull request #557 from GoekeLab/devel_pre
add github issue and pull request template to the main repository
2 parents 9a15d51 + 554e2f4 commit b5811e3

3 files changed

Lines changed: 220 additions & 0 deletions

File tree

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
name: "Bug report"
2+
description: "Report a problem with bambu (include a minimal reproducible example and session info)."
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for reporting an issue! To help us fix it quickly, please provide as much detail as possible.
10+
**Do not include any sensitive/private data**.
11+
12+
- type: dropdown
13+
id: bug_area
14+
attributes:
15+
label: Affected Area
16+
description: Which part of bambu is having issues?
17+
options:
18+
- "Installation"
19+
- "Transcript Discovery"
20+
- "Transcript Quantification"
21+
- "Annotation"
22+
- "Bambu Output / Visualization"
23+
- "Performance (CPU, Memory, Storage)"
24+
- "Others"
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: description
30+
attributes:
31+
label: Issue Description
32+
description: |
33+
A clear description of what happened, what you expected to happen, and any troubleshooting you've already tried.
34+
placeholder: "I ran bambu with X parameters and got Y error, but I expected Z..."
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: repro_code
40+
attributes:
41+
label: Minimal Reproducible Example (R Code)
42+
description: |
43+
Provide the smallest possible R code snippet that reproduces the issue.
44+
render: r
45+
placeholder: |
46+
library(bambu)
47+
# Your code here...
48+
validations:
49+
required: true
50+
51+
- type: textarea
52+
id: input_data
53+
attributes:
54+
label: Input Data Details
55+
description: |
56+
Describe the inputs needed to reproduce (e.g., sequencing platform, reference used, approx. dataset size).
57+
placeholder: |
58+
- Sequencing Platform (e.g. ONT / PacBio):
59+
- Reference Genome (name & version):
60+
- Reference Annotation (name & version):
61+
- Approx. dataset size / number of reads:
62+
validations:
63+
required: true
64+
65+
- type: dropdown
66+
id: reproducibility
67+
attributes:
68+
label: Reproducibility
69+
description: How often does this bug occur?
70+
options:
71+
- "Always (every time I run this)"
72+
- "Intermittently (only sometimes)"
73+
- "Once (haven't been able to repeat it)"
74+
validations:
75+
required: true
76+
77+
- type: textarea
78+
id: environment
79+
attributes:
80+
label: Session Info
81+
description: |
82+
Paste the output of `sessionInfo()`.
83+
placeholder: |
84+
```r
85+
sessionInfo()
86+
```
87+
validations:
88+
required: true
89+
90+
- type: checkboxes
91+
id: pr_interest
92+
attributes:
93+
label: Contribution
94+
options:
95+
- label: "I can provide a small public dataset/toy example for reproduction."
96+
validations:
97+
required: false
98+
99+
- type: checkboxes
100+
id: checklist
101+
attributes:
102+
label: Checklist
103+
options:
104+
- label: "I searched existing issues to avoid duplicates."
105+
required: true
106+
- label: "I included a minimal reproducible code snippet."
107+
required: true
108+
- label: "I included session/environment information."
109+
required: true
110+
111+
- type: markdown
112+
attributes:
113+
value: |
114+
---
115+
*This form is for bug reports. For feature enhancements, please use the **Feature Request** template. For general questions or discussions, please visit the [**Discussions**](https://github.com/GoekeLab/bambu/discussions) tab.*
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: "Feature request"
2+
description: "Suggest an improvement or new feature for bambu."
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Have an idea for a new feature or improvement? We'd love to hear it!
10+
Please check if a similar request already exists before opening a new one.
11+
12+
- type: dropdown
13+
id: feature_area
14+
attributes:
15+
label: Feature Area
16+
description: Which part of bambu would this feature affect?
17+
options:
18+
- "Transcript Discovery"
19+
- "Transcript Quantification"
20+
- "Output / Visualization"
21+
- "Performance / Memory Optimization"
22+
- "New Functionality"
23+
- "Others"
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
id: goal
29+
attributes:
30+
label: The Goal or Problem
31+
description: |
32+
What is the goal you are trying to achieve, or what problem are you trying to solve?
33+
Why is this important for your workflow?
34+
placeholder: "I want to be able to X because currently I have to Y manually..."
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: proposal
40+
attributes:
41+
label: The Proposal & Example Usage (Optional)
42+
description: |
43+
Describe the feature you'd like to see.
44+
If possible, include a code example or pseudo-code showing how you imagine it working.
45+
render: r
46+
placeholder: |
47+
# Example of how I'd like to use it:
48+
bambu(reads, annotations, new_param = TRUE)
49+
validations:
50+
required: false
51+
52+
- type: textarea
53+
id: alternatives
54+
attributes:
55+
label: Alternatives Considered (Optional)
56+
description: Have you tried any other ways to achieve this? Any existing workarounds?
57+
placeholder: "I tried using package Z, but it doesn't handle X well..."
58+
validations:
59+
required: false
60+
61+
- type: checkboxes
62+
id: checklist
63+
attributes:
64+
label: Checklist
65+
options:
66+
- label: "I searched existing issues to avoid duplicates."
67+
required: true
68+
- label: "I described a concrete use case and success criteria."
69+
required: true
70+
71+
- type: markdown
72+
attributes:
73+
value: |
74+
---
75+
*This form is for feature enhancements. For bug reports, please use the **Bug Report** template. For general questions or discussions, please visit the [**Discussions**](https://github.com/GoekeLab/bambu/discussions) tab.*

.github/pull_request_template.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Related Issue
2+
Fixes # (issue number)
3+
4+
## Type of Change
5+
- [ ] **Bug fix** (non-breaking change which fixes an issue)
6+
- [ ] **New feature** (please specify if the change breaks existing functionality)
7+
- [ ] **Non breaking change** (the feature doesn't change existing functionality)
8+
- [ ] **Breaking change** (the feature that would cause existing functionality to not work as expected)
9+
- [ ] **Documentation update**
10+
- [ ] **Performance optimization**
11+
12+
## Description
13+
Please provide a summary and the motivation for the changes. Why is this change necessary? What problem does it solve?
14+
15+
## Implementation Details
16+
Briefly describe how the changes were implemented. Which specific code segments or logic paths within the primary functional arguments (e.g., `demultiplexed`, `discovery`, `quant`) are affected? Include relevant technical details for any algorithmic changes or data structure modifications specific to Bambu.
17+
18+
## Impact of Changes
19+
Briefly describe the impact of the implemented changes. For example:
20+
- Results are identical to the previous version.
21+
- Bug fix only (no changes to output).
22+
- Adds one column to the SE object.
23+
- Transcript quantification results show minimal differences.
24+
25+
## Checklist
26+
- [ ] My code follows the style guidelines of this project.
27+
- [ ] I have performed a self-review of my own code.
28+
- [ ] I have commented my code, particularly in hard-to-understand areas.
29+
- [ ] I have made corresponding changes to the documentation (vignettes, man pages).
30+
- [ ] I have tested the code on a full dataset, and any differences have been described in the Impact of Changes section.

0 commit comments

Comments
 (0)