Skip to content

Commit

Permalink
fixed headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rnmitchell committed Jul 21, 2023
1 parent 96fb563 commit 4bdcb53
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 29 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ lusSTR utilizes the ```lusstr``` command to invoke various Snakemake workflows.

The ```lusstr snps``` command invokes the SNP analysis workflow. Please see below for further information on processing SNP data.
___
### Creating the STR config file
### Creating the SNP config file

Running ```lusstr config``` creates a config file containing the default settings for the lusSTR STR analysis pipeline. The settings can be changed with command line arguments (see below) or by manually editing the config file. The default settings, along with their descriptions, are as follows:

Expand Down
28 changes: 1 addition & 27 deletions lusSTR/cli/snps.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,5 @@
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2020, DHS.
#
# This file is part of lusSTR (http://github.com/bioforensics/lusSTR) and is licensed under
# the BSD license: see LICENSE.txt.
#
# This software was prepared for the Department of Homeland Security (DHS) by the Battelle National
# Biodefense Institute, LLC (BNBI) as part of contract HSHQDC-15-C-00064 to manage and operate the
# National Biodefense Analysis and Countermeasures Center (NBACC), a Federally Funded Research and
# Development Center.
# -------------------------------------------------------------------------------------------------

import lusSTR
import snakemake

## placeholder until I update this

def main(args):
raise NotImplementedError('SNP workflow implementation pending')

def subparser(subparsers):
p = subparsers.add_parser("snps", description="Running the entire STR pipeline (format, annotate and filter)")
p.add_argument("--config", default="config.yaml", help="config file used to identify settings.")
p.add_argument("-w", "--workdir", metavar="W", default=".", help="working directory")
p.add_argument("--skip-filter", dest="filter", action = "store_true", help="Skip filtering step")

# -------------------------------------------------------------------------------------------------
# Copyright (c) 2020, DHS.
# Copyright (c) 2023, DHS.
#
# This file is part of lusSTR (http://github.com/bioforensics/lusSTR) and is licensed under
# the BSD license: see LICENSE.txt.
Expand Down
12 changes: 12 additions & 0 deletions lusSTR/wrappers/snps_convert.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2023, DHS.
#
# This file is part of lusSTR (http://github.com/bioforensics/lusSTR) and is licensed under
# the BSD license: see LICENSE.txt.
#
# This software was prepared for the Department of Homeland Security (DHS) by the Battelle National
# Biodefense Institute, LLC (BNBI) as part of contract HSHQDC-15-C-00064 to manage and operate the
# National Biodefense Analysis and Countermeasures Center (NBACC), a Federally Funded Research and
# Development Center.
# -------------------------------------------------------------------------------------------------

import json
import os
import pandas as pd
Expand Down
2 changes: 1 addition & 1 deletion lusSTR/wrappers/snps_format.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2020, DHS.
# Copyright (c) 2023, DHS.
#
# This file is part of lusSTR (http://github.com/bioforensics/lusSTR) and is licensed under
# the BSD license: see LICENSE.txt.
Expand Down

0 comments on commit 4bdcb53

Please sign in to comment.