pyinfernal 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. pyinfernal-0.1.0/.github/workflows/package.yml +217 -0
  2. pyinfernal-0.1.0/.github/workflows/requirements.txt +20 -0
  3. pyinfernal-0.1.0/.github/workflows/test.yml +173 -0
  4. pyinfernal-0.1.0/.gitignore +180 -0
  5. pyinfernal-0.1.0/.gitmodules +3 -0
  6. pyinfernal-0.1.0/.readthedocs.yaml +28 -0
  7. pyinfernal-0.1.0/CHANGELOG.md +14 -0
  8. pyinfernal-0.1.0/CMakeLists.txt +29 -0
  9. pyinfernal-0.1.0/CONTRIBUTING.md +40 -0
  10. pyinfernal-0.1.0/COPYING +21 -0
  11. pyinfernal-0.1.0/PKG-INFO +167 -0
  12. pyinfernal-0.1.0/README.md +128 -0
  13. pyinfernal-0.1.0/include/libinfernal/__init__.pxd +127 -0
  14. pyinfernal-0.1.0/include/libinfernal/cm.pxd +316 -0
  15. pyinfernal-0.1.0/include/libinfernal/cm_alidisplay.pxd +63 -0
  16. pyinfernal-0.1.0/include/libinfernal/cm_file.pxd +60 -0
  17. pyinfernal-0.1.0/include/libinfernal/cm_modelconfig.pxd +8 -0
  18. pyinfernal-0.1.0/include/libinfernal/cm_mx.pxd +467 -0
  19. pyinfernal-0.1.0/include/libinfernal/cm_p7_modelconfig.pxd +11 -0
  20. pyinfernal-0.1.0/include/libinfernal/cm_pipeline.pxd +248 -0
  21. pyinfernal-0.1.0/include/libinfernal/cm_qdband.pxd +41 -0
  22. pyinfernal-0.1.0/include/libinfernal/cm_tophits.pxd +104 -0
  23. pyinfernal-0.1.0/include/libinfernal/cmsearch.pxd +27 -0
  24. pyinfernal-0.1.0/include/libinfernal/cp9.pxd +61 -0
  25. pyinfernal-0.1.0/include/libinfernal/hmmband.pxd +63 -0
  26. pyinfernal-0.1.0/include/libinfernal/logsum.pxd +9 -0
  27. pyinfernal-0.1.0/include/libinfernal/stats.pxd +40 -0
  28. pyinfernal-0.1.0/patches/cm_file.c.patch +124 -0
  29. pyinfernal-0.1.0/patches/cm_pipeline.c.patch +463 -0
  30. pyinfernal-0.1.0/patches/infernal.h.patch +16 -0
  31. pyinfernal-0.1.0/pyproject.toml +138 -0
  32. pyinfernal-0.1.0/src/CMakeLists.txt +2 -0
  33. pyinfernal-0.1.0/src/infernal/CMakeLists.txt +173 -0
  34. pyinfernal-0.1.0/src/infernal/config.h.cmake +91 -0
  35. pyinfernal-0.1.0/src/pyinfernal/CMakeLists.txt +3 -0
  36. pyinfernal-0.1.0/src/pyinfernal/__init__.py +62 -0
  37. pyinfernal-0.1.0/src/pyinfernal/_strings.pxi +105 -0
  38. pyinfernal-0.1.0/src/pyinfernal/cm.pyx +2152 -0
  39. pyinfernal-0.1.0/src/pyinfernal/exceptions.pxi +63 -0
  40. pyinfernal-0.1.0/src/pyinfernal/infernal/__init__.py +16 -0
  41. pyinfernal-0.1.0/src/pyinfernal/infernal/_base.py +30 -0
  42. pyinfernal-0.1.0/src/pyinfernal/infernal/_cmsearch.py +443 -0
  43. pyinfernal-0.1.0/src/pyinfernal/tests/__init__.py +11 -0
  44. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/5.c.cbm +0 -0
  45. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/5.c.cm +1 -0
  46. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/RF00029.cm +599 -0
  47. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/RF00042.cm +698 -0
  48. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/RF00107.cm +587 -0
  49. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/RF00243.cm +824 -0
  50. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/RF03523.cm +472 -0
  51. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/tRNA.c.cbm +0 -0
  52. pyinfernal-0.1.0/src/pyinfernal/tests/data/cms/tRNA.c.cm +1 -0
  53. pyinfernal-0.1.0/src/pyinfernal/tests/data/seqs/pANT_R100.fa +1988 -0
  54. pyinfernal-0.1.0/src/pyinfernal/tests/data/tables/pANT.5c.Z0_1.tbl +18 -0
  55. pyinfernal-0.1.0/src/pyinfernal/tests/data/tables/pANT.RF00029.Z0_1.tbl +15 -0
  56. pyinfernal-0.1.0/src/pyinfernal/tests/data/tables/pANT.RF00042.Z0_1.tbl +16 -0
  57. pyinfernal-0.1.0/src/pyinfernal/tests/data/tables/pANT.RF00107.Z0_1.tbl +17 -0
  58. pyinfernal-0.1.0/src/pyinfernal/tests/data/tables/pANT.RF00243.Z0_1.tbl +17 -0
  59. pyinfernal-0.1.0/src/pyinfernal/tests/data/tables/pANT.RF03523.Z0_1.tbl +14 -0
  60. pyinfernal-0.1.0/src/pyinfernal/tests/data/tables/pANT.RFall.Z0_1.tbl +31 -0
  61. pyinfernal-0.1.0/src/pyinfernal/tests/test_cm/__init__.py +7 -0
  62. pyinfernal-0.1.0/src/pyinfernal/tests/test_cm/test_cmfile.py +110 -0
  63. pyinfernal-0.1.0/src/pyinfernal/tests/test_doctest.py +100 -0
  64. pyinfernal-0.1.0/src/pyinfernal/tests/test_infernal/__init__.py +7 -0
  65. pyinfernal-0.1.0/src/pyinfernal/tests/test_infernal/test_cmsearch.py +278 -0
  66. pyinfernal-0.1.0/src/pyinfernal/tests/utils.py +21 -0
  67. pyinfernal-0.1.0/src/scripts/apply_patch.py +63 -0
  68. pyinfernal-0.1.0/src/scripts/cmake/CythonExtension.cmake +157 -0
  69. pyinfernal-0.1.0/src/scripts/cmake/FindAVX2.cmake +104 -0
  70. pyinfernal-0.1.0/src/scripts/cmake/FindNEON.cmake +97 -0
  71. pyinfernal-0.1.0/src/scripts/cmake/FindSSE2.cmake +100 -0
  72. pyinfernal-0.1.0/src/scripts/cmake/FindSSE4.cmake +100 -0
  73. pyinfernal-0.1.0/src/scripts/cmake/FindVMX.cmake +93 -0
  74. pyinfernal-0.1.0/src/scripts/generate_patches.py +49 -0
  75. pyinfernal-0.1.0/vendor/infernal/.gitignore +4 -0
  76. pyinfernal-0.1.0/vendor/infernal/Bugs/00README +54 -0
  77. pyinfernal-0.1.0/vendor/infernal/Bugs/BUGTRAX +1537 -0
  78. pyinfernal-0.1.0/vendor/infernal/INSTALL +17 -0
  79. pyinfernal-0.1.0/vendor/infernal/LICENSE +61 -0
  80. pyinfernal-0.1.0/vendor/infernal/Makefile.in +212 -0
  81. pyinfernal-0.1.0/vendor/infernal/README.md +97 -0
  82. pyinfernal-0.1.0/vendor/infernal/autobuild/00README +115 -0
  83. pyinfernal-0.1.0/vendor/infernal/autobuild/intel-linux-gcc +7 -0
  84. pyinfernal-0.1.0/vendor/infernal/autobuild/intel-linux-icc-ia32-mpi +13 -0
  85. pyinfernal-0.1.0/vendor/infernal/autobuild/intel-linux-icc-intel64-mpi +13 -0
  86. pyinfernal-0.1.0/vendor/infernal/autobuild/intel-macosx-gcc +19 -0
  87. pyinfernal-0.1.0/vendor/infernal/autobuild/intel-macosx-gcc-debug +19 -0
  88. pyinfernal-0.1.0/vendor/infernal/autobuild/ppc-aix-xlc +19 -0
  89. pyinfernal-0.1.0/vendor/infernal/autobuild/ppc-macosx +13 -0
  90. pyinfernal-0.1.0/vendor/infernal/config.guess +1462 -0
  91. pyinfernal-0.1.0/vendor/infernal/config.sub +1677 -0
  92. pyinfernal-0.1.0/vendor/infernal/configure.ac +870 -0
  93. pyinfernal-0.1.0/vendor/infernal/install-sh +295 -0
  94. pyinfernal-0.1.0/vendor/infernal/makeTAGS.sh +41 -0
  95. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-25.mat +33 -0
  96. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-30.mat +33 -0
  97. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-35.mat +33 -0
  98. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-40.mat +33 -0
  99. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-45.mat +33 -0
  100. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-50.mat +33 -0
  101. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-55.mat +33 -0
  102. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-60.mat +33 -0
  103. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-65.mat +33 -0
  104. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-70.mat +33 -0
  105. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-75.mat +33 -0
  106. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-80.mat +33 -0
  107. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-85.mat +33 -0
  108. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-90.mat +33 -0
  109. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100-95.mat +33 -0
  110. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM100.mat +33 -0
  111. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-30.mat +33 -0
  112. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-35.mat +33 -0
  113. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-40.mat +33 -0
  114. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-45.mat +33 -0
  115. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-50.mat +33 -0
  116. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-55.mat +33 -0
  117. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-60.mat +33 -0
  118. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-65.mat +33 -0
  119. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-70.mat +33 -0
  120. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-75.mat +33 -0
  121. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45-80.mat +33 -0
  122. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM45.mat +33 -0
  123. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-25.mat +33 -0
  124. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-30.mat +33 -0
  125. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-35.mat +33 -0
  126. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-40.mat +33 -0
  127. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-45.mat +33 -0
  128. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-50.mat +33 -0
  129. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-55.mat +33 -0
  130. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-60.mat +33 -0
  131. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-65.mat +33 -0
  132. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-70.mat +33 -0
  133. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-75.mat +33 -0
  134. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-80.mat +33 -0
  135. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-85.mat +33 -0
  136. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-90.mat +33 -0
  137. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55-95.mat +33 -0
  138. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM55.mat +33 -0
  139. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-25.mat +33 -0
  140. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-30.mat +33 -0
  141. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-35.mat +33 -0
  142. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-40.mat +33 -0
  143. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-45.mat +33 -0
  144. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-50.mat +33 -0
  145. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-55.mat +33 -0
  146. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-60.mat +33 -0
  147. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-65.mat +33 -0
  148. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-70.mat +33 -0
  149. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-75.mat +33 -0
  150. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-80.mat +33 -0
  151. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-85.mat +33 -0
  152. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-90.mat +33 -0
  153. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60-95.mat +33 -0
  154. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM60.mat +33 -0
  155. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-25.mat +33 -0
  156. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-30.mat +33 -0
  157. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-35.mat +33 -0
  158. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-40.mat +33 -0
  159. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-45.mat +33 -0
  160. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-50.mat +33 -0
  161. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-55.mat +33 -0
  162. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-60.mat +33 -0
  163. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-65.mat +33 -0
  164. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-70.mat +33 -0
  165. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-75.mat +33 -0
  166. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-80.mat +33 -0
  167. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-85.mat +33 -0
  168. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-90.mat +33 -0
  169. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65-95.mat +33 -0
  170. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM65.mat +33 -0
  171. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-25.mat +33 -0
  172. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-30.mat +33 -0
  173. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-35.mat +33 -0
  174. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-40.mat +33 -0
  175. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-45.mat +33 -0
  176. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-50.mat +33 -0
  177. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-55.mat +33 -0
  178. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-60.mat +33 -0
  179. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-65.mat +33 -0
  180. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-70.mat +33 -0
  181. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-75.mat +33 -0
  182. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-80.mat +33 -0
  183. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-85.mat +33 -0
  184. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-90.mat +33 -0
  185. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70-95.mat +33 -0
  186. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM70.mat +33 -0
  187. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-25.mat +33 -0
  188. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-30.mat +33 -0
  189. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-35.mat +33 -0
  190. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-40.mat +33 -0
  191. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-45.mat +33 -0
  192. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-50.mat +33 -0
  193. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-55.mat +33 -0
  194. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-60.mat +33 -0
  195. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-65.mat +33 -0
  196. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-70.mat +33 -0
  197. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-75.mat +33 -0
  198. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-80.mat +33 -0
  199. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-85.mat +33 -0
  200. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-90.mat +33 -0
  201. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75-95.mat +33 -0
  202. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM75.mat +33 -0
  203. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-25.mat +33 -0
  204. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-30.mat +33 -0
  205. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-35.mat +33 -0
  206. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-40.mat +33 -0
  207. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-45.mat +33 -0
  208. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-50.mat +33 -0
  209. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-55.mat +33 -0
  210. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-60.mat +33 -0
  211. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-65.mat +33 -0
  212. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-70.mat +33 -0
  213. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-75.mat +33 -0
  214. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-80.mat +33 -0
  215. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-85.mat +33 -0
  216. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-90.mat +33 -0
  217. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80-95.mat +33 -0
  218. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM80.mat +33 -0
  219. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-25.mat +33 -0
  220. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-30.mat +33 -0
  221. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-35.mat +33 -0
  222. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-40.mat +33 -0
  223. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-45.mat +33 -0
  224. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-50.mat +33 -0
  225. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-55.mat +33 -0
  226. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-60.mat +33 -0
  227. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-65.mat +33 -0
  228. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-70.mat +33 -0
  229. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-75.mat +33 -0
  230. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-80.mat +33 -0
  231. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-85.mat +33 -0
  232. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-90.mat +33 -0
  233. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85-95.mat +33 -0
  234. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM85.mat +33 -0
  235. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-30.mat +33 -0
  236. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-35.mat +33 -0
  237. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-40.mat +33 -0
  238. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-45.mat +33 -0
  239. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-50.mat +33 -0
  240. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-55.mat +33 -0
  241. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-60.mat +33 -0
  242. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-65.mat +33 -0
  243. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-70.mat +33 -0
  244. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-75.mat +33 -0
  245. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-80.mat +33 -0
  246. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-85.mat +33 -0
  247. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-90.mat +33 -0
  248. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90-95.mat +33 -0
  249. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM90.mat +33 -0
  250. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-30.mat +33 -0
  251. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-35.mat +33 -0
  252. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-40.mat +33 -0
  253. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-45.mat +33 -0
  254. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-50.mat +33 -0
  255. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-55.mat +33 -0
  256. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-60.mat +33 -0
  257. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-65.mat +33 -0
  258. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-70.mat +33 -0
  259. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-75.mat +33 -0
  260. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-80.mat +33 -0
  261. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-85.mat +33 -0
  262. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-90.mat +33 -0
  263. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95-95.mat +33 -0
  264. pyinfernal-0.1.0/vendor/infernal/matrices/RIBOSUM95.mat +33 -0
  265. pyinfernal-0.1.0/vendor/infernal/release-notes/LICENSE.sh.in +14 -0
  266. pyinfernal-0.1.0/vendor/infernal/release-notes/LICENSE.tag +8 -0
  267. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.53 +4 -0
  268. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.54 +2 -0
  269. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.55 +18 -0
  270. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.6 +26 -0
  271. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.7 +28 -0
  272. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.71 +53 -0
  273. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.72 +60 -0
  274. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.8 +26 -0
  275. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-0.81 +33 -0
  276. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.0 +118 -0
  277. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.0.2 +177 -0
  278. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1 +14 -0
  279. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1.1 +173 -0
  280. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1.2 +29 -0
  281. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1.3.md +74 -0
  282. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1.4.md +48 -0
  283. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1.5.md +94 -0
  284. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1rc1 +67 -0
  285. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1rc2 +59 -0
  286. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1rc3 +19 -0
  287. pyinfernal-0.1.0/vendor/infernal/release-notes/RELEASE-1.1rc4 +19 -0
  288. pyinfernal-0.1.0/vendor/infernal/src/Makefile.in +274 -0
  289. pyinfernal-0.1.0/vendor/infernal/src/Rfam.12.1.claninfo +104 -0
  290. pyinfernal-0.1.0/vendor/infernal/src/alphabet.c +654 -0
  291. pyinfernal-0.1.0/vendor/infernal/src/bandcyk-montecarlo-test.c +155 -0
  292. pyinfernal-0.1.0/vendor/infernal/src/bandcyk-truncation-test.c +163 -0
  293. pyinfernal-0.1.0/vendor/infernal/src/cm.c +5135 -0
  294. pyinfernal-0.1.0/vendor/infernal/src/cm_alidisplay.c +1594 -0
  295. pyinfernal-0.1.0/vendor/infernal/src/cm_alndata.c +505 -0
  296. pyinfernal-0.1.0/vendor/infernal/src/cm_dispatch.h +52 -0
  297. pyinfernal-0.1.0/vendor/infernal/src/cm_dpalign.c +6057 -0
  298. pyinfernal-0.1.0/vendor/infernal/src/cm_dpalign_trunc.c +10477 -0
  299. pyinfernal-0.1.0/vendor/infernal/src/cm_dpsearch.c +4447 -0
  300. pyinfernal-0.1.0/vendor/infernal/src/cm_dpsearch_trunc.c +3892 -0
  301. pyinfernal-0.1.0/vendor/infernal/src/cm_dpsmall.c +7122 -0
  302. pyinfernal-0.1.0/vendor/infernal/src/cm_file.c +3786 -0
  303. pyinfernal-0.1.0/vendor/infernal/src/cm_modelconfig.c +805 -0
  304. pyinfernal-0.1.0/vendor/infernal/src/cm_modelmaker.c +2227 -0
  305. pyinfernal-0.1.0/vendor/infernal/src/cm_mx.c +7671 -0
  306. pyinfernal-0.1.0/vendor/infernal/src/cm_p7_band.c +2497 -0
  307. pyinfernal-0.1.0/vendor/infernal/src/cm_p7_domaindef.c +581 -0
  308. pyinfernal-0.1.0/vendor/infernal/src/cm_p7_modelconfig_trunc.c +171 -0
  309. pyinfernal-0.1.0/vendor/infernal/src/cm_p7_modelmaker.c +583 -0
  310. pyinfernal-0.1.0/vendor/infernal/src/cm_parsetree.c +4733 -0
  311. pyinfernal-0.1.0/vendor/infernal/src/cm_pipeline.c +4910 -0
  312. pyinfernal-0.1.0/vendor/infernal/src/cm_qdband.c +1086 -0
  313. pyinfernal-0.1.0/vendor/infernal/src/cm_submodel.c +4416 -0
  314. pyinfernal-0.1.0/vendor/infernal/src/cm_tophits.c +3797 -0
  315. pyinfernal-0.1.0/vendor/infernal/src/cm_trunc.c +784 -0
  316. pyinfernal-0.1.0/vendor/infernal/src/cmalign.c +2654 -0
  317. pyinfernal-0.1.0/vendor/infernal/src/cmbuild.c +3578 -0
  318. pyinfernal-0.1.0/vendor/infernal/src/cmcalibrate.c +2732 -0
  319. pyinfernal-0.1.0/vendor/infernal/src/cmconvert.c +161 -0
  320. pyinfernal-0.1.0/vendor/infernal/src/cmemit.c +759 -0
  321. pyinfernal-0.1.0/vendor/infernal/src/cmfetch.c +335 -0
  322. pyinfernal-0.1.0/vendor/infernal/src/cmpress.c +234 -0
  323. pyinfernal-0.1.0/vendor/infernal/src/cmscan.c +3216 -0
  324. pyinfernal-0.1.0/vendor/infernal/src/cmsearch.c +3316 -0
  325. pyinfernal-0.1.0/vendor/infernal/src/cmsim.c +814 -0
  326. pyinfernal-0.1.0/vendor/infernal/src/cmstat.c +383 -0
  327. pyinfernal-0.1.0/vendor/infernal/src/config.h.in +89 -0
  328. pyinfernal-0.1.0/vendor/infernal/src/cp9-test.c +115 -0
  329. pyinfernal-0.1.0/vendor/infernal/src/cp9.c +609 -0
  330. pyinfernal-0.1.0/vendor/infernal/src/cp9_dp.c +1715 -0
  331. pyinfernal-0.1.0/vendor/infernal/src/cp9_modelmaker.c +2852 -0
  332. pyinfernal-0.1.0/vendor/infernal/src/cp9_mx.c +296 -0
  333. pyinfernal-0.1.0/vendor/infernal/src/cp9_trace.c +1433 -0
  334. pyinfernal-0.1.0/vendor/infernal/src/default.prior +438 -0
  335. pyinfernal-0.1.0/vendor/infernal/src/display.c +1399 -0
  336. pyinfernal-0.1.0/vendor/infernal/src/errors.c +68 -0
  337. pyinfernal-0.1.0/vendor/infernal/src/eweight.c +680 -0
  338. pyinfernal-0.1.0/vendor/infernal/src/hmmband.c +5611 -0
  339. pyinfernal-0.1.0/vendor/infernal/src/hmmband.h +116 -0
  340. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/Makefile.in +105 -0
  341. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/cm_optimized.c +598 -0
  342. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/cmsearch_dual +168 -0
  343. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/impl_sse.h +220 -0
  344. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/sse_cm_dpsearch.c +1014 -0
  345. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/sse_cm_dpsmall.c +5936 -0
  346. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/sse_cmcons_hitmx.c +259 -0
  347. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/sse_cmcons_mscyk.c +1538 -0
  348. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/sse_cmsearch.c +463 -0
  349. pyinfernal-0.1.0/vendor/infernal/src/impl_sse/sse_util.c +72 -0
  350. pyinfernal-0.1.0/vendor/infernal/src/infernal.h +3326 -0
  351. pyinfernal-0.1.0/vendor/infernal/src/itest_brute.c +1119 -0
  352. pyinfernal-0.1.0/vendor/infernal/src/logsum.c +253 -0
  353. pyinfernal-0.1.0/vendor/infernal/src/mpisupport.c +1942 -0
  354. pyinfernal-0.1.0/vendor/infernal/src/nearzero.prior +384 -0
  355. pyinfernal-0.1.0/vendor/infernal/src/plus1.prior +384 -0
  356. pyinfernal-0.1.0/vendor/infernal/src/prior.c +2218 -0
  357. pyinfernal-0.1.0/vendor/infernal/src/prior.h +41 -0
  358. pyinfernal-0.1.0/vendor/infernal/src/rna.null +22 -0
  359. pyinfernal-0.1.0/vendor/infernal/src/rnamat.c +1117 -0
  360. pyinfernal-0.1.0/vendor/infernal/src/rnamat.h +150 -0
  361. pyinfernal-0.1.0/vendor/infernal/src/sa-Makefile.in +117 -0
  362. pyinfernal-0.1.0/vendor/infernal/src/stats.c +744 -0
  363. pyinfernal-0.1.0/vendor/infernal/src/stats.h +54 -0
  364. pyinfernal-0.1.0/vendor/infernal/src/sub_cm-test.c +341 -0
  365. pyinfernal-0.1.0/vendor/infernal/src/trcyk.c +128 -0
  366. pyinfernal-0.1.0/vendor/infernal/src/truncyk.c +4224 -0
  367. pyinfernal-0.1.0/vendor/infernal/src/truncyk_check.c +223 -0
  368. pyinfernal-0.1.0/vendor/infernal/src/v056-to-v102-default.prior +428 -0
  369. pyinfernal-0.1.0/vendor/infernal/testsuite/00README +23 -0
  370. pyinfernal-0.1.0/vendor/infernal/testsuite/100k-4.fa +66720 -0
  371. pyinfernal-0.1.0/vendor/infernal/testsuite/10k-4.fa +6720 -0
  372. pyinfernal-0.1.0/vendor/infernal/testsuite/10k-Vault.fa +504 -0
  373. pyinfernal-0.1.0/vendor/infernal/testsuite/10k-tRNA.fa +504 -0
  374. pyinfernal-0.1.0/vendor/infernal/testsuite/1k-4.fa +720 -0
  375. pyinfernal-0.1.0/vendor/infernal/testsuite/1k-Vault.fa +54 -0
  376. pyinfernal-0.1.0/vendor/infernal/testsuite/1k-snR75.fa +54 -0
  377. pyinfernal-0.1.0/vendor/infernal/testsuite/1k-tRNA.fa +54 -0
  378. pyinfernal-0.1.0/vendor/infernal/testsuite/1k.fa +18 -0
  379. pyinfernal-0.1.0/vendor/infernal/testsuite/2.list +2 -0
  380. pyinfernal-0.1.0/vendor/infernal/testsuite/2accn.list +2 -0
  381. pyinfernal-0.1.0/vendor/infernal/testsuite/2name.list +2 -0
  382. pyinfernal-0.1.0/vendor/infernal/testsuite/3.4.12.rf.stk +1226 -0
  383. pyinfernal-0.1.0/vendor/infernal/testsuite/3trnas.embl +21 -0
  384. pyinfernal-0.1.0/vendor/infernal/testsuite/3trnas.gb +24 -0
  385. pyinfernal-0.1.0/vendor/infernal/testsuite/4.1p0.c.cm +2335 -0
  386. pyinfernal-0.1.0/vendor/infernal/testsuite/4.1p0.cm +2243 -0
  387. pyinfernal-0.1.0/vendor/infernal/testsuite/4.c.cm +4114 -0
  388. pyinfernal-0.1.0/vendor/infernal/testsuite/4.sto +4104 -0
  389. pyinfernal-0.1.0/vendor/infernal/testsuite/5.c.cm +4815 -0
  390. pyinfernal-0.1.0/vendor/infernal/testsuite/5.claninfo +1 -0
  391. pyinfernal-0.1.0/vendor/infernal/testsuite/Makefile.in +131 -0
  392. pyinfernal-0.1.0/vendor/infernal/testsuite/PK-HAV.sto +37 -0
  393. pyinfernal-0.1.0/vendor/infernal/testsuite/Plant_SRP.1p0.c.cm +1180 -0
  394. pyinfernal-0.1.0/vendor/infernal/testsuite/Plant_SRP.1p0.cm +1157 -0
  395. pyinfernal-0.1.0/vendor/infernal/testsuite/Plant_SRP.c.cm +2117 -0
  396. pyinfernal-0.1.0/vendor/infernal/testsuite/Plant_SRP.sto +591 -0
  397. pyinfernal-0.1.0/vendor/infernal/testsuite/RIBOSUM85-60.mat +33 -0
  398. pyinfernal-0.1.0/vendor/infernal/testsuite/RNaseP.sto +70 -0
  399. pyinfernal-0.1.0/vendor/infernal/testsuite/Rfam.12.1.clanin +104 -0
  400. pyinfernal-0.1.0/vendor/infernal/testsuite/Rfam.14.1.clanin +113 -0
  401. pyinfernal-0.1.0/vendor/infernal/testsuite/Vault.1p0.c.cm +428 -0
  402. pyinfernal-0.1.0/vendor/infernal/testsuite/Vault.1p0.cm +405 -0
  403. pyinfernal-0.1.0/vendor/infernal/testsuite/Vault.c.cm +750 -0
  404. pyinfernal-0.1.0/vendor/infernal/testsuite/Vault.sto +346 -0
  405. pyinfernal-0.1.0/vendor/infernal/testsuite/at25.null +22 -0
  406. pyinfernal-0.1.0/vendor/infernal/testsuite/at4.null +22 -0
  407. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i14.fa +24 -0
  408. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i14.sto +32 -0
  409. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i15.fa +13 -0
  410. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i15.sto +6571 -0
  411. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i2.fa +3 -0
  412. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i2.sto +9 -0
  413. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i28.cm +2085 -0
  414. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i28.fa +37 -0
  415. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i29.cm +387 -0
  416. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i31.cm +562 -0
  417. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i31.fa +3 -0
  418. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i33.cm +463 -0
  419. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i34.cm +386 -0
  420. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i36.cm +1382 -0
  421. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i37.cm +1162 -0
  422. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i43.cm +23623 -0
  423. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i43.fa +2 -0
  424. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i45.cm +10615 -0
  425. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i45a.fa +25 -0
  426. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i45b.fa +24 -0
  427. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i49.cm +288 -0
  428. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i49.fa +3 -0
  429. pyinfernal-0.1.0/vendor/infernal/testsuite/bug-i49.sto +14 -0
  430. pyinfernal-0.1.0/vendor/infernal/testsuite/dev_testsuite.sqc +1862 -0
  431. pyinfernal-0.1.0/vendor/infernal/testsuite/emitted-3pkhavs.fa +6 -0
  432. pyinfernal-0.1.0/vendor/infernal/testsuite/emitted-4.fa +45 -0
  433. pyinfernal-0.1.0/vendor/infernal/testsuite/emitted-5.fa +19 -0
  434. pyinfernal-0.1.0/vendor/infernal/testsuite/emitted-Vault.fa +9 -0
  435. pyinfernal-0.1.0/vendor/infernal/testsuite/emitted-snR75.fa +9 -0
  436. pyinfernal-0.1.0/vendor/infernal/testsuite/emitted-tRNA.fa +9 -0
  437. pyinfernal-0.1.0/vendor/infernal/testsuite/ffs-ecoli.fa +4 -0
  438. pyinfernal-0.1.0/vendor/infernal/testsuite/ffs-frag.fa +401 -0
  439. pyinfernal-0.1.0/vendor/infernal/testsuite/i1.pm +133 -0
  440. pyinfernal-0.1.0/vendor/infernal/testsuite/iss21-cmbuild-rf-msaweight-pb.py +122 -0
  441. pyinfernal-0.1.0/vendor/infernal/testsuite/iss33.cm +20329 -0
  442. pyinfernal-0.1.0/vendor/infernal/testsuite/iss33.fa +64 -0
  443. pyinfernal-0.1.0/vendor/infernal/testsuite/iss34.sto +48 -0
  444. pyinfernal-0.1.0/vendor/infernal/testsuite/mito-ascaris.fa +287 -0
  445. pyinfernal-0.1.0/vendor/infernal/testsuite/mito-ascaris.gb +533 -0
  446. pyinfernal-0.1.0/vendor/infernal/testsuite/parse_test_results.py +89 -0
  447. pyinfernal-0.1.0/vendor/infernal/testsuite/plus1.prior +384 -0
  448. pyinfernal-0.1.0/vendor/infernal/testsuite/rnaseP-bsu.fa +10 -0
  449. pyinfernal-0.1.0/vendor/infernal/testsuite/rnaseP-eubact.c.cm +2192 -0
  450. pyinfernal-0.1.0/vendor/infernal/testsuite/rnaseP-eubact.sto +347 -0
  451. pyinfernal-0.1.0/vendor/infernal/testsuite/rnaseP-frag.fa +401 -0
  452. pyinfernal-0.1.0/vendor/infernal/testsuite/se.1.sto +5 -0
  453. pyinfernal-0.1.0/vendor/infernal/testsuite/se.dbl.sto +16 -0
  454. pyinfernal-0.1.0/vendor/infernal/testsuite/se.fa +6 -0
  455. pyinfernal-0.1.0/vendor/infernal/testsuite/se.frag1.sto +9 -0
  456. pyinfernal-0.1.0/vendor/infernal/testsuite/se.frag2.sto +9 -0
  457. pyinfernal-0.1.0/vendor/infernal/testsuite/se.frag3.sto +9 -0
  458. pyinfernal-0.1.0/vendor/infernal/testsuite/se.noss.sto +6 -0
  459. pyinfernal-0.1.0/vendor/infernal/testsuite/se.rf.sto +8 -0
  460. pyinfernal-0.1.0/vendor/infernal/testsuite/se.sto +7 -0
  461. pyinfernal-0.1.0/vendor/infernal/testsuite/snR75.1p0.c.cm +399 -0
  462. pyinfernal-0.1.0/vendor/infernal/testsuite/snR75.1p0.cm +376 -0
  463. pyinfernal-0.1.0/vendor/infernal/testsuite/snR75.3.fa +9 -0
  464. pyinfernal-0.1.0/vendor/infernal/testsuite/snR75.c.cm +685 -0
  465. pyinfernal-0.1.0/vendor/infernal/testsuite/snR75.sto +216 -0
  466. pyinfernal-0.1.0/vendor/infernal/testsuite/srp-euk.c.cm +2070 -0
  467. pyinfernal-0.1.0/vendor/infernal/testsuite/srp-euk.sto +535 -0
  468. pyinfernal-0.1.0/vendor/infernal/testsuite/ssu.sto +356 -0
  469. pyinfernal-0.1.0/vendor/infernal/testsuite/tRNA-Sec.c.cm +701 -0
  470. pyinfernal-0.1.0/vendor/infernal/testsuite/tRNA.1p0.c.cm +328 -0
  471. pyinfernal-0.1.0/vendor/infernal/testsuite/tRNA.1p0.cm +305 -0
  472. pyinfernal-0.1.0/vendor/infernal/testsuite/tRNA.c.cm +562 -0
  473. pyinfernal-0.1.0/vendor/infernal/testsuite/tRNA.sto +2951 -0
  474. pyinfernal-0.1.0/vendor/infernal/testsuite/tRNA1415G.c.cm +556 -0
  475. pyinfernal-0.1.0/vendor/infernal/testsuite/tRNA1415G.sto +11335 -0
  476. pyinfernal-0.1.0/vendor/infernal/testsuite/test.hprior +31 -0
  477. pyinfernal-0.1.0/vendor/infernal/testsuite/testsuite.sqc +311 -0
  478. pyinfernal-0.1.0/vendor/infernal/testsuite/tremitted-Plant_SRP.fa +12 -0
  479. pyinfernal-0.1.0/vendor/infernal/testsuite/tremitted-Vault.fa +7 -0
  480. pyinfernal-0.1.0/vendor/infernal/testsuite/trna-2.sto +20 -0
  481. pyinfernal-0.1.0/vendor/infernal/testsuite/trna.list +6 -0
  482. pyinfernal-0.1.0/vendor/infernal/testsuite/trna.xmask +1 -0
  483. pyinfernal-0.1.0/vendor/infernal/testsuite/vault.fa +53 -0
@@ -0,0 +1,217 @@
1
+ name: Package
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - v*.*.*
7
+
8
+ jobs:
9
+
10
+ # wheel-linux-aarch64:
11
+ # name: Build Linux wheels (Aarch64)
12
+ # runs-on: ubuntu-22.04-arm
13
+ # steps:
14
+ # - uses: actions/checkout@v3
15
+ # with:
16
+ # submodules: true
17
+ # - name: Build manylinux wheels
18
+ # uses: pypa/cibuildwheel@v3.2.1
19
+ # env:
20
+ # CIBW_ARCHS: aarch64
21
+ # CIBW_BUILD: 'cp*-manylinux_aarch64'
22
+ # CIBW_BUILD_VERBOSITY: 2
23
+ # with:
24
+ # output-dir: dist
25
+ # - uses: actions/upload-artifact@v4
26
+ # with:
27
+ # name: wheels-manylinux_aarch64
28
+ # path: dist/*
29
+
30
+ wheel-linux-x86_64:
31
+ name: Build Linux wheels (x86-64)
32
+ runs-on: ubuntu-latest
33
+ steps:
34
+ - uses: actions/checkout@v4
35
+ with:
36
+ submodules: true
37
+ - name: Build manylinux wheels
38
+ uses: pypa/cibuildwheel@v3.2.1
39
+ env:
40
+ CIBW_ARCHS: x86_64
41
+ CIBW_BUILD: 'cp*-manylinux_x86_64'
42
+ CIBW_BUILD_VERBOSITY: 2
43
+ with:
44
+ output-dir: dist
45
+ - uses: actions/upload-artifact@v4
46
+ with:
47
+ name: wheels-manylinux_x86_64
48
+ path: dist/*
49
+
50
+ # wheel-macos-x86_64:
51
+ # name: Build MacOS wheels (x86-64)
52
+ # runs-on: macOS-latest
53
+ # steps:
54
+ # - uses: actions/checkout@v4
55
+ # with:
56
+ # submodules: true
57
+ # - name: Build manylinux wheels
58
+ # uses: pypa/cibuildwheel@v3.2.1
59
+ # env:
60
+ # CIBW_ARCHS: x86_64
61
+ # CIBW_BUILD: 'cp*-macosx_x86_64'
62
+ # CIBW_BUILD_VERBOSITY: 2
63
+ # with:
64
+ # output-dir: dist
65
+ # - uses: actions/upload-artifact@v4
66
+ # with:
67
+ # name: wheels-macosx_x86_64
68
+ # path: dist/*
69
+
70
+ # wheel-macos-aarch64:
71
+ # name: Build MacOS wheels (Aarch64)
72
+ # runs-on: macOS-latest
73
+ # steps:
74
+ # - uses: actions/checkout@v4
75
+ # with:
76
+ # submodules: true
77
+ # - name: Build manylinux wheels
78
+ # uses: pypa/cibuildwheel@v3.2.1
79
+ # env:
80
+ # CIBW_ARCHS: arm64
81
+ # CIBW_BUILD: 'cp*-macosx_arm64'
82
+ # CIBW_BUILD_VERBOSITY: 2
83
+ # with:
84
+ # output-dir: dist
85
+ # - uses: actions/upload-artifact@v4
86
+ # with:
87
+ # name: wheels-macosx_arm64
88
+ # path: dist/*
89
+
90
+ sdist:
91
+ runs-on: ubuntu-latest
92
+ name: Build source distribution
93
+ steps:
94
+ - name: Checkout code
95
+ uses: actions/checkout@v4
96
+ with:
97
+ submodules: true
98
+ - name: Set up Python 3.12
99
+ uses: actions/setup-python@v5
100
+ with:
101
+ python-version: '3.12'
102
+ - name: Install build requirements
103
+ run: python -m pip install -r .github/workflows/requirements.txt
104
+ - name: Build wheel distribution
105
+ run: python -m build --sdist
106
+ - name: Store built wheels
107
+ uses: actions/upload-artifact@v4
108
+ with:
109
+ name: sdist
110
+ path: dist/*
111
+
112
+ test-sdist:
113
+ runs-on: ubuntu-latest
114
+ name: Test source distribution
115
+ needs:
116
+ - sdist
117
+ steps:
118
+ - name: Setup Python 3.12
119
+ uses: actions/setup-python@v5
120
+ with:
121
+ python-version: '3.12'
122
+ - name: Download source distribution
123
+ uses: actions/download-artifact@v4
124
+ with:
125
+ name: sdist
126
+ path: dist/
127
+ - name: Update pip to latest version
128
+ run: python -m pip install -U pip setuptools wheel
129
+ - name: Install built wheel
130
+ run: python -m pip install --no-binary pyinfernal --find-links=dist pyinfernal
131
+ - name: Run tests without coverage
132
+ run: python -m unittest pyinfernal.tests -vv
133
+
134
+ upload:
135
+ environment: PyPI
136
+ runs-on: ubuntu-latest
137
+ name: Upload
138
+ permissions:
139
+ id-token: write
140
+ needs:
141
+ - sdist
142
+ - test-sdist
143
+ # - wheel-linux-aarch64
144
+ - wheel-linux-x86_64
145
+ # - wheel-macos-x86_64
146
+ # - wheel-macos-aarch64
147
+ steps:
148
+ - name: Download source distribution
149
+ uses: actions/download-artifact@v4
150
+ with:
151
+ name: sdist
152
+ path: dist/
153
+ merge-multiple: true
154
+ - name: Download wheel distributions
155
+ uses: actions/download-artifact@v4
156
+ if: "!contains(github.ref, 'rc') && !contains(github.ref, 'alpha') && !contains(github.ref, 'dev')" # don't upload wheels for alpha/dev/rc releases
157
+ with:
158
+ pattern: wheels-*
159
+ path: dist/
160
+ merge-multiple: true
161
+ - name: Publish distributions to PyPI
162
+ if: startsWith(github.ref, 'refs/tags/v')
163
+ uses: pypa/gh-action-pypi-publish@release/v1
164
+
165
+ release:
166
+ permissions: write-all
167
+ environment: GitHub Releases
168
+ runs-on: ubuntu-latest
169
+ if: "startsWith(github.ref, 'refs/tags/v')"
170
+ name: Release
171
+ needs: upload
172
+ steps:
173
+ - name: Checkout code
174
+ uses: actions/checkout@v4
175
+ - name: Release a Changelog
176
+ uses: rasmus-saks/release-a-changelog-action@v1.2.0
177
+ with:
178
+ github-token: '${{ secrets.GITHUB_TOKEN }}'
179
+
180
+ # aur:
181
+ # environment: Arch Linux User Repository
182
+ # runs-on: ubuntu-latest
183
+ # if: "!contains(github.ref, 'rc') && !contains(github.ref, 'alpha') && && !contains(github.ref, 'dev') && !contains(github.ref, 'post')"
184
+ # name: Update AUR package
185
+ # needs:
186
+ # - sdist
187
+ # - upload
188
+ # steps:
189
+ # - name: Checkout code
190
+ # uses: actions/checkout@v4
191
+ # with:
192
+ # submodules: true
193
+ # - name: Set up Python 3.12
194
+ # uses: actions/setup-python@v5
195
+ # with:
196
+ # python-version: 3.12
197
+ # - name: Download source distribution
198
+ # uses: actions/download-artifact@v4
199
+ # with:
200
+ # name: sdist
201
+ # path: dist/
202
+ # merge-multiple: true
203
+ # - name: Extract package version
204
+ # run: echo PKGVER=$(echo '${{ github.ref }}' | cut -d'v' -f2) >> $GITHUB_ENV
205
+ # - name: Compute SHA256 of source distribution
206
+ # run: "echo SHA256=$(sha256sum dist/pyinfernal-${{ env.PKGVER }}.tar.gz | cut -f1 -d' ') >> $GITHUB_ENV"
207
+ # - name: Generate PKGBUILD
208
+ # run: 'sed -e "s/%pkgver/${{ env.PKGVER }}/g" -e "s/%sha256sum/${{ env.SHA256 }}/g" pkg/aur/PKGBUILD.in > pkg/aur/PKGBUILD'
209
+ # - name: Update package
210
+ # uses: KSXGitHub/github-actions-deploy-aur@v3.0.1
211
+ # with:
212
+ # pkgname: python-pyinfernal
213
+ # pkgbuild: pkg/aur/PKGBUILD
214
+ # commit_username: ${{ secrets.AUR_USER }}
215
+ # commit_email: ${{ secrets.AUR_EMAIL }}
216
+ # ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
217
+ # commit_message: ${{ github.event.head_commit.message }}
@@ -0,0 +1,20 @@
1
+ # build dependencies
2
+ cython ~=3.0
3
+ scikit-build-core
4
+ ninja
5
+
6
+ # run dependencies
7
+ pyhmmer ~=0.12.0a1
8
+ psutil >=5.0,<8.0 ; python_version >= '3.9'
9
+ psutil >=5.0,<7.0 ; python_version <= '3.8'
10
+
11
+ # test dependencies
12
+ importlib-resources ; python_version < '3.9'
13
+
14
+ # coverage dependencies
15
+ coverage ~=4.0 ; python_version == '3.6'
16
+ coverage ~=7.0 ; python_version >= '3.7'
17
+
18
+ # deployment dependencies
19
+ build
20
+ auditwheel
@@ -0,0 +1,173 @@
1
+ name: Test
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+
9
+ test_linux_x86:
10
+ name: Test (Linux)
11
+ runs-on: ubuntu-latest
12
+ env:
13
+ OS: Linux
14
+ strategy:
15
+ matrix:
16
+ include:
17
+ - python-version: 3.8
18
+ python-release: v3.8
19
+ python-impl: CPython
20
+ - python-version: 3.9
21
+ python-release: v3.9
22
+ python-impl: CPython
23
+ - python-version: '3.10'
24
+ python-release: 'v3.10'
25
+ python-impl: CPython
26
+ - python-version: '3.11'
27
+ python-release: 'v3.11'
28
+ python-impl: CPython
29
+ - python-version: '3.12'
30
+ python-release: 'v3.12'
31
+ python-impl: CPython
32
+ - python-version: '3.13'
33
+ python-release: 'v3.13'
34
+ python-impl: CPython
35
+ - python-version: '3.14'
36
+ python-release: 'v3.14'
37
+ python-impl: CPython
38
+ - python-version: pypy-3.8
39
+ python-release: v3.8
40
+ python-impl: PyPy
41
+ - python-version: pypy-3.9
42
+ python-release: v3.9
43
+ python-impl: PyPy
44
+ - python-version: pypy-3.10
45
+ python-release: v3.10
46
+ python-impl: PyPy
47
+ steps:
48
+ - name: Checkout code
49
+ uses: actions/checkout@v4
50
+ with:
51
+ submodules: true
52
+ - name: Setup Python ${{ matrix.python-version }}
53
+ uses: actions/setup-python@v5
54
+ with:
55
+ python-version: ${{ matrix.python-version }}
56
+ - name: Show Python build environment
57
+ run: python -m sysconfig
58
+ - name: Update pip
59
+ run: python -m pip install -U pip wheel setuptools
60
+ - name: Install Python requirements
61
+ run: python -m pip install -r .github/workflows/requirements.txt
62
+ - name: Build C extension
63
+ run: pip install -vv -e . --no-build-isolation
64
+ - name: Test without coverage
65
+ run: python -m unittest pyinfernal.tests -vv
66
+ #- name: Upload to Codecov
67
+ # if: matrix.python-impl == 'CPython'
68
+ # uses: codecov/codecov-action@v3
69
+ # with:
70
+ # flags: ${{ matrix.python-release }}
71
+ # env_vars: OS
72
+ # name: test-python-${{ matrix.python-version }}
73
+ # fail_ci_if_error: false
74
+ # token: ${{ secrets.CODECOV_TOKEN }}
75
+ # verbose: true
76
+
77
+ # test_linux_arm64:
78
+ # name: Test (Linux, arm64)
79
+ # runs-on: ubuntu-22.04-arm
80
+ # strategy:
81
+ # matrix:
82
+ # python-tag:
83
+ # - cp310-manylinux_aarch64
84
+ # - cp311-manylinux_aarch64
85
+ # steps:
86
+ # - uses: actions/checkout@v4
87
+ # with:
88
+ # submodules: true
89
+ # - name: Build manylinux wheels
90
+ # uses: pypa/cibuildwheel@v2.16.5
91
+ # env:
92
+ # CIBW_ARCHS: aarch64
93
+ # CIBW_BUILD: ${{ matrix.python-tag }}
94
+ # CIBW_BUILD_VERBOSITY: 2
95
+ # CIBW_BEFORE_BUILD: pip install cython
96
+ # CIBW_TEST_COMMAND: python -m unittest pyinfernal.tests -vv
97
+ # CIBW_TEST_REQUIRES: importlib-resources
98
+ # with:
99
+ # output-dir: dist
100
+ # - uses: actions/upload-artifact@v3
101
+ # with:
102
+ # name: wheels
103
+ # path: dist/*
104
+
105
+ test_osx_x86:
106
+ name: Test (OSX)
107
+ runs-on: macos-latest
108
+ env:
109
+ OS: OSX
110
+ strategy:
111
+ matrix:
112
+ include:
113
+ - python-version: 3.8
114
+ python-release: v3.8
115
+ python-impl: CPython
116
+ - python-version: 3.9
117
+ python-release: v3.9
118
+ python-impl: CPython
119
+ - python-version: '3.10'
120
+ python-release: 'v3.10'
121
+ python-impl: CPython
122
+ - python-version: '3.11'
123
+ python-release: 'v3.11'
124
+ python-impl: CPython
125
+ - python-version: '3.12'
126
+ python-release: 'v3.12'
127
+ python-impl: CPython
128
+ - python-version: '3.13'
129
+ python-release: 'v3.13'
130
+ python-impl: CPython
131
+ - python-version: '3.14'
132
+ python-release: 'v3.14'
133
+ python-impl: CPython
134
+ - python-version: pypy-3.8
135
+ python-release: v3.8
136
+ python-impl: PyPy
137
+ - python-version: pypy-3.9
138
+ python-release: v3.9
139
+ python-impl: PyPy
140
+ - python-version: pypy-3.10
141
+ python-release: v3.10
142
+ python-impl: PyPy
143
+ steps:
144
+ - name: Checkout code
145
+ uses: actions/checkout@v4
146
+ with:
147
+ submodules: true
148
+ - name: Setup Python ${{ matrix.python-version }}
149
+ uses: actions/setup-python@v5
150
+ with:
151
+ python-version: ${{ matrix.python-version }}
152
+ - name: Show Python build environment
153
+ run: python -m sysconfig
154
+ - name: Update pip
155
+ run: python -m pip install -U pip wheel setuptools
156
+ - name: Install Python requirements
157
+ run: python -m pip install -r .github/workflows/requirements.txt
158
+ - name: Build C extension
159
+ run: pip install -vv -e . --no-build-isolation
160
+ - name: Test without coverage
161
+ run: python -m unittest pyinfernal.tests -vv
162
+ # - name: Upload to Codecov
163
+ # uses: codecov/codecov-action@v4
164
+ # if: matrix.python-impl == 'CPython'
165
+ # with:
166
+ # flags: ${{ matrix.python-release }}
167
+ # env_vars: OS
168
+ # name: test-python-${{ matrix.python-version }}
169
+ # fail_ci_if_error: false
170
+ # token: ${{ secrets.CODECOV_TOKEN }}
171
+ # codecov_curl_args: "--globoff"
172
+ # verbose: true
173
+
@@ -0,0 +1,180 @@
1
+ # Created by https://www.gitignore.io/api/python,c
2
+ # Edit at https://www.gitignore.io/?templates=python,c
3
+
4
+ .vscode
5
+ *.BAK
6
+
7
+ ### C ###
8
+ # Prerequisites
9
+ *.d
10
+
11
+ # Object files
12
+ *.o
13
+ *.ko
14
+ *.obj
15
+ *.elf
16
+
17
+ # Linker output
18
+ *.ilk
19
+ *.map
20
+ *.exp
21
+
22
+ # Precompiled Headers
23
+ *.gch
24
+ *.pch
25
+
26
+ # Libraries
27
+ *.lib
28
+ *.a
29
+ *.la
30
+ *.lo
31
+
32
+ # Shared objects (inc. Windows DLLs)
33
+ *.dll
34
+ *.so
35
+ *.so.*
36
+ *.dylib
37
+
38
+ # Executables
39
+ *.exe
40
+ *.out
41
+ *.app
42
+ *.i*86
43
+ *.x86_64
44
+ *.hex
45
+
46
+ # Debug files
47
+ *.dSYM/
48
+ *.su
49
+ *.idb
50
+ *.pdb
51
+
52
+ # Kernel Module Compile Results
53
+ *.mod*
54
+ *.cmd
55
+ .tmp_versions/
56
+ modules.order
57
+ Module.symvers
58
+ Mkfile.old
59
+ dkms.conf
60
+
61
+ # Valgrind files
62
+ callgrind.out.*
63
+
64
+ # Mprof files
65
+ mprofile_*
66
+
67
+ ### Python ###
68
+ # Byte-compiled / optimized / DLL files
69
+ __pycache__/
70
+ *.py[cod]
71
+ *$py.class
72
+
73
+ # C extensions
74
+ pyhmmer/*.c
75
+ pyhmmer/*.html
76
+
77
+ # Cython
78
+ cython_debug/
79
+
80
+ # Distribution / packaging
81
+ .Python
82
+ build/
83
+ develop-eggs/
84
+ dist/
85
+ downloads/
86
+ eggs/
87
+ .eggs/
88
+ lib/
89
+ lib64/
90
+ parts/
91
+ sdist/
92
+ var/
93
+ wheels/
94
+ wheelhouse/
95
+ pip-wheel-metadata/
96
+ share/python-wheels/
97
+ *.egg-info/
98
+ .installed.cfg
99
+ *.egg
100
+ MANIFEST
101
+
102
+ # PyInstaller
103
+ # Usually these files are written by a python script from a template
104
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
105
+ *.manifest
106
+ *.spec
107
+
108
+ # Installer logs
109
+ pip-log.txt
110
+ pip-delete-this-directory.txt
111
+
112
+ # Unit test / coverage reports
113
+ htmlcov/
114
+ .tox/
115
+ .nox/
116
+ .coverage
117
+ .coverage.*
118
+ .cache
119
+ nosetests.xml
120
+ coverage.xml
121
+ *.cover
122
+ .hypothesis/
123
+ .pytest_cache/
124
+
125
+ # Translations
126
+ *.mo
127
+ *.pot
128
+
129
+ # Scrapy stuff:
130
+ .scrapy
131
+
132
+ # Sphinx documentation
133
+ docs/_build/
134
+
135
+ # PyBuilder
136
+ target/
137
+
138
+ # pyenv
139
+ .python-version
140
+
141
+ # pipenv
142
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
143
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
144
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
145
+ # install all needed dependencies.
146
+ #Pipfile.lock
147
+
148
+ # celery beat schedule file
149
+ celerybeat-schedule
150
+
151
+ # SageMath parsed files
152
+ *.sage.py
153
+
154
+ # Spyder project settings
155
+ .spyderproject
156
+ .spyproject
157
+
158
+ # Rope project settings
159
+ .ropeproject
160
+
161
+ # Mr Developer
162
+ .mr.developer.cfg
163
+ .project
164
+ .pydevproject
165
+
166
+ # mkdocs documentation
167
+ /site
168
+
169
+ # mypy
170
+ .mypy_cache/
171
+ .dmypy.json
172
+ dmypy.json
173
+
174
+ # Pyre type checker
175
+ .pyre/
176
+
177
+ # Jupyter notebooks
178
+ .ipynb_checkpoints/
179
+
180
+ # End of https://www.gitignore.io/api/python,c
@@ -0,0 +1,3 @@
1
+ [submodule "vendor/infernal"]
2
+ path = vendor/infernal
3
+ url = https://github.com/EddyRivasLab/infernal
@@ -0,0 +1,28 @@
1
+ # Read the Docs configuration file for Sphinx projects
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ # Required
5
+ version: 2
6
+
7
+ # Set the OS, Python version and other tools you might need
8
+ build:
9
+ os: ubuntu-22.04
10
+ tools:
11
+ python: "3.11"
12
+
13
+ # VCS submodules configuration.
14
+ submodules:
15
+ include: all
16
+
17
+ # Build documentation in the "docs/" directory with Sphinx
18
+ sphinx:
19
+ configuration: docs/conf.py
20
+
21
+ # Optional but recommended, declare the Python requirements required
22
+ # to build your documentation
23
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
24
+ python:
25
+ install:
26
+ - requirements: docs/requirements.txt
27
+ - method: pip
28
+ path: .
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+
8
+ ## [Unreleased]
9
+ [Unreleased]: https://github.com/althonos/pyinfernal/compare/v0.1.0...HEAD
10
+
11
+ ## [v0.1.0] - 2026-01-24
12
+ [Unreleased]: https://github.com/althonos/pyinfernal/compare/2cce19c...v0.1.0
13
+
14
+ Initial release.
@@ -0,0 +1,29 @@
1
+ cmake_minimum_required(VERSION 3.20)
2
+ project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION} LANGUAGES C)
3
+
4
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
5
+
6
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/src/scripts/cmake")
7
+
8
+ # --- Find PyHMMER -------------------------------------------------------------
9
+
10
+ find_package(PyHMMER CONFIG REQUIRED)
11
+ set(HMMER_IMPL "${PyHMMER_HMMER_IMPL}")
12
+ set(INFERNAL_IMPL "${PyHMMER_HMMER_IMPL}")
13
+
14
+ # --- Setup Python folders -----------------------------------------------------
15
+
16
+ cmake_path(APPEND CMAKE_CURRENT_LIST_DIR "src" OUTPUT_VARIABLE SRC_DIR)
17
+ set_property(GLOBAL PROPERTY PYTHON_EXTENSIONS_SOURCE_DIR "${SRC_DIR}")
18
+ cmake_path(APPEND CMAKE_CURRENT_LIST_DIR "include" OUTPUT_VARIABLE CYTHON_HEADERS_DIR)
19
+
20
+ # Install shared library objects to `pyinfernal.libs` (like auditwheel repair)
21
+ if(PYINFERNAL_INSTALL_LIBS)
22
+ set(PYINFERNAL_INSTALL_LIBS_DIR "${CMAKE_PROJECT_NAME}.libs")
23
+ message(STATUS "Installing shared libraries to ${PYINFERNAL_INSTALL_LIBS_DIR}")
24
+ install(DIRECTORY ${CYTHON_HEADERS_DIR} DESTINATION ${PYINFERNAL_INSTALL_LIBS_DIR})
25
+ endif()
26
+
27
+ # --- Compile source code ------------------------------------------------------
28
+
29
+ add_subdirectory(src)
@@ -0,0 +1,40 @@
1
+ # Contributing to PyInfernal
2
+
3
+ For bug fixes or new features, please file an issue before submitting a
4
+ pull request. If the change isn't trivial, it may be best to wait for
5
+ feedback.
6
+
7
+ ## Setting up a local repository
8
+
9
+ Make sure you clone the repository in recursive mode, so you also get the
10
+ wrapped code of Infernal, which are exposed as `git` submodules:
11
+
12
+ ```console
13
+ $ git clone --recursive https://github.com/althonos/pyinfernal
14
+ ```
15
+
16
+ ## Running tests
17
+
18
+ Tests are written as usual Python unit tests with the `unittest` module of
19
+ the standard library. Running them requires the extension to be built
20
+ locally:
21
+
22
+ ```console
23
+ $ python -m pip install -e . -v --no-build-isolation
24
+ $ python -m unittest pyinfernal.tests -vv
25
+ ```
26
+
27
+ ## Coding guidelines
28
+
29
+ This project targets Python 3.7 or later.
30
+
31
+ Python objects should be typed; since it is not supported by Cython,
32
+ you must manually declare types in type stubs (`.pyi` files). In Python
33
+ files, you can add type annotations to function signatures (supported in
34
+ Python 3.5) or in variable assignments (supported from Python 3.6
35
+ onward).
36
+
37
+ ### Interfacing with C
38
+
39
+ When interfacing with C, and in particular with pointers, use assertions
40
+ everywhere you assume the pointer to be non-NULL.