Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 0 additions & 128 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

76 changes: 0 additions & 76 deletions .github/CONTRIBUTING.md

This file was deleted.

125 changes: 125 additions & 0 deletions .github/DISCUSSION_TEMPLATE/marker_proposal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
title: "[Lineage Markers] "
labels:
- marker-proposal
body:
- type: markdown
attributes:
value: |
## 🧬 MTBC Lineage Marker Proposal

Propose new **phylogenetic SNP markers** for MTBC lineage classification in pathotypr.
See [docs/marker_format.md](../docs/marker_format.md) for the expected TSV format.

> **Scope:** Lineage-defining SNPs for the *Mycobacterium tuberculosis* complex only.
> This includes *M. tuberculosis*, *M. bovis*, *M. caprae*, *M. africanum*, *M. microti*, *M. pinnipedii*, *M. orygis*, and related species.

- type: dropdown
id: organism
attributes:
label: MTBC species / subspecies
description: Which MTBC member(s) do these markers target?
options:
- M. tuberculosis (sensu stricto)
- M. bovis
- M. caprae
- M. africanum
- M. microti
- M. pinnipedii
- M. orygis
- Dassie bacillus
- Chimpanzee bacillus
- M. mungi
- Multiple / whole MTBC
validations:
required: true

- type: input
id: reference
attributes:
label: Reference genome
description: GenBank/RefSeq accession of the reference genome used
placeholder: "e.g., GCF_000195955.2 (H37Rv)"
value: "GCF_000195955.2 (H37Rv)"
validations:
required: true

- type: input
id: lineages
attributes:
label: Lineages covered
description: Which MTBC lineages do these phylogenetic markers define?
placeholder: "e.g., L1–L10, A1–A4, L4.1.2, A4;M_bovis"
validations:
required: true

- type: input
id: n_markers
attributes:
label: Number of markers
description: Total number of markers in the set
placeholder: "e.g., 3707"
validations:
required: true

- type: textarea
id: evidence
attributes:
label: Evidence / References
description: |
Papers, phylogenies, or other evidence supporting these markers.
Include DOIs or URLs when possible.
placeholder: |
- Comas et al. 2010 (doi:10.1038/ng.590)
- Validated on 500 RefSeq genomes
validations:
required: true

- type: textarea
id: tsv_preview
attributes:
label: Marker TSV preview (first 10 rows)
description: |
Paste the first few rows of your marker file.
Format: `position\tref\talt\tlineage` (tab-separated)
render: text
placeholder: |
position ref alt lineage
615938 A G L1
1799921 C G L2
validations:
required: true

- type: textarea
id: file_upload
attributes:
label: Full marker file
description: |
Attach the full TSV file by dragging it here, or link to a public URL / Zenodo DOI.
validations:
required: false

- type: textarea
id: validation
attributes:
label: Validation results (optional)
description: |
If you tested these markers with `pathotypr classify`, share the results:
- Number of genomes tested
- Concordance with known lineages
- Any edge cases or limitations
validations:
required: false

- type: checkboxes
id: checklist
attributes:
label: Checklist
options:
- label: Markers are in TSV format (position / ref / alt / lineage)
required: true
- label: Positions are 1-based relative to the reference genome
required: true
- label: I have tested these markers on at least a small validation set
required: false
- label: I am willing to maintain this marker set
required: false
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Bug Report
description: Report a bug in pathotypr
title: "[Bug] "
labels: ["bug"]
body:
- type: input
id: version
attributes:
label: pathotypr version
placeholder: "e.g., 0.2.1"
validations:
required: true

- type: dropdown
id: module
attributes:
label: Module
options:
- classify
- predict
- train
- split-fastq
- match
- GUI
- Other
validations:
required: true

- type: input
id: os
attributes:
label: OS & Architecture
placeholder: "e.g., macOS 15.3 ARM64, Ubuntu 22.04 x86_64"
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
description: What happened? What did you expect?
validations:
required: true

- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Commands or steps to trigger the bug
render: bash
validations:
required: true

- type: textarea
id: error
attributes:
label: Error output
description: Paste the error message or log
render: text
validations:
required: false
Loading
Loading