Skip to content

Commit b75aaeb

Browse files
authored
Merge pull request #118 from rseng/update/analysis-2024-04-24
Update from update/analysis-2024-04-24
2 parents 8de446b + 5d242ac commit b75aaeb

File tree

34 files changed

+34794
-33248
lines changed

34 files changed

+34794
-33248
lines changed

_data/language_counts.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"unknown": 176,
3-
"Python": 2230,
4-
"Jupyter Notebook": 448,
3+
"Python": 2235,
4+
"Jupyter Notebook": 449,
55
"Modelica": 1,
6-
"Shell": 31,
7-
"HTML": 92,
6+
"Shell": 32,
7+
"HTML": 95,
88
"Perl": 48,
9-
"R": 668,
10-
"C++": 565,
9+
"R": 669,
10+
"C++": 569,
1111
"Java": 104,
1212
"C": 332,
1313
"Rust": 34,
@@ -19,7 +19,7 @@
1919
"Clojure": 4,
2020
"Groovy": 6,
2121
"E": 1,
22-
"Julia": 87,
22+
"Julia": 88,
2323
"null": 16,
2424
"Matlab": 10,
2525
"Scala": 8,
@@ -53,7 +53,7 @@
5353
"CMake": 3,
5454
"Stan": 2,
5555
"Lua": 3,
56-
"PHP": 5,
56+
"PHP": 6,
5757
"Gnuplot": 3,
5858
"HCL": 1,
5959
"IDL": 33,

_data/repos.json

+119-3
Original file line numberDiff line numberDiff line change
@@ -19983,6 +19983,71 @@
1998319983
"parallel",
1998419984
"python",
1998519985
"simulation"
19986+
],
19987+
"github/TravisWheelerLab/VIBES": [],
19988+
"github/robbievanleeuwen/section-properties": [
19989+
"structural-engineering",
19990+
"finite-element-analysis",
19991+
"finite-element-method",
19992+
"computational-mechanics",
19993+
"python",
19994+
"cross-section",
19995+
"stress-analysis"
19996+
],
19997+
"github/metabolomicsworkbench/MetGENE": [],
19998+
"github/MatthijsHak/MetalDock": [],
19999+
"github/CEA-MetroCarac/fitspy": [
20000+
"decomposition",
20001+
"fitting",
20002+
"gaussian",
20003+
"lmfit",
20004+
"lorentzian",
20005+
"map",
20006+
"python",
20007+
"spectral-analysis",
20008+
"spectrum"
20009+
],
20010+
"github/s-will/LocARNA": [
20011+
"alignment",
20012+
"rna-structure-prediction",
20013+
"rna-structural-analysis"
20014+
],
20015+
"github/tberlok/paicos": [],
20016+
"github/lemene/PECAT": [],
20017+
"github/PopGenClustering/Clumppling": [],
20018+
"github/Markusjsommer/BalrogCPP": [],
20019+
"github/eisascience/HISTA": [],
20020+
"github/chemprop/chemprop_benchmark": [],
20021+
"github/tomoyukif/MCPtaggR": [],
20022+
"github/musoke/UltraDark.jl": [
20023+
"cosmology",
20024+
"julia"
20025+
],
20026+
"github/mikejohnson51/AHGestimation": [],
20027+
"github/SMTG-Bham/doped": [
20028+
"ab-initio",
20029+
"computational-chemistry",
20030+
"computational-materials-science",
20031+
"defect-formation-energy",
20032+
"defects",
20033+
"dft",
20034+
"doping",
20035+
"fermi-level",
20036+
"point-defects",
20037+
"pymatgen",
20038+
"semiconductors",
20039+
"vasp",
20040+
"defect-calculation",
20041+
"defect-levels",
20042+
"defect-thermodynamics",
20043+
"shakenbreak",
20044+
"transition-levels"
20045+
],
20046+
"github/hpc-maths/samurai": [
20047+
"adaptive-mesh-refinement",
20048+
"amr",
20049+
"cartesian",
20050+
"scientific-computing"
1998620051
]
1998720052
},
1998820053
"language": {
@@ -25442,7 +25507,24 @@
2544225507
"github/tesselle/aion": "R",
2544325508
"github/GRChombo/GRDzhadzha": "C++",
2544425509
"github/KenethGarcia/ClassiPyGRB": "Python",
25445-
"github/CEMeNT-PSAAP/MCDC": "Python"
25510+
"github/CEMeNT-PSAAP/MCDC": "Python",
25511+
"github/TravisWheelerLab/VIBES": "HTML",
25512+
"github/robbievanleeuwen/section-properties": "Python",
25513+
"github/metabolomicsworkbench/MetGENE": "PHP",
25514+
"github/MatthijsHak/MetalDock": "Python",
25515+
"github/CEA-MetroCarac/fitspy": "Python",
25516+
"github/s-will/LocARNA": "C++",
25517+
"github/tberlok/paicos": "Jupyter Notebook",
25518+
"github/lemene/PECAT": "C++",
25519+
"github/PopGenClustering/Clumppling": "Python",
25520+
"github/Markusjsommer/BalrogCPP": "C++",
25521+
"github/eisascience/HISTA": "HTML",
25522+
"github/chemprop/chemprop_benchmark": "Shell",
25523+
"github/tomoyukif/MCPtaggR": "R",
25524+
"github/musoke/UltraDark.jl": "Julia",
25525+
"github/mikejohnson51/AHGestimation": "HTML",
25526+
"github/SMTG-Bham/doped": "Python",
25527+
"github/hpc-maths/samurai": "C++"
2544625528
},
2544725529
"url": {
2544825530
"gitlab/chiemotono/mdcontactcom": "https://gitlab.com/chiemotono/mdcontactcom",
@@ -30901,7 +30983,24 @@
3090130983
"github/tesselle/aion": "https://github.com/tesselle/aion",
3090230984
"github/GRChombo/GRDzhadzha": "https://github.com/GRTLCollaboration/GRDzhadzha",
3090330985
"github/KenethGarcia/ClassiPyGRB": "https://github.com/KenethGarcia/ClassiPyGRB",
30904-
"github/CEMeNT-PSAAP/MCDC": "https://github.com/CEMeNT-PSAAP/MCDC"
30986+
"github/CEMeNT-PSAAP/MCDC": "https://github.com/CEMeNT-PSAAP/MCDC",
30987+
"github/TravisWheelerLab/VIBES": "https://github.com/TravisWheelerLab/VIBES",
30988+
"github/robbievanleeuwen/section-properties": "https://github.com/robbievanleeuwen/section-properties",
30989+
"github/metabolomicsworkbench/MetGENE": "https://github.com/metabolomicsworkbench/MetGENE",
30990+
"github/MatthijsHak/MetalDock": "https://github.com/MatthijsHak/MetalDock",
30991+
"github/CEA-MetroCarac/fitspy": "https://github.com/CEA-MetroCarac/fitspy",
30992+
"github/s-will/LocARNA": "https://github.com/s-will/LocARNA",
30993+
"github/tberlok/paicos": "https://github.com/tberlok/paicos",
30994+
"github/lemene/PECAT": "https://github.com/lemene/PECAT",
30995+
"github/PopGenClustering/Clumppling": "https://github.com/PopGenClustering/Clumppling",
30996+
"github/Markusjsommer/BalrogCPP": "https://github.com/Markusjsommer/BalrogCPP",
30997+
"github/eisascience/HISTA": "https://github.com/eisascience/HISTA",
30998+
"github/chemprop/chemprop_benchmark": "https://github.com/chemprop/chemprop_benchmark",
30999+
"github/tomoyukif/MCPtaggR": "https://github.com/tomoyukif/MCPtaggR",
31000+
"github/musoke/UltraDark.jl": "https://github.com/musoke/UltraDark.jl",
31001+
"github/mikejohnson51/AHGestimation": "https://github.com/mikejohnson51/AHGestimation",
31002+
"github/SMTG-Bham/doped": "https://github.com/SMTG-Bham/doped",
31003+
"github/hpc-maths/samurai": "https://github.com/hpc-maths/samurai"
3090531004
},
3090631005
"description": {
3090731006
"gitlab/chiemotono/mdcontactcom": "",
@@ -36360,6 +36459,23 @@
3636036459
"github/tesselle/aion": ":stopwatch: Archaeological Time Series",
3636136460
"github/GRChombo/GRDzhadzha": "A code to evolve matter on curved spacetimes with an analytic time and space dependence, e.g. black holes",
3636236461
"github/KenethGarcia/ClassiPyGRB": "This repository contains all the updates, code, and documentation related to ClassiPyGRB.",
36363-
"github/CEMeNT-PSAAP/MCDC": "MC/DC: Monte Carlo Dynamic Code"
36462+
"github/CEMeNT-PSAAP/MCDC": "MC/DC: Monte Carlo Dynamic Code",
36463+
"github/TravisWheelerLab/VIBES": "Viral Integrations in Bacterial genomES",
36464+
"github/robbievanleeuwen/section-properties": "Analysis of an arbitrary cross-section in python using the finite element method.",
36465+
"github/metabolomicsworkbench/MetGENE": "Gene-centric Metabolomics Information Retrieval Tool",
36466+
"github/MatthijsHak/MetalDock": "Dock organometallic compounds to proteins/DNA/biomolecules",
36467+
"github/CEA-MetroCarac/fitspy": "Generic tool dedicated to fit spectra in python ",
36468+
"github/s-will/LocARNA": "Alignment of RNAs",
36469+
"github/tberlok/paicos": "An object-oriented Python package for analysis of (cosmological) simulations performed with Arepo",
36470+
"github/lemene/PECAT": "PECAT, a phased error correct and assembly tool",
36471+
"github/PopGenClustering/Clumppling": null,
36472+
"github/Markusjsommer/BalrogCPP": "A universal protein model for prokaryotic gene prediction",
36473+
"github/eisascience/HISTA": "Human Infertility Single-cell Testis Atlas",
36474+
"github/chemprop/chemprop_benchmark": " Chemprop benchmarking scripts and data",
36475+
"github/tomoyukif/MCPtaggR": null,
36476+
"github/musoke/UltraDark.jl": "Simulations of cosmological scalar fields",
36477+
"github/mikejohnson51/AHGestimation": "Estimating robust, mass conserving AHG relationships",
36478+
"github/SMTG-Bham/doped": "doped is a Python software for the generation, pre-/post-processing and analysis of defect supercell calculations, implementing the defect simulation workflow in an efficient, reproducible, user-friendly yet powerful and fully-customisable manner.",
36479+
"github/hpc-maths/samurai": "Intervals coupled with algebra of set to handle adaptive mesh refinement and operators on it."
3636436480
}
3636536481
}

_data/repos_counts_languages.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Python": 6006,
2+
"Python": 6008,
33
"R": 2241,
44
"Cpp": 441,
55
"Js": 1692,

_data/stats.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"python_deps": 4961,
2+
"python_deps": 4962,
33
"cpp_deps": 441,
44
"r_deps": 2241,
55
"js_deps": 1692,
66
"go_deps": 246,
7-
"total_repos": 5457,
8-
"total_parsed": 2783
7+
"total_repos": 5474,
8+
"total_parsed": 2785
99
}

_repos/github/COMBINE-lab/salmon/CMakeLists.txt

+18-45
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ endif()
428428
##
429429
# Set the latest version and look for what we need
430430
##
431-
set(Boost_ADDITIONAL_VERSIONS "1.59.0" "1.60.0" "1.61.0" "1.62.0" "1.63.0" "1.64.0" "1.65.0" "1.66.0" "1.67.0" "1.68.0" "1.69.0" "1.70.0" "1.71.0" "1.72.0" "1.73.0" "1.74.0" "1.75.0" "1.76.0" "1.77.0" "1.78.0")
431+
set(Boost_ADDITIONAL_VERSIONS "1.59.0" "1.60.0" "1.61.0" "1.62.0" "1.63.0" "1.64.0" "1.65.0" "1.66.0" "1.67.0" "1.68.0" "1.69.0" "1.70.0" "1.71.0" "1.72.0" "1.73.0" "1.74.0" "1.75.0" "1.76.0" "1.77.0" "1.78.0" "1.79.0" "1.80.0" "1.81.0" "1.82.0" "1.83.0" "1.84.0")
432432
if (NOT BOOST_RECONFIGURE)
433433
find_package(Boost 1.59.0 COMPONENTS iostreams system filesystem timer chrono program_options)
434434
message("BOOST_INCLUDEDIR = ${BOOST_INCLUDEDIR}")
@@ -548,38 +548,6 @@ message("BOOST LIBRARIES = ${Boost_LIBRARIES}")
548548

549549
set(EXTERNAL_LIBRARY_PATH $CMAKE_CURRENT_SOURCE_DIR/lib)
550550

551-
#find_package(libdivsufsort)
552-
#if(NOT LIBDIVSUFSORT_FOUND)
553-
# message("Build system will build libdivsufsort")
554-
# message("==================================================================")
555-
# include(ExternalProject)
556-
# externalproject_add(libdivsufsort
557-
# DOWNLOAD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external
558-
# URL ${CMAKE_CURRENT_SOURCE_DIR}/external/libdivsufsort.zip
559-
# # Note: This zip comes from the fetched rapmap.zip, whose SHA we check
560-
# # so we souldn't need to check this one separately.
561-
# SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/libdivsufsort-master
562-
# INSTALL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/install
563-
# #UPDATE_COMMAND sh -c "mkdir -p <SOURCE_DIR>/build"
564-
# BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/libdivsufsort-master/build
565-
# CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DBUILD_DIVSUFSORT64=TRUE -DUSE_OPENMP=TRUE -DBUILD_SHARED_LIBS=FALSE
566-
# )
567-
# externalproject_add_step(libdivsufsort makedir
568-
# COMMAND mkdir -p <SOURCE_DIR>/build
569-
# COMMENT "Make build directory"
570-
# DEPENDEES download
571-
# DEPENDERS configure)
572-
#
573-
# set(SUFFARRAY_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/external/install/include)
574-
# set(FETCHED_LIBDIVSUFSORT TRUE)
575-
#else()
576-
# message("SUFFARRAY_LIB = ${SUFFARRAY_LIBRARY}")
577-
# set(SUFFARRAY_LIB ${SUFFARRAY_LIBRARY})
578-
# message("SUFFARRAY_LIB64 = ${SUFFARRAY_LIBRARY64}")
579-
# set(SUFFARRAY_LIB64 ${SUFFARRAY_LIBRARY64})
580-
# set(SUFFARRAY_INCLUDE_DIRS ${SUFFARRAY_INCLUDE_DIR})
581-
#endif()
582-
583551
find_package(cereal "1.3.2")
584552
if (NOT CEREAL_FOUND)
585553
message("Build system will fetch and build the cereal serialization library")
@@ -642,7 +610,7 @@ endif()
642610
message("Build system will fetch and build Intel Threading Building Blocks")
643611
message("==================================================================")
644612
# These are useful for the custom install step we'll do later
645-
set(TBB_SOURCE_DIR ${GAT_SOURCE_DIR}/external/oneTBB-2021.9.0)
613+
set(TBB_SOURCE_DIR ${GAT_SOURCE_DIR}/external/oneTBB-2021.11.0)
646614
set(TBB_INSTALL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/install)
647615

648616
if("${TBB_COMPILER}" STREQUAL "gcc")
@@ -653,11 +621,13 @@ endif()
653621

654622
set(TBB_CXXFLAGS "${TBB_CXXFLAGS} ${CXXSTDFLAG} ${SCHAR_FLAG}")
655623

624+
625+
656626
ExternalProject_Add(libtbb
657627
DOWNLOAD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external
658-
DOWNLOAD_COMMAND curl -k -L https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.9.0.tar.gz -o v2021.9.tar.gz &&
659-
${SHASUM} 1ce48f34dada7837f510735ff1172f6e2c261b09460e3bf773b49791d247d24e v2021.9.tar.gz &&
660-
tar -xzvf v2021.9.tar.gz
628+
DOWNLOAD_COMMAND curl -k -L https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.11.0.tar.gz -o v2021.11.0.tar.gz &&
629+
${SHASUM} 782ce0cab62df9ea125cdea253a50534862b563f1d85d4cda7ad4e77550ac363 v2021.11.0.tar.gz &&
630+
tar -xzvf v2021.11.0.tar.gz
661631
SOURCE_DIR ${TBB_SOURCE_DIR}
662632
INSTALL_DIR ${TBB_INSTALL_DIR}
663633
PATCH_COMMAND "${TBB_PATCH_STEP}"
@@ -785,26 +755,29 @@ find_package(CURL)
785755
if (FETCH_STADEN)
786756
set(LIBSTADEN_FOUND FALSE)
787757
else ()
788-
find_package(libstadenio 1.14.15)
758+
find_package(libstadenio 1.15.0)
789759
endif()
790760

791761
if (NOT LIBSTADENIO_FOUND)
792762
message("Build system will compile Staden IOLib")
793763
message("==================================================================")
794764
externalproject_add(libstadenio
795765
DOWNLOAD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external
796-
DOWNLOAD_COMMAND curl -k -L https://github.com/jkbonfield/io_lib/releases/download/io_lib-1-14-15/io_lib-1.14.15.tar.gz -o staden-io_lib-v1.14.15.tar.gz &&
797-
${SHASUM} 20814c4365e1e2fe6630fb11d0df370dec4c5688af3871de7f1cb0129671401e staden-io_lib-v1.14.15.tar.gz &&
798-
mkdir -p staden-io_lib-1.14.15 &&
799-
tar -xzf staden-io_lib-v1.14.15.tar.gz --strip-components=1 -C staden-io_lib-1.14.15 &&
766+
DOWNLOAD_COMMAND curl -k -L https://github.com/jkbonfield/io_lib/releases/download/io_lib-1-15-0/io_lib-1.15.0.tar.gz -o staden-io_lib-v1.15.0.tar.gz &&
767+
${SHASUM} ad343dac7c77086db1b54585c5887b26eda6430d1639d111dd3304c3b749494f staden-io_lib-v1.15.0.tar.gz &&
768+
mkdir -p staden-io_lib-1.15.0 &&
769+
tar -xzf staden-io_lib-v1.15.0.tar.gz --strip-components=1 -C staden-io_lib-1.15.0 &&
800770
rm -fr staden-io_lib &&
801-
mv -f staden-io_lib-1.14.15 staden-io_lib
771+
mv -f staden-io_lib-1.15.0 staden-io_lib &&
772+
curl -k -L https://github.com/samtools/htscodecs/releases/download/v1.6.0/htscodecs-1.6.0.tar.gz -o htscodecs-1.6.0.tar.gz &&
773+
mkdir -p htscodecs-1.6.0 &&
774+
tar -xzf htscodecs-1.6.0.tar.gz --strip-components=1 -C htscodecs-1.6.0 &&
775+
rm -fr staden-io_lib/htscodecs &&
776+
mv -f htscodecs-1.6.0 staden-io_lib/htscodecs
802777
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/staden-io_lib
803778
INSTALL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/install
804779
CONFIGURE_COMMAND ./configure --enable-shared=no --without-libcurl --prefix=<INSTALL_DIR> LDFLAGS=${LIBSTADEN_LDFLAGS} CFLAGS=${LIBSTADEN_CFLAGS} CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER}
805780
BUILD_COMMAND make ${QUIET_MAKE} CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} CFLAGS+=${STADEN_INC} CFLAGS+=${STADEN_LIB} LDFLAGS+=${EXTRA_CMAKE_LIBRARY_FLAGS} CFLAGS+=${EXTRA_CMAKE_INCLUDE_FLAGS} CFLAGS+=${LZFLAG} CFLAGS+=${SCHAR_FLAG}
806-
807-
808781
BUILD_IN_SOURCE 1
809782
INSTALL_COMMAND make install
810783
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
cmake_minimum_required(VERSION 3.16)
2+
project(balrog)
3+
4+
set(CMAKE_CXX_STANDARD 14)
5+
6+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
7+
8+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
9+
10+
file(GLOB globbed
11+
"*.h"
12+
"*.cpp"
13+
)
14+
15+
include_directories(include)
16+
include_directories(include/gzip)
17+
18+
execute_process(
19+
COMMAND python -c "import torch; import os; print(os.path.dirname(torch.__file__), end='')"
20+
OUTPUT_VARIABLE TorchPath
21+
)
22+
list(APPEND CMAKE_PREFIX_PATH ${TorchPath})
23+
24+
set(CMAKE_VERBOSE_MAKEFILE ON)
25+
26+
if (APPLE)
27+
execute_process(
28+
COMMAND python -c "import torch; import os; print('@executable_path/../' + '/'.join((os.path.dirname(torch.__file__)).split('/')[-4:]) + '/lib', end='')"
29+
OUTPUT_VARIABLE TorchPathR
30+
)
31+
else()
32+
execute_process(
33+
COMMAND python -c "import torch; import os; print('$ORIGIN/../' + '/'.join((os.path.dirname(torch.__file__)).split('/')[-4:]) + '/lib', end='')"
34+
OUTPUT_VARIABLE TorchPathR
35+
)
36+
endif()
37+
set(CMAKE_INSTALL_RPATH TorchPathR)
38+
39+
40+
find_package(Torch REQUIRED)
41+
42+
add_executable(balrog main.cpp ${globbed} include/tqdm.h include/FastaReader.cpp include/FastaReader.h include/GeneFinder.cpp include/GeneFinder.h)
43+
44+
target_link_libraries(balrog ${TORCH_LIBRARIES})
45+
set_property(TARGET balrog PROPERTY CXX_STANDARD 14)
46+
47+
48+
find_package( ZLIB REQUIRED )
49+
if ( ZLIB_FOUND )
50+
include_directories( ${ZLIB_INCLUDE_DIRS} )
51+
target_link_libraries( balrog ${ZLIB_LIBRARIES} )
52+
endif( ZLIB_FOUND )
53+
54+
55+
include(CMakeRC)
56+
cmrc_add_resource_library(
57+
cmakeresources
58+
NAMESPACE cmakeresources
59+
WHENCE data
60+
data/gene_model_v1.0.pt
61+
data/TIS_model_v1.0.pt
62+
data/reference_genes.tar.gz
63+
)
64+
65+
target_link_libraries(${PROJECT_NAME} cmakeresources)
66+
67+
install(
68+
TARGETS balrog
69+
RUNTIME DESTINATION bin
70+
LIBRARY DESTINATION lib
71+
)

0 commit comments

Comments
 (0)