Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
rnmitchell committed Jul 8, 2024
2 parents 7c93818 + 4559739 commit 8841806
Show file tree
Hide file tree
Showing 14 changed files with 775 additions and 46 deletions.
10 changes: 7 additions & 3 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
Copyright (c) 2020, Battelle National Biodefense Institute (BNBI);
all rights reserved. Authored by Rebecca Mitchell.
Copyright (c) 2020, DHS.

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.
Funded Research and Development Center. All rights in the computer
software are reserved by DHS on behalf of the United States Government
and the Contractor as provided in the Contract. NEITHER THE GOVERNMENT
NOR BNBI MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
LIABILITY FOR THE USE OF THIS SOFTWARE. This notice including this
sentence must appear on any copies of this computer software.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ analysis_software: ```uas``` (```uas/straitrazor/genemarker```); indicates the a
sex: ```False``` (True/False); include sex-chromosome STRs (invoke ```--sex``` flag)
samp_input: ```/path/to/input/directory/or/samples``` input directory or sample; if not provided, will be current working directory (indicate using ```--input path/to/dir``` )
output: ```lusstr_output``` output file/directory name (indicate using ```--out dir/sampleid e.g. --out test_030923```)
custom: ```False``` (True/False); use custom sequence ranges as defined in the STR markers json file (```str_markers.json```).

### convert settings
kit: ```forenseq``` (forenseq/powerseq) (invoke the ```--powerseq``` flag if using PowerSeq data)
Expand Down
6 changes: 6 additions & 0 deletions lusSTR/cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def edit_str_config(config, args):
data["output_type"] = args.software
if args.strand:
data["strand"] = args.strand
if args.custom:
data["custom_ranges"] = args.custom
return data


Expand Down Expand Up @@ -175,3 +177,7 @@ def subparser(subparsers):
help="Specify the strand orientation for the final output files. UAS orientation is "
"default for STRs; forward strand is default for SNPs."
)
p.add_argument(
"--custom", action="store_true",
help="Specifying custom sequence ranges."
)
1 change: 1 addition & 0 deletions lusSTR/data/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ output: "lusstr_output" ## output file/directory name; Example: "test_030923"

##convert settings
kit: "forenseq" ## forenseq/powerseq
custom_ranges: False ## True/False; use custom ranges, for PowerSeq sequences only
nocombine: False ## True/False; do not combine identical sequences (if using STRait Razor data)

##filter settings
Expand Down
Loading

0 comments on commit 8841806

Please sign in to comment.