Skip to content

Commit

Permalink
PD-5201 Change empty fields to NA
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyacheslav Brover committed Dec 20, 2024
1 parent 0ef7cc0 commit 09d052a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
3 changes: 1 addition & 2 deletions amr_report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ namespace
constexpr bool useCrossOrigin = false; // GPipe: true
constexpr double frac_delta = 1e-5;
constexpr size_t domain_min = 20; // aa
const string na ("NA");

bool ident_min_user = false;
bool equidistant = false;
Expand Down Expand Up @@ -656,7 +655,7 @@ struct BlastAlignment final : Alignment
td << input_name;;
td << (targetProt ? nvl(targetName, na) : na); // PD-2534
if (cdsExist)
td << (empty () ? na : (cds. contig. empty () ? nvl (targetName,na) : cds. contig))
td << (empty () ? na : (cds. contig. empty () ? nvl (targetName, na) : cds. contig))
<< (empty () ? 0 : (cds. contig. empty () ? targetStart : cds. start) + 1)
<< (empty () ? 0 : (cds. contig. empty () ? targetEnd : cds. stop))
<< (empty () ? na : (cds. contig. empty () ? (targetStrand ? "+" : "-") : (cds. strand ? "+" : "-")));
Expand Down
3 changes: 2 additions & 1 deletion amrfinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* Dependencies: NCBI BLAST, HMMer, libcurl, gunzip (optional)
*
* Release changes:
* 4.0.9 12/20/2024 PD-5201 SrxTyper ver. 1.0.32
* 4.0.8 12/18/2024 PD-5181 StxTyper ver. 1.0.31
* 12/14/2024 PD-5191 stxtyper --threads
* 4.0.7 12/12/2024 PD-5192 StxTyper ver. 1.0.30
Expand Down Expand Up @@ -342,7 +343,7 @@ using namespace GFF_sp;
const string dataVer_min ("2024-08-14.2");
// 3.12: "2023-12-15.2"
// 3.11: "2021-02-18.1"
const string stxTyperVersion ("1.0.31");
const string stxTyperVersion ("1.0.32");



Expand Down
3 changes: 2 additions & 1 deletion columns.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,5 @@ constexpr const char* hierarchyNode_colName = "Hierarchy node";

// PD-5155
constexpr const char* fusion_infix = "::"; // was: "/"


constexpr const char* na ("NA");
2 changes: 1 addition & 1 deletion dna_mutation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct BlastnAlignment final : Alignment
}
void report (TsvOut& td,
bool mutationAll) const
{ const string na ("NA");
{ //const string na ("NA");
for (const SeqChange& seqChange : seqChanges)
{
VectorPtr<AmrMutation> mutations (seqChange. mutations);
Expand Down
2 changes: 1 addition & 1 deletion stx
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.8
4.0.9

0 comments on commit 09d052a

Please sign in to comment.