sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
b34068f4bdb759b90ec193fa648be4822281cea835b822b4de0bffd1a90fcfa1
C++
84,948
2,446
//! \file us_pcsa_process.cpp #include <QApplication> #include <QtCore> #include <float.h> #include "us_pcsa_process.h" #include "us_util.h" #include "us_settings.h" #include "us_astfem_math.h" #include "us_astfem_rsa.h" #include "us_sleep.h" #include "us_math2.h" #include "us_lm.h" #include "us_solve_sim.h" #include ...
f38f8514b161afe4b63d6cd7330fc79a2760ece3ea908be66f4b79f1c85b7bd5
C++
85,560
2,557
//! \file us_data_model.cpp #include "us_data_model.h" #include "us_data_process.h" #include "us_data_tree.h" #include "us_util.h" #include "us_settings.h" #include "us_model.h" #include "us_noise.h" #include "us_editor.h" #define timeFmt QString("hh:mm:ss") #define nowTime() "T="+QDateTime::currentDateTime().toStrin...
9057e9608afdb175f097e55ab968447d29f4448ee88940fd5a9ea790e4ef6c2f
C++
85,854
2,576
/* Copyright (c) 2012, Lambda Foundry, Inc., except where noted Incorporates components of WarrenWeckesser/textreader, licensed under 3-clause BSD See LICENSE for the license */ /* Low-level ascii-file processing for pandas. Combines some elements from Python's built-in csv module and Warren Weckesser's textreade...
75214b4e71bc03c26e874d6202da24cfc8ae2793a9b34887239a3dd13497b145
C++
85,856
2,454
//! \file us_buffer_gui.cpp #include "us_buffer_gui.h" #include "us_gui_settings.h" #include "us_settings.h" #include "us_db2.h" #include "us_passwd.h" #include "us_constants.h" #include "us_investigator.h" #include "us_table.h" #include "us_editor.h" #include "us_util.h" #include "us_math2.h" #include "us_eprofile.h" ...
2042c7626a832b53a6f3d8b94c068df9f4260f38b72d5a17796d082abfc7642f
C++
86,145
2,583
/* Copyright (c) 2012, Lambda Foundry, Inc., except where noted Incorporates components of WarrenWeckesser/textreader, licensed under 3-clause BSD See LICENSE for the license */ /* Low-level ascii-file processing for pandas. Combines some elements from Python's built-in csv module and Warren Weckesser's textreade...
88b0b9627cc1471d847a1b6db815bb6fd27f745480e58844587dc074087399dd
C++
86,451
2,227
//------------------------------------------------------------------------------ // // Intan Technologies RHX Data Acquisition Software // Version 3.5.2 // // Copyright (c) 2020-2026 Intan Technologies // // This file is part of the Intan Technologies RHX Data Acquisition Software. // // This program is free softw...
8ac47c0bf2f6e2099cbb35b1b2b811a285047acdea60dffe7bf149ea4dad8a60
C++
86,962
2,492
//! \file us_proto_ranges.cpp #include "us_experiment_gui_optima.h" #include "us_extinction_gui.h" #include "us_table.h" #include "us_license.h" #include "us_license_t.h" #include "us_sleep.h" #include "us_util.h" #ifndef DbgLv #define DbgLv(a) if(dbg_level>=a)qDebug() #endif // Panel for Ranges parameters US_ExperG...
1ebb83d16aace3db6eb5c66c38d733953ce1efbabd891a465364bfe7b042f0ce
C++
87,397
1,972
/** \file gbwt_main.cpp * * Defines the "vg gbwt" subcommand for building, merging, and manipulating GBWT indexes * and GBWTGraphs. */ #include <omp.h> #include <unistd.h> #include <getopt.h> #include <set> #include "subcommand.hpp" #include "../gbwt_helper.hpp" #include "../gbwtgraph_helper.hpp" #include "../ha...
7c01c7dc1f50bee615cd88adb27de456d75d052ea98ca2b0d88ef92793cdb2ef
C++
89,111
2,432
//! \file us_mwl_species_fit.cpp #include <QApplication> #include "us_mwl_species_fit.h" #include "us_license_t.h" #include "us_license.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_util.h" #include "us_data_loader.h" #include "us_load_run_noise.h" #include "us_passwd.h" #include "us_images.h"...
75a1d4c210dfd8ed894e7138c632ff139a7b51cf939e5fe405ac8ef01104bcdb
C++
89,168
2,277
//------------------------------------------------------------------------------ // // Intan Technologies RHX Data Acquisition Software // Version 3.5.2 // // Copyright (c) 2020-2026 Intan Technologies // // This file is part of the Intan Technologies RHX Data Acquisition Software. // // This program is free softw...
c7f6309e32e334d43b8c190c562b66605b65a75bb2582ca5849cbc76961ee95b
C++
90,235
2,538
//! \file us_astfem_sim.cpp #include <QApplication> #include "us_license.h" #include "us_license_t.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_gui_util.h" #include "us_astfem_sim.h" #include "us_sim_params_gui.h" #include "us_math2.h" #include "us_astfem_math.h" #include "us_defines.h" #incl...
0d312140fd73cfcfb4c7898241d40687e9e9d14bc6b13d2f060effe97d313d66
C++
90,508
2,391
//! \file us_report_gui.cpp #include "us_report_gui.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_passwd.h" #include "us_db2.h" #include "us_investigator.h" #include "us_images.h" // Report GUI //ALEXEY_NEW_REPORT: an arg now is QMap < QString( wvl ), US_ReportGMP > ? //US_ReportGui::US_Repo...
a5fe3c44e393197d36f574ca4d47edad8973293604a8745f9653a2111ab16cad
C++
92,093
2,846
//! \file us_vhw_enhanced.cpp #include <QApplication> #include <QtSvg> #include "us_vhw_enhanced.h" #include "us_license_t.h" #include "us_license.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_gui_util.h" #include "us_matrix.h" #include "us_passwd.h" #include "us_constants.h" #include "us_astf...
d5706770247e0211a0625b93c47d655b21771d11aa8f072f26f6c6c14c836882
C++
93,254
2,050
#include "recombinator.hpp" #include "decomposition_neighbors.hpp" #include "gref.hpp" #include "statistics.hpp" #include "algorithms/component.hpp" #include "algorithms/extract_subchain.hpp" #include "hash_map.hpp" #include <algorithm> #include <cmath> //#define debug_selected_haplotypes namespace vg { //--------...
2e4d545412653b258043e8195181780eb6d991f3aaf0af28ba0d75a53f35a060
C++
93,380
2,267
#include "gbwt_extender.hpp" #include "hash_map.hpp" #include <algorithm> #include <array> #include <cstring> #include <queue> #include <set> #include <structures/immutable_list.hpp> namespace vg { //------------------------------------------------------------------------------ // Numerical class constants. const...
3f3d60eb14d89c9fcd01cae7f1767ef95314159a530a2c73000e3ce8f4871fd5
C++
93,476
2,056
//------------------------------------------------------------------------------ // // Intan Technologies RHX Data Acquisition Software // Version 3.5.2 // // Copyright (c) 2020-2026 Intan Technologies // // This file is part of the Intan Technologies RHX Data Acquisition Software. // // This program is free softw...
5cae1b6c6842410e848f78e3a82a2274002018283c8d90f20f3bb62928180435
C++
93,847
2,574
/** * \file * unittest/handle.cpp: test cases for the implementations of the HandleGraph class. */ #include "catch.hpp" #include "../handle.hpp" #include "../vg.hpp" #include "xg.hpp" #include "vg/io/json2pb.h" #include "bdsg/packed_graph.hpp" #include "bdsg/hash_graph.hpp" #include <handlegraph/util.hpp> #inc...
4f5ca45641dffe1b48fc4d42dfb378ce8cafd10f6c1985045feb726aefac771f
C++
94,004
2,530
/// /// \file snarls.cpp /// /// // #define debug #include <vg/io/protobuf_emitter.hpp> #include "snarls.hpp" #include "vg/io/json2pb.h" #include "subgraph_overlay.hpp" #include "crash.hpp" namespace vg { SnarlManager SnarlFinder::find_snarls_parallel() { // By default, just use a single thread, unless this f...
a0072602c16d6143c238f0012bb7a9ce06898b58cc1ae34852369e1bc4955b17
C++
95,643
2,944
#include <QApplication> #include "us_license_t.h" #include "us_license.h" #include "us_util.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_run_details2.h" #include "us_plot.h" #include "us_math2.h" #include "us_ramp_gui.h" #include "us_experiment_gui_ra.h" #include "us_select_triples_ra.h" #incl...
35c6e2b032ab552305256369621bea9ec17dd53fd99bb8cc67cfc0e2be7f6e63
C++
96,018
1,696
/**************************************************************************** ** Form implementation generated from reading ui file '3dplot\mesh2mainwindowbase.ui' ** ** Created: Sun Mar 9 15:21:33 2008 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.8 edited Jan 11 14:47 $) ** ** WARNING! All c...
edf7076856c2651d26f8835cbb399a394b13c437682430b1520b1745f716a063
C++
96,932
1,912
/// /// \file integrated_snarl_finder.cpp /// /// #include "integrated_snarl_finder.hpp" #include "algorithms/three_edge_connected_components.hpp" #include "subgraph_overlay.hpp" #include <bdsg/overlays/overlay_helper.hpp> #include <structures/union_find.hpp> #include <array> #include <iostream> namespace vg { /...
8246a2f47727288a14877dfe11d1ffa86b137730d16a077c9d8b012f44e6d9dc
C++
98,196
2,834
#include "us_add_refScan.h" #include <QTextStream> US_AddRefScan::US_AddRefScan() : US_Widgets() { setPalette( US_GuiSettings::frameColorDefault() ); dbCon = new US_DB2(); // Put the Run Info across the entire window QLabel* lb_run = us_banner(tr("Load the Run(s)")); pb_import = us_pushbutton(tr("...
f9a370508f2ba2cfb3a7ae9ae0d81ca41f7a771a523d9785bdec4efe0d254833
C++
98,262
2,316
#include <cstdint> #include "genotyper.hpp" #include "traversal_finder.hpp" #include "cactus_snarl_finder.hpp" #include "path_index.hpp" #include "utility.hpp" #include "translator.hpp" //#define debug namespace vg { using namespace std; // genotyper: // use graph and reads to: // - Augment graph // - Find ultrabub...
5093d6e475044b432e6ddb6e83db413115911faa872af7d4162e10c1c5d880c6
C++
99,442
1,970
#include "catch.hpp" #include <stdio.h> #include <iostream> #include "../zip_code.hpp" #include "../integrated_snarl_finder.hpp" namespace vg{ namespace unittest{ using namespace std; TEST_CASE("One node zipcode", "[zipcode]") { VG graph; Node* n1 = graph.create_node("GCAAACAGATT"); In...
4408bb8e86564123f460778661191daf061aa1fad5def284b6b06183aa1dd6f8
C++
100,412
2,978
#include <QApplication> #include "us_license_t.h" #include "us_license.h" #include "us_norm_profile.h" #include "us_load_auc.h" #include "us_passwd.h" #include "us_run_protocol.h" #include "us_solution.h" #include <QFileInfo> //Alt. constr. US_Norm_Profile::US_Norm_Profile( QString auto_mode ): US_Widgets() { us_a...
4f22560ab15698ce2053411c68a9e0e855c6759dfc0b3d9f8988c27858bfc051
C++
100,701
2,735
//! \file us_eqmath.cpp #include "us_eqmath.h" #include "us_settings.h" #include "us_math2.h" #include "us_constants.h" #include <cfloat> const double dflt_min = (double)FLT_MIN; const double dflt_max = (double)FLT_MAX; // Main constructor: pass references to EditedData, ScanEdit, EqScanFit, // and EqRunFit object...
42232fd3e04714fcb6fa892f7d60ec329419cc926d590741512387359a4734b7
C++
100,941
2,928
///////////////////////////////////////// #include "us_protocol_dev_gui.h" #include "us_rotor_gui.h" #include "us_solution_gui.h" #include "us_extinction_gui.h" #include "us_table.h" #include "us_xpn_data.h" #include "us_license.h" #include "us_license_t.h" #include "us_sleep.h" #include "us_util.h" #include "us_crypto...
f3f546d4405ee67fb32847633e92396659eaf18fd45c44268d41147f3eb6417e
C++
104,391
2,853
#include "us_mpi_analysis.h" #include "us_math2.h" #include "us_astfem_math.h" #include "us_archive.h" #include "us_memory.h" #include "us_sleep.h" #include "us_util.h" #include "us_settings.h" #include "us_revision.h" #include <QtCore/QString> #include <cstdio> #include <mpi.h> #ifdef Q_OS_WIN #ifndef NOMINMAX #defin...
b3319f775e88ab9f385ed1e0f160b3efea5e83202ee9f86ec3245c7b2a3003a4
C++
104,600
2,690
/** \file * * Unit tests for gbwt_extender.cpp, which implements haplotype-aware gapless seed extension. */ #include "../gbwt_extender.hpp" #include "../gbwt_helper.hpp" #include "../io/json2graph.hpp" #include "../utility.hpp" #include "../vg.hpp" #include <bdsg/hash_graph.hpp> #include "catch.hpp" #include "sup...
fbb3377400e31a9d0d6474181b1e8cd1efeabbbf5bd2e659e31f9ccc3a29f248
C++
105,301
3,081
//! \file us_buoyancy.cpp #include <QApplication> #include <QDomDocument> #include <qwt_scale_div.h> #include "us_buoyancy.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_investigator.h" #include "us_run_details2.h" #include "us_math2.h" #include "us_util.h" #include "us_load_auc.h" #include "u...
e851da2197a144c5d2746552273870f8717111a805e5b9ba51dc627af1abea3a
C++
105,881
3,245
//! \file us_analyte_gui.cpp #include "us_analyte_gui.h" #include "us_passwd.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_investigator.h" #include "us_editor_gui.h" #include "us_table.h" #include "us_util.h" #include "us_db2.h" #include "us_constants.h" #include "us_editor.h" #include "us_math2...
5d04fade3e197d08958008e9f5f925d2ac8418a43328b2dcb9c080149a35ce1e
C++
109,448
3,067
#include "path.hpp" #include <vg/io/stream.hpp> #include "region.hpp" #include "alignment.hpp" #include "crash.hpp" #include <sstream> // #define debug_simplify using namespace vg::io; namespace vg { const std::function<bool(const string&)> Paths::is_alt = [](const string& path_name) { // Really we want things ...
0d001e4f39fcc5007f5a4f2b9046ae119331ea19355cb22933f9b545edfa9f19
C++
110,444
2,979
//! \file us_ddist_combine.cpp #include <QApplication> #include <qwt_scale_div.h> #include "us_ddist_combine.h" #include "us_select_rundd.h" #include "us_license_t.h" #include "us_license.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_gui_util.h" #include "us_matrix.h" #include "us_constants.h" ...
2d33242e853cb84dbc223e304a4ce04a2956c09ec89675221f4d7abfe0da2e19
C++
113,109
2,445
/** * \file mpmap_main.cpp: multipath mapping of reads to a graph */ #include <omp.h> #include <unistd.h> #include <ctime> #include <getopt.h> #include <thread> #include <atomic> #include <mutex> #include <list> #include "subcommand.hpp" #include "../utility.hpp" #include <vg/io/vpkg.hpp> #include "../algorithms/c...
d8d6fca9ae73c43655b954fabb10e28ecdee03320b7850fddb85dae46a91feca
C++
114,824
2,541
#include "crash.hpp" #include "zip_code.hpp" //#define DEBUG_ZIPCODE namespace vg{ using namespace std; // Make sure that the default / empty payload exists as a value that can be pointed to. constexpr std::pair<gbwtgraph::KmerEncoding::code_type, gbwtgraph::KmerEncoding::code_type> MIPayload::NO_CODE; void ZipCod...
37cff89a7affb0bbc97ec3a1907680367b6543a7c4468f56a807313da80a57d9
C++
115,110
3,419
//! \file us_plot.cpp #include <QApplication> #include <QtSvg> #include "us_plot.h" #include "us_theme.h" #include "us_images.h" #include <QtPrintSupport> #include "us_colorgradIO.h" #include "qwt_picker_machine.h" #include "qwt_picker.h" #include "qwt_color_map.h" #define canvasBackground() canvasBackground().color(...
6676f997aff996f7516e1d8487aebc947eb78cb6a97d80873f56511a8603225a
C++
116,263
2,572
/** * \file giraffe_main.cpp: G(ir)AF (Graph Alignment Format) Fast Emitter: a fast read-to-haplotypes mapper */ #include <omp.h> #include <unistd.h> #include <getopt.h> #include <fstream> #include <iostream> #include <cassert> #include <cstring> #include <ctime> #include <map> #include <optional> #include <vector> ...
204b2bf2fea149a9c09a57a5f45242fb15c05d4c538ae7c8ba8303f844cef1f4
C++
117,986
3,450
#include <cassert> // assert #include <limits> // std::numeric_limits<T> #include <memory> // std::unique_ptr #include <sstream> // std::ostringstream #include <string> // std::string #include <unordered_map> // std::unordered_map #include <vector> // std::vector #include <paral...
02feb5897a9231cf47e7541100f79cf9742e05a98347579df7ecd00134c3c648
C++
119,535
3,020
#include <thread> #include <gbwtgraph/utils.h> #include "../io/save_handle_graph.hpp" #include "transcriptome.hpp" #include "../augment.hpp" #include "../utility.hpp" namespace vg { using namespace vg::io; using namespace std; // #define transcriptome_debug bool operator==(const Exon & lhs, const Exon & rhs) {...
72d00d3568b6d57a99fabf53eeaccfdf33d870a2b62ef847feb929af58f06f5a
C++
121,152
2,979
#include "controlpanelconfiguretab.h" #include "testcontrolpanel.h" #include "controlwindow.h" #include <algorithm> HelpDialogCheckInputWave::HelpDialogCheckInputWave(QWidget *parent) : QDialog(parent) { setWindowTitle(tr("Check Input Wave")); QLabel *label1 = new QLabel("Scans for a connected chip on Po...
42715d640dcff61dfea71d06009a2fc514dc562ca6dab938dfa9c33b31280940
C++
124,070
2,562
// // pinned_alignment.cpp // // Unit tests for pinned alignment and pinned multi-alignment functions in Aligner // #include <stdio.h> #include <unordered_set> #include "alignment.hpp" #include "support/test_aligner.hpp" #include "vg.hpp" #include "path.hpp" #include "catch.hpp" #include "vg/io/json2pb.h" #include "...
29b2023fbeac1a950b59d28a56155278e6f8988079f78fa1d50c0172ac4e373e
C++
130,438
3,843
//! \file us_ga_init.cpp #include "us_grid_editor.h" #include "us_matrix.h" #include "us_csv_loader.h" #include <cmath> // main program int main( int argc, char* argv[] ) { QApplication application( argc, argv ); #include "main1.inc" // License is OK. Start up. US_Grid_Editor w; w.show(); ...
e4cccb990c376a949c1061d896609ac451f5fde482ece4810b0423ba4decd586
C++
131,111
2,816
// // banded_global_aligner.cpp // // Contains objects to support Aligner in performing banded global alignment against // a graph. // #include "banded_global_aligner.hpp" #include "vg/io/json2pb.h" #include <array> //#define debug_banded_aligner_objects //#define debug_banded_aligner_graph_processing //#define...
327544213a0e6cdb5d45345e9d036ecc9573d4657a9931d17720301565980e69
C++
134,292
2,834
#include "ModularHH.h" #include "Common.h" #include "NeuroML.h" #include<algorithm> #include<numeric> #include<math.h> #include<cmath> #include<stdio.h> #include<chrono> //Linear interpolation from a -> b with respective parameter from 0 -> 1 static Real Lerp(Real a, Real b, Real ratio){ return a + (b-a)*ratio; }...
00fabc925f9f68c135bbe4c9205a24b9ae7302fc552f556bbbe2612a0c13aeeb
C++
135,486
3,855
//! \file us_experiment_main.cpp ///////////////////////////////////////// #include "us_com_project_gui.h" #include "us_rotor_gui.h" #include "us_solution_gui.h" #include "us_extinction_gui.h" #include "us_table.h" #include "us_xpn_data.h" #include "us_license.h" #include "us_license_t.h" #include "us_sleep.h" #include...
9efda8a3a492c8366c47e248828eccd864453a4d5a135f388752b2b8cbcfb358
C++
136,193
2,718
/** * \file * constructor.cpp: contains implementations for vg construction functions. */ #include "constructor.hpp" #include "utility.hpp" #include "crash.hpp" #include "io/load_proto_to_graph.hpp" #include <IntervalTree.h> #include <cstdlib> #include <set> #include <tuple> #include <list> #include <algorithm> ...
b318c8395b00ae640a15105178feb5f56df4d02827a509efddf1e060d619de7e
C++
141,478
2,890
//#define DEBUG_ZIP_CODE_TREE //#define DEBUG_ZIP_CODE_SORTING #include "zip_code_tree.hpp" #include "crash.hpp" // Set for verbose logging from the zip code tree parsing logic //#define debug_parse // Set to compile in assertions to check the zipcode tree parsing logic //#define check_parse using namespace std; na...
bd80abaeaa0389ec03defe28a672030e2c3f52f62bdc3318ec95c1b50367c27c
C++
142,693
4,269
//! \file us_fematch.cpp //#include <QApplication> //#include <QtSvg> #include "us_fematch.h" #include "us_adv_dmgamc.h" #include "us_thread_worker.h" #include "us_license_t.h" #include "us_license.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_gui_util.h" #include "us_matrix.h" #include "us_co...
8eb92c65de19cc78e5b2054d037870a9b552d2d339573c204aa4f930820e952c
C++
142,729
3,825
#include <QApplication> #include <QCollator> #include <QKeyEvent> #include <QPainter> #include <QPdfWriter> #include <QPrinter> #include <QProgressDialog> #include <algorithm> //#include <QThread> #include "us_audit_trail_gmp.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_gui_util.h" #inclu...
805bc1b4838a618d021aa1efa597ceb9c319b3c349ee63a1f310a3c5320681d9
C++
144,364
3,153
#include <stdio.h> #include <stdlib.h> #include <iostream> #include <set> #include "../io/json2graph.hpp" #include "../vg.hpp" #include "catch.hpp" #include "bdsg/hash_graph.hpp" #include "../integrated_snarl_finder.hpp" #include "random_graph.hpp" #include "../minimizer_mapper.hpp" #include "randomness.hpp" #include <...
ffe207ed37e29dc26ca48b893e54a79ff85e61a85112a0a4c8b227093da10ee7
C++
147,122
4,177
//! \file us_fit_meniscus.cpp //#include <QApplication> #include <QJsonDocument> #include <QJsonValue> #include <QJsonArray> #include <QJsonObject> #include "us_fit_meniscus.h" #include "us_license_t.h" #include "us_license.h" #include "us_gui_settings.h" #include "us_gui_util.h" #include "us_settings.h" #include "us...
8e41b392b24cffdb174034a014858fd5ba536365374079f7e69917341265a570
C++
152,070
3,640
#include <stdio.h> #include <stdlib.h> #include <iostream> #include <set> #include "vg/io/json2pb.h" #include "../vg.hpp" #include "bdsg/hash_graph.hpp" #include "catch.hpp" #include "../snarls.hpp" #include "../cactus_snarl_finder.hpp" #include "../integrated_snarl_finder.hpp" #include "../genotypekit.hpp" #include "s...
e983714cf11279fad1b9cc285e8b1c8a128eaa53db9b270957b2c6b482a35fd1
C++
154,201
2,794
/// \file alignment.cpp /// /// unit tests for Alignments and their utility functions /// #include <iostream> #include <string> #include <google/protobuf/util/message_differencer.h> #include "vg/io/json2pb.h" #include <vg/vg.pb.h> #include "../alignment.hpp" #include "../vg.hpp" #include "../xg.hpp" #include "../ha...
9f80c1294260c477b12cac845c1172ff086f47b3dc8f9b961ed6d75203752597
C++
155,368
2,705
//#define debug_distance_indexing //#define debug_snarl_traversal //#define debug_distances //#define debug_subgraph //#define debug_hub_label_build //#define debug_hub_label_storage #include "snarl_distance_index.hpp" #include <unordered_set> #include "decomposition_neighbors.hpp" using namespace std; using namespac...
de1abbf1214b9b89b75d73241f45ec4a38824ddf2676289666c5c664d7ed8bee
C++
157,384
3,631
#include "traversal_finder.hpp" #include "genotypekit.hpp" #include "algorithms/k_widest_paths.hpp" #include "cactus.hpp" #include "gbwt_helper.hpp" #include "haplotype_extracter.hpp" //#define debug namespace vg { using namespace std; string traversal_to_string(const PathHandleGraph* graph, const Traversal& travers...
f388f93d146c32b36eac06c451f2114f2753b4a443237fe53e647bdf1b1e7275
C++
172,418
4,729
// // vg_algorithms.cpp // // // Created by Jordan Eizenga on 2/7/17. // // #include <stdio.h> #include <set> #include <random> #include "catch.hpp" #include "../algorithms/extract_connecting_graph.hpp" #include "../algorithms/extract_containing_graph.hpp" #include "../algorithms/extract_extending_graph.hpp" #incl...
b4bfbec0173a3b0ac2867c790458e0b0c99292ca77f90e80f34f2e058f72cfd2
C++
172,481
4,762
//! \file us_analysis_profile.cp #include "us_analysis_profile.h" #include "us_table.h" #include "us_license.h" #include "us_datafiles.h" #include "us_sleep.h" #include "us_util.h" #include "us_report_gmp.h" #ifndef DbgLv #define DbgLv(a) if(dbg_level>=a)qDebug() #endif // Constructor: build the main layout with ta...
63a284369b64f84457296798c676b09e7f44680ffb350db547e41969f857a8de
C++
180,327
3,525
/// \file multipath_alignment.cpp /// /// unit tests for multipath alignment construction and utility functions /// #include <stdio.h> #include <iostream> #include <gbwt/dynamic_gbwt.h> #include "xg.hpp" #include "bdsg/hash_graph.hpp" #include "bdsg/overlays/path_position_overlays.hpp" #include "../haplotypes.hpp"...
8ac751d7a521116ab29444aa79ec2ab5401480993c5eaf4610357a53622abc6a
C++
181,504
3,609
// // banded_global_aligner.cpp // // Unit tests for banded global aligner module. // #include <stdio.h> #include "catch.hpp" #include "support/test_aligner.hpp" #include "vg.hpp" #include "path.hpp" #include "banded_global_aligner.hpp" #include "../io/json2graph.hpp" #include "bdsg/hash_graph.hpp" #include "../al...
3e2bc6d34c4e8bbc19ec8572c56180f0ac5803001dbf2ba461640c6990aac22c
C++
184,576
5,260
//! \file us_exp_utils.cpp // This source file is meant to hold those portions of the // US_ExperimentMain class and its subclasses that are common // utility functions used by the class and its subclasses. // Thereby, the length of any one source file is reduced and the // us_experiment_main.cpp file contains only ve...
0ca4e7191a32c6cd475102c5f0dbe85f9717919f7c933439e74594abb7d86bd9
C++
186,953
5,266
#include <QPrinter> #include <QPdfWriter> #include <QPainter> #include <QProgressDialog> #include <QApplication> #include <QKeyEvent> //#include <QThread> #include "us_esigner_gmp.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_gui_util.h" #include "us_protocol_util.h" #include "us_run_proto...
4148da74be2d10e6abd3a0f6fb89b03cbab43cfb8a6ece40c3867c8c5709a910
C++
188,392
3,903
#include <string> #include <algorithm> #include <utility> #include <cstring> #include "cluster.hpp" #include "algorithms/subgraph.hpp" #include "algorithms/extract_containing_graph.hpp" #include "utility.hpp" //#define debug_mem_clusterer using namespace std; using namespace structures; namespace vg { //size_t...
d53d8f62804a2e4299e2747c16dbd46ad81da1d9240edaa5a5b1a0529a03503b
C++
194,899
4,127
// // snarls.cpp // // Unit tests for SnarlManager and related functions // #include <stdio.h> #include <iostream> #include <sstream> #include <set> #include "vg/io/json2pb.h" #include "../io/json2graph.hpp" #include <bdsg/hash_graph.hpp> #include <vg/vg.pb.h> #include "catch.hpp" #include "support/random_graph.hpp"...
55fc8e34644bc979f7fcaaba4378beb58453ef0a11d6c4658d588f7c11ad88dd
C++
196,955
4,111
/** * \file minimizer_mapper_from_chains.cpp * Defines the code for the long-read code path for the * minimizer-and-GBWT-based mapper (long read Giraffe). */ #include "minimizer_mapper.hpp" #include "logged_gap_alignment_scorer.hpp" #include "annotation.hpp" #include "banded_global_aligner.hpp" #include "crash.h...
01a61576baa1180553fea1175b341320d2d3c6f955762263e7d11557a7e876bd
C++
200,000
5,387
#include "vg.hpp" #include <vg/io/stream.hpp> #include "aligner.hpp" // We need to use ultrabubbles for dot output #include "genotypekit.hpp" #include "algorithms/id_sort.hpp" #include "algorithms/simplify_siblings.hpp" #include "cactus_snarl_finder.hpp" #include "augment.hpp" #include "algorithms/prune.hpp" #include <...
35050dab262b903b205800c2bd6693d9e2b46c585d6e0c7fab13af32e46075a8
C++
200,000
4,389
/** * \file minimizer_mapper.cpp * Defines the code for the minimizer-and-GBWT-based mapper. */ #include "minimizer_mapper.hpp" #include "crash.hpp" #include "annotation.hpp" #include "gbwtgraph_helper.hpp" #include "path_subgraph.hpp" #include "multipath_alignment.hpp" #include "split_strand_graph.hpp" #include "...
3e5f486d28f31dd6af043f9b90a18027d2565d6d50e355b93da763af2a44095f
C++
200,000
5,967
#include <QApplication> #include <qwt_scale_div.h> #include "us_license_t.h" #include "us_license.h" #include "us_util.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_gui_util.h" #include "us_run_details2.h" #include "us_plot.h" #include "us_math2.h" #include "us_convert_gui.h" #include "us_conver...
464706cda4a33a8ca52e7d45f9056353686ed6330a594fbf35f817d48282b4fd
C++
200,000
3,610
// // multipath_alignment_graph.cpp // #include "multipath_alignment_graph.hpp" #include "sequence_complexity.hpp" #include "reverse_graph.hpp" #include "banded_global_aligner.hpp" #include "explainer.hpp" #include "crash.hpp" #include "structures/rank_pairing_heap.hpp" #include "algorithms/extract_connecting_graph...
49c9fe9f10a26c664e8e06122e978da7154663b21b5fc08de2c698e750bd5c3a
C++
200,000
4,195
// // multipath_alignment.cpp // #include "multipath_alignment.hpp" #include "haplotypes.hpp" #include <structures/immutable_list.hpp> #include <structures/min_max_heap.hpp> #include <type_traits> //#define debug_multiple_tracebacks //#define debug_search //#define debug_trace //#define debug_verbose_validation //#...
90f8daa3894cd908835e42c29723bd2fbdc144d04367fcf7e8aa121887fa41e8
C++
200,000
5,385
//! \file us_experiment/us_experiment_gui_optima.cpp #include <QSslKey> #include "us_experiment_gui_optima.h" #include "../us_analysis_profile/us_analysis_profile.h" #include "us_rotor_gui.h" #include "us_solution_gui.h" #include "us_extinction_gui.h" #include "us_table.h" #include "us_xpn_data.h" #include "us_licens...
9736e950401c17ec872eb7dd71ce7fe92e0b461bff2bd867c5e309065b5fb05c
C++
200,000
4,249
// index_registry.cpp: index registry system implementation #include "index_registry.hpp" #include <algorithm> #include <iostream> #include <sstream> #include <vector> #include <map> #include <random> #include <thread> #include <mutex> #include <chrono> #include <cctype> #include <cstdio> #include <cerrno> #include <...
9e8ec3aa171c556d43defbc5e9b38fce4173092648b9ce15e38ca90257374a6c
C++
200,000
3,033
#include "snarl_seed_clusterer.hpp" #include <algorithm> //#define DEBUG_CLUSTER //#define debug_distances //#define EXHAUSTIVE_CLUSTER_CHECK namespace vg { SnarlDistanceIndexClusterer::SnarlDistanceIndexClusterer( const SnarlDistanceIndex& distance_index, const HandleGraph* graph) : ...
9f9be4b754cc6d7145ec07d1e85a498497baa713c96cff5bd58f3796e5e23502
C++
200,000
5,541
#include <QCollator> #include <QCoreApplication> #include <QDir> #include <QFileInfo> #include <QFontDatabase> #include <QJsonDocument> #include <QJsonObject> #include <QPainter> #include <QPdfWriter> #include <QPrinter> #include "us_reporter_gmp.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_gu...
b321297de234ded12331f087d5ccd37268bad278d85cd7a2788085d2ef763ec4
C++
200,000
5,507
//! \file us_edit.cpp #include <QApplication> //#include <QDomDocument> #include <QToolTip> #include <QMessageBox> #include <QLineF> #include <qwt_scale_div.h> #include <qwt_scale_map.h> #include <qwt_picker_machine.h> #include "us_edit.h" #include "us_exclude_profile.h" #include "us_select_lambdas.h" #include "us_ri_...
c2df59e6d1622a095114131b01c3c8b5482584eae1937cb8b07a7db7a9c63b59
C++
200,000
5,356
#include <QApplication> #include <QtSql> #include <qwt_scale_div.h> #include "us_xpn_viewer_gui.h" #include "us_xpn_export.h" #include "us_tmst_plot.h" #include "us_license_t.h" #include "us_license.h" #include "us_util.h" #include "us_settings.h" #include "us_gui_settings.h" #include "us_plot.h" #include "us_math2.h" ...
d1e76f60ed03d0d7e7c96ea1ca08c1d4c13589ff0176e496139a9e09f02535ce
C++
200,000
5,275
#include <QCheckBox> #include <QCollator> #include <QDialog> #include <QDialogButtonBox> #include <QGroupBox> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QJsonValue> #include <QScrollArea> #include <QTimer> #include <QXmlStreamReader> #include <QtNumeric> #include "../us_fematch/us_...
eb9f1b1cc117f85d5f3b0ed3e1167bead47d55bb1934d14e24e7b13f2052a3d1
C++
200,000
3,813
/** * \file * surjector.cpp: implements a class that surjects alignments onto paths */ #include "surjector.hpp" #include "crash.hpp" #include "sequence_complexity.hpp" #include "alignment.hpp" #include "utility.hpp" #include "memoizing_graph.hpp" #include "multipath_alignment_graph.hpp" #include "reverse_graph.hp...
eedea38af86b3bad83c48cc5555d4bbe410d9d8da962c21bc5799b037689e7b0
C++
200,000
3,614
// // snarl_distance_index.cpp // // Unit tests for SnarlDistanceIndex and related functions // //TODO: Tips at the end of the top-level chain? #include <stdio.h> #include <iostream> #include <sstream> #include <set> #include <algorithm> #include <vector> #include "../io/json2graph.hpp" #include <bdsg/hash_graph.hpp...
fb42d390dde14d993bef679fba058b9b037b2ad4b779e33a3462db7b105fda85
C++
200,000
3,827
/** * \file multipath_mapper.cpp * * Implements the MultipathMapper class */ //#define debug_multipath_mapper //#define debug_multipath_mapper_alignment //#define debug_validate_multipath_alignments //#define debug_report_startup_training //#define debug_pretty_print_alignments //#define debug_time_phases //#defin...
338fd0202b855fb32c4d92e83c8230c3bd0fecdde980488239ad652a348dc890
C++
200,001
4,488
#include <unordered_set> #include "mapper.hpp" #include "graph.hpp" #include "annotation.hpp" #include "statistics.hpp" #include "path.hpp" #include "alignment.hpp" #include "translator.hpp" #include "algorithms/subgraph.hpp" #include "algorithms/nearest_offsets_in_paths.hpp" #include "algorithms/jump_along_path.hpp" #...
a6948fabf7c20bd25c0c7d584eeafd4704c1c5044f4298894a4736e5c739d923
C++
200,004
4,618
#include "alignment.hpp" #include "longest_overlap.hpp" #include "vg/io/gafkluge.hpp" #include "annotation.hpp" #include <vg/io/stream.hpp> #include <sstream> #include <chrono> using namespace vg::io; namespace vg { int hts_for_each(string& filename, function<void(Alignment&)> lambda, const PathPos...
c6fb7d7f7263093ea08bf1d1622090ca80deaa83aef2e452969d593f20768f81
C/C++
80
5
#import "UADSBaseOptions.h" @interface UADSShowOptions : UADSBaseOptions @end
df83cb0ed381112ac4bc144e0ad973996ed6fee69504e2341b3dcdb9355e6166
C/C++
105
5
#import "UnityAds.h" @interface NSString (UnityAdsError) - (UnityAdsError)unityAdsErrorFromString; @end
3ee42cf7af82c877b891a6fa52ce9c6ec0df4842159cc947f83339a86feafb4b
C/C++
119
7
#import "UADSMetaData.h" @interface UADSPlayerMetaData : UADSMetaData - (void)setServerId:(NSString *)serverId; @end
83bfc34c497f71e8c5e79daba91c764f2cb2167f3383b0402b02c67c989a24c1
C/C++
126
7
#ifndef SHD_GLOBAL_H #define SHD_GLOBAL_H typedef double shd_double; #define MPI_SHD_DOUBLE MPI_DOUBLE #endif // SHD_GLOBAL
bcb2a2a2a911135641f18afd8c2169ca7df1bac1c23ebd20de2d30a29643163d
C/C++
134
7
#import "UADSBaseOptions.h" @interface UADSLoadOptions : UADSBaseOptions @property (nonatomic, readwrite) NSString* adMarkup; @end
89579fce524dfd86254acd89c2ca56b5e722a2282dc97cac8077a0c1a1479a0e
C/C++
138
12
/* File Maxfiles.h */ #ifndef MAXFILES_H #define MAXFILES_H /** * Add .max files here */ #include "HHmc.h" #endif /* !MAXFILES_H */
f234e2554d545719d535a51ab8b92967f7ef161941db82ea32a6445d578dde6f
C/C++
140
12
/* File Maxfiles.h */ #ifndef MAXFILES_H #define MAXFILES_H /** * Add .max files here */ #include "RingIO.h" #endif /* !MAXFILES_H */
7102252f7a6fab319b4b379b7eec5901cd5e960256e99f335f72dd87addbc532
C/C++
141
12
/* File Maxfiles.h */ #ifndef MAXFILES_H #define MAXFILES_H /** * Add .max files here */ #include "IOtwoHw.h" #endif /* !MAXFILES_H */
ff34fa4e876dc9fa7f15d919675f8230366c2e0b55397a9d82eb252e7977bd89
C/C++
178
3
#import "UnityAdsExtendedDelegate.h" #warning "UnityAdsExtended.h" is deprecated and will be removed in the next major version please move to using "UnityAdsExtendedDelegate.h"
f9a9e2b9a7b0aa914aaa0a8fffa369ef08af778ac87b6ad4d5e0f5e31275a67c
C/C++
188
16
#ifndef US_CSV_H #define US_CSV_H #include <qstring.h> #include <qstringlist.h> using namespace std; class US_Csv { public: static QStringList parse_line( QString qs ); }; #endif
5b1faddc7947d4bf1741ac6d1d21de92f63187508725a5d7da743f0f72de9256
C/C++
200
7
#ifndef eslGRAPH_INCLUDED #define eslGRAPH_INCLUDED #include "esl_config.h" extern int esl_graph_MaxBipartiteMatch(int **A, int M, int N, int ***opt_G, int *ret_nedges); #endif // eslGRAPH_INCLUDED
479489d0d1192c948fadae8ba8f2d29af0eb455fe407f7e6204c8492194c120f
C/C++
202
6
// vbar for DNA .55, proteins .69 to .81 usually .72-.74 // k 1 to 4 float D_calc(float s, float vbar, float k); float s_calc(float D, float vbar, float k); float k_calc(float s, float D, float vbar);
236a4cc3c6c3b3c3c8bc42490e8e6fb7a8360da87b117e3b7f9847859a011aba
C/C++
204
9
#ifndef eslALLOC_INCLUDED #define eslALLOC_INCLUDED #include <stdlib.h> extern void *esl_alloc_aligned(size_t size, size_t alignment); extern void esl_alloc_free(void *p); #endif // eslALLOC_INCLUDED
83712e75f74080341d7b9ecb7c8126d436e4349852f6599d5698529f46160ba5
C/C++
204
9
#ifndef eslARR2_INCLUDED #define eslARR2_INCLUDED #include <stdlib.h> extern size_t esl_arr2_SSizeof(char **s, int dim1); extern void esl_arr2_Destroy(void **p, int dim1); #endif // eslARR2_INCLUDED
1e3e41070c78a934edf1b1358e542bd8c7f9143bdf76c62dd84d6dcd18a04b35
C/C++
205
6
#include "esl_config.h" extern int esl_composition_BL62(double *f); extern int esl_composition_WAG (double *f); extern int esl_composition_SW34(double *f); extern int esl_composition_SW50(double *f);
4acbe3dc35e63eb53228775ee1255742463c6c8512dd3739d512d03ea26723b3
C/C++
215
14
#ifndef US_SAXS_CMDS_T_H #define US_SAXS_CMDS_T_H #include <map> #include <vector> #include <list> #include <stdio.h> #include <stdlib.h> #include <iostream> #include "us_saxs_util.h" using namespace std; #endif
e8205f4d5dd98a1a3060ad4358edfac3e4801ecc8cf14c5bf65489c01c9a9199
C/C++
226
9
#ifndef eslARR3_INCLUDED #define eslARR3_INCLUDED #include <stdlib.h> extern size_t esl_arr3_SSizeof(char ***s, int dim1, int dim2); extern void esl_arr3_Destroy(void ***p, int dim1, int dim2); #endif // eslARR3_INCLUDED
020fd5d6d1212877f988508f6b0cd9315520fc08c7cfb588c2a2e957e9aafe68
C/C++
231
6
#ifndef mp_comp_MM_det_h__ #define mp_comp_MM_det_h__ /* Function Declarations */ void mp_comp_MM_det( double *Mdet_out, bool *MdetMsk_out, double *M_in, double *MdetThr_in, int *idx_in, int *numel_in ); #endif
2a992476cf066f293c3cc121a35f65282023d906093b52b235c92148c51b4f7c
C/C++
237
10
#import "UMONPlacementContent.h" NS_ASSUME_NONNULL_BEGIN @interface UMONRewardablePlacementContent : UMONPlacementContent @property(nonatomic) BOOL rewarded; @property(strong, nonatomic) NSString *rewardId; @end NS_ASSUME_NONNULL_END