Compare commits

...

4 Commits

Author SHA1 Message Date
18b003e0e2 No more error when output folder already exists
All checks were successful
NSBDiagnosisToolkit/pipeline/head This commit looks good
2025-01-03 22:49:00 +00:00
afbd883e3e Updated credentials ID
All checks were successful
NSBDiagnosisToolkit/pipeline/head This commit looks good
2025-01-03 21:30:02 +00:00
cb8adac970 Added twine to requirements
Some checks failed
NSBDiagnosisToolkit/pipeline/head There was a failure building this commit
2025-01-03 20:54:49 +00:00
fe1112ed91 Added a README.md 2025-01-03 20:52:57 +00:00
6 changed files with 19 additions and 5 deletions

2
.gitignore vendored
View File

@ -356,4 +356,4 @@ package
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
src/output.csv
output

2
.vscode/launch.json vendored
View File

@ -6,7 +6,7 @@
"configurations": [
{
"name": "Python Debugger: Current File with Arguments",
"name": "CLI ipdbmlst",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/src/nsbdiagnosistoolkit/cli/root.py",

2
Jenkinsfile vendored
View File

@ -37,7 +37,7 @@ pipeline {
}
stage("publish") {
environment {
CREDS = credentials('git.reslate.systems/ydeng')
CREDS = credentials('4d6f64be-d26d-4f95-8de3-b6a9b0beb311')
}
when {
branch '**/main'

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# NSBDiagnosis Toolkit
A software suite automating the diagnostic steps from Sanger Trace Files (ABIFs) and FASTAs. Namely, this tool is (or will be) capable of:
- [ ] Improved consensus conflict resolution via a peak strength metric
- [ ] Automatic reporting on variations from a reference file
- [x] Automatic annotating based off pre-existing GenBank data from NCBI
- [x] Automatic pulling GenBank Data
- [x] Automatic querying of Institut Pasteur's MLST databases
- [x] Automatic export of spreadsheet file in the form of a CSV
- [x] User friendly, and automatable (Galaxy compatible) command-line interface
- [ ] Interactive Web UI

View File

@ -2,4 +2,5 @@ aiohttp[speedups]
biopython
pytest
pytest-asyncio
build
build
twine

View File

@ -58,7 +58,7 @@ parser.add_argument(
def cli():
args = parser.parse_args()
gen_strings = aggregator.aggregate_sequences(args.fastas, args.abifs)
os.makedirs(args.out)
os.makedirs(args.out, exist_ok=True)
if args.institut_pasteur_db is not None:
mlst_profiles = aggregator.profile_all_genetic_strings(
gen_strings, args.institut_pasteur_db)