Skip to content

Commit

Permalink
PD-5085: Change column "Element length" to "Target length"; StxTyper …
Browse files Browse the repository at this point in the history
…ver. 1.0.26; "::" is a fusion infix for hierarchy_node
  • Loading branch information
Vyacheslav Brover committed Oct 22, 2024
1 parent 31cf165 commit 7375d92
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions amr_report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -838,15 +838,15 @@ struct BlastAlignment : Alignment
return getGeneSymbol ();
string s;
for (const BlastAlignment* fusion : fusions)
add (s, "/", fusion->getGeneSymbol ());
add (s, "/" /*fusion_infix*/, fusion->getGeneSymbol ()); // PD-5155 ??
return s;
}
string fusion2famIds () const
{ if (isMutationProt () || fusions. empty ())
return famId;
string s;
for (const BlastAlignment* fusion : fusions)
add (s, "/", fusion->famId);
add (s, fusion_infix, fusion->famId);
return s;
}
private:
Expand Down
5 changes: 4 additions & 1 deletion amrfinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
* Dependencies: NCBI BLAST, HMMer, libcurl, gunzip (optional)
*
* Release changes:
* 4.0.1 10/22/2024 PD-5155 "::" as a fusion infix for hierarchy_node
* PD-5085 Change column "Element length" to "Target length"
* PD-5085 StxTyper version 1.0.26
* 4.0.0 10/22/2024 PD-5156 StxTyper etc.
* 3.13.3 09/11/2024 Instruction for -gff: "Locations are in the --nucleotide file."
* StxTyper version 1.0.25
Expand Down Expand Up @@ -330,7 +333,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.25");
const string stxTyperVersion ("1.0.26");



Expand Down
7 changes: 6 additions & 1 deletion columns.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ constexpr const char* class_colName = "Class";
constexpr const char* subclass_colName = "Subclass";
//
constexpr const char* method_colName = "Method";
constexpr const char* targetLen_colName = "Element length"; // was: "Target length" ??
constexpr const char* targetLen_colName = "Target length"; // was: "Element length" (temporarily)
constexpr const char* refLen_colName = "Reference sequence length";
constexpr const char* refCov_colName = "% Coverage of reference";
constexpr const char* refIdent_colName = "% Identity to reference";
Expand All @@ -62,3 +62,8 @@ constexpr const char* closestRefName_colName = "Closest reference name";
constexpr const char* hmmAccession_colName = "HMM accession";
constexpr const char* hmmDescr_colName = "HMM description";
constexpr const char* hierarchyNode_colName = "Hierarchy node";


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

2 changes: 1 addition & 1 deletion stxtyper
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0
4.0.1

0 comments on commit 7375d92

Please sign in to comment.