Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #346 in SAT/pbbam from feature/TAG-4351-release-le…
Browse files Browse the repository at this point in the history
…vel-information to develop

* commit '5751357f88646b1b332e95c2772eef15a3fe19f0':
  Add fifth column for release level data
  • Loading branch information
pb-dseifert committed Aug 21, 2019
2 parents bdee337 + 5751357 commit 540421a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions src/ChemistryTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ ChemistryTable ChemistryTableFromXml(const std::string& mappingXml)
for (const auto& childNode : rootNode) {
const std::string childName = childNode.name();
if (childName != "Mapping") continue;
table.emplace_back(
std::array<std::string, 4>{{childNode.child("BindingKit").child_value(),
childNode.child("SequencingKit").child_value(),
childNode.child("SoftwareVersion").child_value(),
childNode.child("SequencingChemistry").child_value()}});
table.push_back({childNode.child("BindingKit").child_value(),
childNode.child("SequencingKit").child_value(),
childNode.child("SoftwareVersion").child_value(),
childNode.child("SequencingChemistry").child_value()});
}
} catch (std::exception& e) {
const std::string msg = std::string{"Mapping entries unparseable - "} + e.what();
Expand Down Expand Up @@ -140,16 +139,16 @@ const ChemistryTable& BuiltInChemistryTable()
// Sequel® II Binding Kit 2.0; Sequel® II Sequencing Plate 2.0EA (4 Rxn)
{{"101-789-500", "101-789-300", "5.0", "S/P4-C2/5.0-8M"}},
// Sequel® II Binding Kit 2.0; Sequel® II Sequencing Plate 2.0 (4 Rxn)
{{"101-789-500", "101-826-100", "5.0", "S/P4-C2/5.0-8M"}},
{{"101-789-500", "101-826-100", "5.0", "S/P4-C2/5.0-8M", "TAGT-319"}},
// Sequel® II Binding Kit 2.0; Sequel® II Sequencing Plate 2.0 (4 Rxn) - QC
{{"101-789-500", "101-820-300", "5.0", "S/P4-C2/5.0-8M"}},
{{"101-789-500", "101-820-300", "5.0", "S/P4-C2/5.0-8M", "TAGT-319"}},

// Sequel® II Binding Kit 2.1; Sequel® II Sequencing Plate 2.0EA (4 Rxn)
{{"101-820-500", "101-789-300", "5.0", "S/P4.1-C2/5.0-8M"}},
// Sequel® II Binding Kit 2.1; Sequel® II Sequencing Plate 2.0 (4 Rxn)
{{"101-820-500", "101-826-100", "5.0", "S/P4.1-C2/5.0-8M"}},
{{"101-820-500", "101-826-100", "5.0", "S/P4.1-C2/5.0-8M", "TAGT-319"}},
// Sequel® II Binding Kit 2.1; Sequel® II Sequencing Plate 2.0 (4 Rxn) - QC
{{"101-820-500", "101-820-300", "5.0", "S/P4.1-C2/5.0-8M"}}
{{"101-820-500", "101-820-300", "5.0", "S/P4.1-C2/5.0-8M", "TAGT-319"}}
};
// clang-format on

Expand Down
2 changes: 1 addition & 1 deletion src/ChemistryTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace PacBio {
namespace BAM {

using ChemistryTable = std::vector<std::array<std::string, 4>>;
using ChemistryTable = std::vector<std::array<std::string, 5>>;

const ChemistryTable& BuiltInChemistryTable();

Expand Down

0 comments on commit 540421a

Please sign in to comment.