Skip to content

Commit 3bfc3f4

Browse files
committed
1.8.3 Push
1 parent f6b9198 commit 3bfc3f4

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

artic/get_scheme.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,17 @@ def main():
3737
)
3838
args = parser.parse_args()
3939

40-
get_scheme(
40+
bed, ref, version = get_scheme(
4141
scheme_name=args.scheme_name,
4242
scheme_version=args.scheme_version,
4343
scheme_directory=args.scheme_directory,
4444
scheme_length=args.scheme_length,
4545
read_file=args.read_file,
4646
)
4747

48+
os.system(f"cp {bed} primer.bed")
49+
os.system(f"cp {ref} reference.fasta")
50+
4851

4952
if __name__ == "__main__":
5053
main()

artic/vcf_filter.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ def check_filter(self, v):
5252
try:
5353
# We don't really care about the depth here, just skip it if it isn't there
5454
depth = v.format("DP")[0][0]
55+
56+
if depth < self.min_depth:
57+
return False
58+
5559
except Exception:
5660
pass
5761

58-
if depth < self.min_depth:
59-
return False
60-
6162
return True
6263

6364

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "artic"
9-
version = "1.8.3"
9+
version = "1.8.4"
1010
authors = [
1111
{ name = "Nick Loman", email = "[email protected]" },
1212
]

0 commit comments

Comments
 (0)