Skip to content

Commit

Permalink
Merge branch 'hotfix/0.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
MillironX committed Aug 1, 2022
2 parents 2630f3b + 5cc4e68 commit 85c5aca
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to

## [Unreleased]

## [0.9.1] - 2022-08-01

## Fixed

- Errors from incorrect CliqueSNV VCF output

## [0.9.0] - 2022-07-29

## Added
Expand Down Expand Up @@ -262,7 +268,8 @@ This is a major overhaul of YAVSAP to make it use nf-core's DSL2 modules.
- Krona graphs of Kraken2 output
- BLAST of assemblies and unclassified reads

[unreleased]: https://github.com/ksumngs/yavsap/compare/v0.9.0...HEAD
[unreleased]: https://github.com/ksumngs/yavsap/compare/v0.9.1...HEAD
[0.9.1]: https://github.com/ksumngs/yavsap/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/ksumngs/yavsap/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/ksumngs/yavsap/compare/v0.7.1...v0.8.0
[0.7.1]: https://github.com/ksumngs/yavsap/compare/v0.7.0...v0.7.1
Expand Down
13 changes: 11 additions & 2 deletions bin/vartable
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ for vcf_file in ARGS
variants = Dict[]

for vcf_record in vcf_reader
first(VCF.filter(vcf_record)) == "PASS" || continue
try
first(VCF.filter(vcf_record)) == "PASS" || continue
catch
# This is fine: someone forgot to read the spec and created
# an empty FILTER instead of marking it as PASS, unless it isn't
end #try

variant = Dict()

Expand All @@ -53,7 +58,11 @@ for vcf_file in ARGS
variant["pos"] = VCF.pos(vcf_record)
variant["ref"] = VCF.ref(vcf_record)
variant["alt"] = first(VCF.alt(vcf_record))
variant["qual"] = VCF.qual(vcf_record)
variant["qual"] = try
VCF.qual(vcf_record)
catch
nothing
end

push!(variants, variant)
end #for
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ manifest {
description = 'Identification and analysis of viral haplotypes in metagenomic NGS reads'
mainScript = 'main.nf'
nextflowVersion = '!>=21.10.3'
version = '0.9.0'
version = '0.9.1'
recurseSubmodules = true
}

Expand Down

0 comments on commit 85c5aca

Please sign in to comment.