Skip to content
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7b780e3
MHWG panel brainstorming
standage Sep 20, 2023
62caacb
Recovered notebook [skip ci]
standage Oct 17, 2023
3aa0084
MHWG panel notebooks
standage Oct 19, 2023
66a3321
Merge branch 'master' into panel/mhwg
standage Oct 19, 2023
8659983
Merge branch 'master' into panel/mhwg
standage Oct 23, 2023
875d015
Merge branch 'master' into panel/mhwg
standage Oct 25, 2023
b390ac6
Mark II
standage Oct 25, 2023
ba4ce3e
Merge branch 'master' into panel/mhwg
standage Feb 16, 2024
591393e
Filter
standage Sep 19, 2024
60d384a
New design procedure [skip ci]
standage Sep 20, 2024
ef5ee44
Merge branch 'master' into panel/mhwg
standage Sep 25, 2024
ee1bf8b
Moar updates [skip ci]
standage Sep 26, 2024
968d31a
Filter by low complexity [skip ci]
standage Oct 24, 2024
165aea6
Cleanup [skip ci]
standage Nov 14, 2024
ad83663
Clean low complexity [skip ci]
standage Nov 15, 2024
50a6249
Filter by repeats [skip ci]
standage Nov 18, 2024
6e808be
Filter by forensic STRs [skip ci]
standage Nov 18, 2024
9358dfa
Putting it all together [skip ci]
standage Nov 19, 2024
3b44733
Masking workflow complete [skip ci]
standage Nov 20, 2024
6ef8bf8
Design workflow again [skip ci]
standage Nov 20, 2024
9f8f14b
Add whitelist [skip ci]
standage Nov 21, 2024
3ae4a68
Final panel [skip ci]
standage Nov 22, 2024
07830c0
Final panel design
standage Nov 29, 2024
9e2ad30
txt -> tsv
standage Nov 29, 2024
74021f5
Final panel
standage Nov 30, 2024
e38c028
Add RSIDs
standage Nov 30, 2024
34e4923
Reorg
standage Dec 2, 2024
609de6f
Code cleanup
standage Dec 2, 2024
aa0d4fe
code format [skip ci]
standage Dec 3, 2024
ee34280
Ideogram [skip ci]
standage Dec 5, 2024
381bf27
Include scripts for plotting ideogram and Ae scores vs CODIS
standage Apr 22, 2025
0348b22
Update DB growth figure
standage Apr 23, 2025
4de82fe
Document markII
standage Apr 23, 2025
3a1bb4f
Remove repeats table
standage Apr 23, 2025
4ba3d6f
Merge branch 'master' into panel/mhwg
standage Apr 23, 2025
321998f
Remove repeats from dbbuild as well
standage Apr 23, 2025
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Added
- Panel design notebooks (#157).

### Fixed
- Debugged a test that counts observed haplotypes (#154).
- Replaced global pooled Ae values with 26-population average as the default Ae reported (#155, #158).
Expand Down
6 changes: 6 additions & 0 deletions dbbuild/repeats.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ def parse_ucsc_rmsk_track(path):
"id",
]
table = pd.read_csv(path, sep="\t", names=header)
table = table[
(~table.repClass.isin(("SINE", "LINE", "LTR")))
| ((table.repClass == "SINE") & (table.swScore > 929))
| ((table.repClass == "LINE") & (table.swScore > 411))
| ((table.repClass == "LTR") & (table.swScore > 909))
]
return table.groupby("genoName")


Expand Down
2 changes: 1 addition & 1 deletion microhapdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# -------------------------------------------------------------------------------------------------

from . import nomenclature
from .tables import markers, merged, populations, frequencies, repeats, indels, variantmap, hg38
from .tables import markers, merged, populations, frequencies, indels, variantmap, hg38
from .population import Population
from .marker import Marker, Locus
from microhapdb import cli
Expand Down
3 changes: 1 addition & 2 deletions microhapdb/cli/marker.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import pandas as pd
import sys
from textwrap import dedent
from warnings import warn


def main(args):
Expand Down Expand Up @@ -96,7 +95,7 @@ def display(
for marker in markers:
loci[marker.locus].markers.append(marker)
table = pd.concat([locus.definition for locus in loci.values()])
table = table.rename(columns={"ChromOffset": f"OffsetHg38"})
table = table.rename(columns={"ChromOffset": "OffsetHg38"})
table.to_csv(sys.stdout, sep="\t", index=False)
else:
raise ValueError(f'unsupported view format "{view_format}"')
Expand Down
Loading