biopipen 0.21.2__tar.gz → 0.22.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.

Potentially problematic release.


This version of biopipen might be problematic. Click here for more details.

Files changed (237) hide show
  1. {biopipen-0.21.2 → biopipen-0.22.0}/PKG-INFO +1 -1
  2. biopipen-0.22.0/biopipen/__init__.py +1 -0
  3. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/core/filters.py +142 -0
  4. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/scrna.py +19 -1
  5. biopipen-0.22.0/biopipen/reports/delim/SampleInfo.svelte +16 -0
  6. biopipen-0.22.0/biopipen/reports/scrna/CellsDistribution.svelte +15 -0
  7. biopipen-0.22.0/biopipen/reports/scrna/MarkersFinder.svelte +18 -0
  8. biopipen-0.22.0/biopipen/reports/scrna/MetaMarkers.svelte +18 -0
  9. biopipen-0.22.0/biopipen/reports/scrna/RadarPlots.svelte +15 -0
  10. biopipen-0.22.0/biopipen/reports/scrna/ScFGSEA.svelte +16 -0
  11. biopipen-0.22.0/biopipen/reports/scrna/SeuratClusterStats.svelte +16 -0
  12. biopipen-0.22.0/biopipen/reports/scrna/SeuratPreparing.svelte +15 -0
  13. biopipen-0.22.0/biopipen/reports/scrna/TopExpressingGenes.svelte +17 -0
  14. biopipen-0.22.0/biopipen/reports/scrna_metabolic_landscape/MetabolicFeatures.svelte +32 -0
  15. biopipen-0.22.0/biopipen/reports/scrna_metabolic_landscape/MetabolicFeaturesIntraSubset.svelte +28 -0
  16. biopipen-0.22.0/biopipen/reports/scrna_metabolic_landscape/MetabolicPathwayActivity.svelte +89 -0
  17. biopipen-0.22.0/biopipen/reports/scrna_metabolic_landscape/MetabolicPathwayHeterogeneity.svelte +15 -0
  18. biopipen-0.22.0/biopipen/reports/tcr/CDR3AAPhyschem.svelte +32 -0
  19. biopipen-0.22.0/biopipen/reports/tcr/CloneResidency.svelte +19 -0
  20. biopipen-0.22.0/biopipen/reports/tcr/Immunarch.svelte +16 -0
  21. biopipen-0.22.0/biopipen/reports/tcr/TCRClusterStats.svelte +15 -0
  22. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/tcr/TESSA.svelte +11 -28
  23. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/delim/SampleInfo.R +41 -7
  24. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/CellsDistribution.R +121 -16
  25. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/MarkersFinder.R +245 -100
  26. biopipen-0.22.0/biopipen/scripts/scrna/MetaMarkers.R +338 -0
  27. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/RadarPlots.R +163 -110
  28. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/ScFGSEA.R +51 -11
  29. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratClusterStats-dimplots.R +26 -13
  30. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratClusterStats-features.R +58 -53
  31. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratClusterStats-stats.R +39 -21
  32. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratClusterStats.R +4 -2
  33. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratClustering.R +73 -26
  34. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratPreparing.R +93 -19
  35. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/TopExpressingGenes.R +100 -18
  36. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna_metabolic_landscape/MetabolicFeatures.R +21 -8
  37. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna_metabolic_landscape/MetabolicFeaturesIntraSubset.R +25 -3
  38. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna_metabolic_landscape/MetabolicPathwayActivity.R +1 -0
  39. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna_metabolic_landscape/MetabolicPathwayHeterogeneity.R +14 -3
  40. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/CDR3AAPhyschem.R +122 -9
  41. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/CloneResidency.R +114 -34
  42. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-basic.R +18 -4
  43. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-clonality.R +14 -0
  44. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-diversity.R +123 -18
  45. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-geneusage.R +23 -1
  46. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-kmer.R +45 -3
  47. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-overlap.R +62 -0
  48. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-spectratyping.R +18 -2
  49. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-tracking.R +24 -1
  50. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch-vjjunc.R +17 -2
  51. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch.R +4 -0
  52. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TCRClusterStats.R +124 -11
  53. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA.R +43 -11
  54. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/misc.R +96 -1
  55. {biopipen-0.21.2 → biopipen-0.22.0}/pyproject.toml +1 -1
  56. {biopipen-0.21.2 → biopipen-0.22.0}/setup.py +1 -1
  57. biopipen-0.21.2/biopipen/__init__.py +0 -1
  58. biopipen-0.21.2/biopipen/reports/delim/SampleInfo.svelte +0 -36
  59. biopipen-0.21.2/biopipen/reports/scrna/CellsDistribution.svelte +0 -50
  60. biopipen-0.21.2/biopipen/reports/scrna/MarkersFinder.svelte +0 -138
  61. biopipen-0.21.2/biopipen/reports/scrna/MetaMarkers.svelte +0 -90
  62. biopipen-0.21.2/biopipen/reports/scrna/RadarPlots.svelte +0 -31
  63. biopipen-0.21.2/biopipen/reports/scrna/ScFGSEA.svelte +0 -35
  64. biopipen-0.21.2/biopipen/reports/scrna/SeuratClusterStats.svelte +0 -82
  65. biopipen-0.21.2/biopipen/reports/scrna/SeuratPreparing.svelte +0 -38
  66. biopipen-0.21.2/biopipen/reports/scrna/TopExpressingGenes.svelte +0 -55
  67. biopipen-0.21.2/biopipen/reports/scrna_metabolic_landscape/MetabolicFeatures.svelte +0 -31
  68. biopipen-0.21.2/biopipen/reports/scrna_metabolic_landscape/MetabolicFeaturesIntraSubset.svelte +0 -31
  69. biopipen-0.21.2/biopipen/reports/scrna_metabolic_landscape/MetabolicPathwayActivity.svelte +0 -97
  70. biopipen-0.21.2/biopipen/reports/scrna_metabolic_landscape/MetabolicPathwayHeterogeneity.svelte +0 -21
  71. biopipen-0.21.2/biopipen/reports/tcr/CDR3AAPhyschem.svelte +0 -79
  72. biopipen-0.21.2/biopipen/reports/tcr/CloneResidency.svelte +0 -109
  73. biopipen-0.21.2/biopipen/reports/tcr/Immunarch.svelte +0 -180
  74. biopipen-0.21.2/biopipen/reports/tcr/TCRClusterStats.svelte +0 -57
  75. biopipen-0.21.2/biopipen/scripts/scrna/MetaMarkers.R +0 -257
  76. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/core/__init__.py +0 -0
  77. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/core/config.py +0 -0
  78. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/core/config.toml +0 -0
  79. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/core/defaults.py +0 -0
  80. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/core/proc.py +0 -0
  81. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/core/testing.py +0 -0
  82. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/__init__.py +0 -0
  83. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/bam.py +0 -0
  84. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/bcftools.py +0 -0
  85. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/bed.py +0 -0
  86. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/cnv.py +0 -0
  87. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/cnvkit.py +0 -0
  88. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/cnvkit_pipeline.py +0 -0
  89. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/delim.py +0 -0
  90. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/gene.py +0 -0
  91. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/gsea.py +0 -0
  92. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/misc.py +0 -0
  93. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/plot.py +0 -0
  94. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/rnaseq.py +0 -0
  95. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/scrna_basic.py +0 -0
  96. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/scrna_metabolic_landscape.py +0 -0
  97. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/tcgamaf.py +0 -0
  98. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/tcr.py +0 -0
  99. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/vcf.py +0 -0
  100. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/ns/web.py +0 -0
  101. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/bam/CNAClinic.svelte +0 -0
  102. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/bam/CNVpytor.svelte +0 -0
  103. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/bam/ControlFREEC.svelte +0 -0
  104. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/cnv/AneuploidyScore.svelte +0 -0
  105. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/cnv/AneuploidyScoreSummary.svelte +0 -0
  106. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/cnv/TMADScoreSummary.svelte +0 -0
  107. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/cnvkit/CNVkitDiagram.svelte +0 -0
  108. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/cnvkit/CNVkitHeatmap.svelte +0 -0
  109. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/cnvkit/CNVkitScatter.svelte +0 -0
  110. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/gsea/FGSEA.svelte +0 -0
  111. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/gsea/GSEA.svelte +0 -0
  112. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/scrna/DimPlots.svelte +0 -0
  113. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/scrna/GeneExpressionInvistigation.svelte +0 -0
  114. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/scrna/SeuratMap2Ref.svelte +0 -0
  115. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/tcr/SampleDiversity.svelte +0 -0
  116. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/tcr/VJUsage.svelte +0 -0
  117. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/utils/gsea.liq +0 -0
  118. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/utils/misc.liq +0 -0
  119. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/vcf/TruvariBenchSummary.svelte +0 -0
  120. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/reports/vcf/TruvariConsistency.svelte +0 -0
  121. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bam/BamMerge.py +0 -0
  122. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bam/BamSplitChroms.py +0 -0
  123. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bam/CNAClinic.R +0 -0
  124. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bam/CNVpytor.py +0 -0
  125. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bam/ControlFREEC.py +0 -0
  126. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bcftools/BcftoolsAnnotate.py +0 -0
  127. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bcftools/BcftoolsFilter.py +0 -0
  128. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bcftools/BcftoolsSort.py +0 -0
  129. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bed/Bed2Vcf.py +0 -0
  130. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bed/BedConsensus.py +0 -0
  131. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bed/BedLiftOver.sh +0 -0
  132. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/bed/BedtoolsMerge.py +0 -0
  133. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnv/AneuploidyScore.R +0 -0
  134. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnv/AneuploidyScoreSummary.R +0 -0
  135. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnv/TMADScore.R +0 -0
  136. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnv/TMADScoreSummary.R +0 -0
  137. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitAccess.py +0 -0
  138. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitAutobin.py +0 -0
  139. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitBatch.py +0 -0
  140. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitCall.py +0 -0
  141. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitCoverage.py +0 -0
  142. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitDiagram.py +0 -0
  143. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitFix.py +0 -0
  144. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitGuessBaits.py +0 -0
  145. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitHeatmap.py +0 -0
  146. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitReference.py +0 -0
  147. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitScatter.py +0 -0
  148. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/CNVkitSegment.py +0 -0
  149. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/cnvkit/guess_baits.py +0 -0
  150. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/delim/RowsBinder.R +0 -0
  151. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/gene/GeneNameConversion.py +0 -0
  152. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/gsea/Enrichr.R +0 -0
  153. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/gsea/FGSEA.R +0 -0
  154. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/gsea/GSEA.R +0 -0
  155. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/gsea/PreRank.R +0 -0
  156. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/misc/Config2File.py +0 -0
  157. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/misc/Str2File.py +0 -0
  158. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/plot/Heatmap.R +0 -0
  159. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/plot/VennDiagram.R +0 -0
  160. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/rnaseq/UnitConversion.R +0 -0
  161. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/CellTypeAnnotation-direct.R +0 -0
  162. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/CellTypeAnnotation-hitype.R +0 -0
  163. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/CellTypeAnnotation-sccatch.R +0 -0
  164. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/CellTypeAnnotation-sctype.R +0 -0
  165. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/CellTypeAnnotation.R +0 -0
  166. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/DimPlots.R +0 -0
  167. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/ExprImpution-alra.R +0 -0
  168. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/ExprImpution-rmagic.R +0 -0
  169. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/ExprImpution-scimpute.R +0 -0
  170. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/ExprImpution.R +0 -0
  171. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/GeneExpressionInvistigation.R +0 -0
  172. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/ModuleScoreCalculator.R +0 -0
  173. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SCImpute.R +0 -0
  174. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratFilter.R +0 -0
  175. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratLoading.R +0 -0
  176. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratMap2Ref.R +0 -0
  177. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratMetadataMutater.R +0 -0
  178. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratSplit.R +0 -0
  179. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/SeuratSubset.R +0 -0
  180. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/Subset10X.R +0 -0
  181. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/Write10X.R +0 -0
  182. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/scrna/sctype.R +0 -0
  183. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcgamaf/Maf2Vcf.py +0 -0
  184. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcgamaf/MafAddChr.py +0 -0
  185. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcgamaf/maf2vcf.pl +0 -0
  186. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Attach2Seurat.R +0 -0
  187. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/CloneSizeQQPlot.R +0 -0
  188. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/GIANA/GIANA.py +0 -0
  189. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/GIANA/GIANA4.py +0 -0
  190. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/GIANA/Imgt_Human_TRBV.fasta +0 -0
  191. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/GIANA/query.py +0 -0
  192. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/Immunarch2VDJtools.R +0 -0
  193. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/ImmunarchFilter.R +0 -0
  194. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/ImmunarchLoading.R +0 -0
  195. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/ImmunarchSplitIdents.R +0 -0
  196. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/SampleDiversity.R +0 -0
  197. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TCRClustering.R +0 -0
  198. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/Atchley_factors.csv +0 -0
  199. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/BriseisEncoder.py +0 -0
  200. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/MCMC_control.R +0 -0
  201. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/TrainedEncoder.h5 +0 -0
  202. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/fixed_b.csv +0 -0
  203. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/initialization.R +0 -0
  204. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/post_analysis.R +0 -0
  205. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/real_data.R +0 -0
  206. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/update.R +0 -0
  207. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/TESSA_source/utility.R +0 -0
  208. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/VJUsage.R +0 -0
  209. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/tcr/vdjtools-patch.sh +0 -0
  210. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/TruvariBench.sh +0 -0
  211. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/TruvariBenchSummary.R +0 -0
  212. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/TruvariConsistency.R +0 -0
  213. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/Vcf2Bed.py +0 -0
  214. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfAnno.py +0 -0
  215. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfDownSample.sh +0 -0
  216. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfFilter.py +0 -0
  217. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfFix.py +0 -0
  218. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfFix_utils.py +0 -0
  219. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfIndex.py +0 -0
  220. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfIntersect.py +0 -0
  221. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfLiftOver.sh +0 -0
  222. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/vcf/VcfSplitSamples.py +0 -0
  223. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/web/Download.py +0 -0
  224. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/scripts/web/DownloadList.py +0 -0
  225. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/__init__.py +0 -0
  226. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/common_docstrs.py +0 -0
  227. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/gene.R +0 -0
  228. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/gene.py +0 -0
  229. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/gsea.R +0 -0
  230. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/io.R +0 -0
  231. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/misc.py +0 -0
  232. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/mutate_helpers.R +0 -0
  233. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/plot.R +0 -0
  234. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/reference.py +0 -0
  235. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/rnaseq.R +0 -0
  236. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/single_cell.R +0 -0
  237. {biopipen-0.21.2 → biopipen-0.22.0}/biopipen/utils/vcf.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biopipen
3
- Version: 0.21.2
3
+ Version: 0.22.0
4
4
  Summary: Bioinformatics processes/pipelines that can be run from `pipen run`
5
5
  License: MIT
6
6
  Author: pwwang
@@ -0,0 +1 @@
1
+ __version__ = "0.22.0"
@@ -7,6 +7,7 @@ from typing import Any, List, Mapping
7
7
 
8
8
  from argx import Namespace
9
9
  from liquid.filters.manager import FilterManager
10
+ from pipen_report.filters import register_component, render_ui, _tag
10
11
 
11
12
  filtermanager = FilterManager()
12
13
 
@@ -206,3 +207,144 @@ def r(
206
207
  return r(vars(obj), ignoreintkey, todot, sortkeys, skip, _i)
207
208
 
208
209
  return repr(obj)
210
+
211
+
212
+ @register_component("fgsea")
213
+ def _render_fgsea(
214
+ cont: Mapping[str, Any],
215
+ job: Mapping[str, Any],
216
+ level: int,
217
+ na_arg: str = "10",
218
+ ) -> str:
219
+ """Render fgsea report"""
220
+ # cont["dir"] is required
221
+ n_pathways = int(na_arg)
222
+ pathways = []
223
+ with Path(cont["dir"]).joinpath("fgsea.txt").open() as f:
224
+ next(f) # skip header
225
+ for line in f:
226
+ pathway, _ = line.split("\t", 1)
227
+ pathways.append(pathway)
228
+ if len(pathways) >= n_pathways:
229
+ break
230
+
231
+ components = [
232
+ # Summary
233
+ {
234
+ "title": "Enrichment Analysis Summary",
235
+ "ui": "tabs",
236
+ "contents": [
237
+ {
238
+ "title": "Plot",
239
+ "ui": "flat",
240
+ "contents": [
241
+ {
242
+ "kind": "image",
243
+ "src": str(Path(cont["dir"]).joinpath("gsea_table.png")),
244
+ }
245
+ ],
246
+ },
247
+ {
248
+ "title": "Table",
249
+ "ui": "flat",
250
+ "contents": [
251
+ {
252
+ "kind": "table",
253
+ "src": str(Path(cont["dir"]).joinpath("fgsea.txt")),
254
+ }
255
+ ],
256
+ },
257
+ ]
258
+ },
259
+ # Pathways
260
+ {
261
+ "title": f"Enriched Pathways (Top {n_pathways})",
262
+ "ui": "table_of_images",
263
+ "contents": [
264
+ {
265
+ "src": str(Path(cont["dir"]) / f"fgsea_{pw.replace('/', '-')}.png"),
266
+ "title": pw,
267
+ }
268
+ for pw in pathways
269
+ ]
270
+ },
271
+ ]
272
+
273
+ return render_ui(components, "accordion", job, level)
274
+
275
+
276
+ @register_component("pdf")
277
+ def _render_pdf(
278
+ cont: Mapping[str, Any],
279
+ job: Mapping[str, Any],
280
+ level: int,
281
+ ) -> str:
282
+ """Render pdf report"""
283
+ # cont["src"] is required
284
+ height = cont.get("height", "600")
285
+ return _tag(
286
+ "embed",
287
+ src=str(cont["src"]),
288
+ type="application/pdf",
289
+ width="100%",
290
+ height=height,
291
+ )
292
+
293
+
294
+ @register_component("gsea")
295
+ def _render_gsea(
296
+ cont: Mapping[str, Any],
297
+ job: Mapping[str, Any],
298
+ level: int,
299
+ ) -> str:
300
+ """Render gsea report"""
301
+ # cont["dir"] is required
302
+ raise NotImplementedError()
303
+
304
+
305
+ @register_component("enrichr")
306
+ def _render_enrichr(
307
+ cont: Mapping[str, Any],
308
+ job: Mapping[str, Any],
309
+ level: int,
310
+ ) -> str:
311
+ """Render enrichr report"""
312
+ # cont["dir"] is required
313
+ dbs = [sumfile.stem[8:] for sumfile in Path(cont["dir"]).glob("Enrichr-*.txt")]
314
+ components = []
315
+
316
+ for db in dbs:
317
+ components.append(
318
+ {
319
+ "title": db,
320
+ "ui": "tabs",
321
+ "contents": [
322
+ {
323
+ "title": "Plot",
324
+ "ui": "flat",
325
+ "contents": [
326
+ {
327
+ "kind": "image",
328
+ "src": str(
329
+ Path(cont["dir"]).joinpath(f"Enrichr-{db}.png")
330
+ ),
331
+ }
332
+ ],
333
+ },
334
+ {
335
+ "title": "Table",
336
+ "ui": "flat",
337
+ "contents": [
338
+ {
339
+ "kind": "table",
340
+ "src": str(
341
+ Path(cont["dir"]).joinpath(f"Enrichr-{db}.txt")
342
+ ),
343
+ }
344
+ ],
345
+ },
346
+ ],
347
+ }
348
+ )
349
+
350
+ return render_ui(components, "accordion", job, level)
@@ -257,6 +257,16 @@ class SeuratClustering(Proc):
257
257
  `object` is specified internally, and `-` in the key will be replaced with `.`.
258
258
  - resolution (type=float): The resolution of the clustering
259
259
  - <more>: See <https://satijalab.org/seurat/reference/findclusters>
260
+ cache (type=auto): Whether to cache the seurat object with cluster information.
261
+ If `True`, the seurat object will be cached in the job output directory, which will be not cleaned up when job is rerunning.
262
+ The cached seurat object will be saved as `<signature>.cached.RDS` file, where `<signature>` is the signature determined by
263
+ the input and envs of the process.
264
+ See <https://github.com/satijalab/seurat/issues/7849>, <https://github.com/satijalab/seurat/issues/5358> and
265
+ <https://github.com/satijalab/seurat/issues/6748> for more details.
266
+ To not use the cached seurat object, you can either set `cache` to `False` or delete the cached file at
267
+ `.pipen/<Pipeline>/SeuratClustering/0/output/<signature>.cached.RDS`.
268
+ You can also specify the directory to save the cached seurat object by setting `cache` to the directory path.
269
+
260
270
 
261
271
  Requires:
262
272
  r-seurat:
@@ -286,6 +296,7 @@ class SeuratClustering(Proc):
286
296
  "RunUMAP": {"reduction": "pca", "dims": 30},
287
297
  "FindNeighbors": {},
288
298
  "FindClusters": {"resolution": 0.8},
299
+ "cache": True,
289
300
  }
290
301
  script = "file://../scripts/scrna/SeuratClustering.R"
291
302
 
@@ -418,6 +429,7 @@ class SeuratClusterStats(Proc):
418
429
  - group-by: Same as `ident`. How the points are colored.
419
430
  - split-by: The column name in metadata to split the cells into different plots.
420
431
  - shape-by: The column name in metadata to use as the shape.
432
+ - subset: An expression to subset the cells, will be passed to `tidyrseurat::filter()`.
421
433
  - devpars (ns): The device parameters for the plots.
422
434
  - res (type=int): The resolution of the plots.
423
435
  - height (type=int): The height of the plots.
@@ -482,6 +494,7 @@ class SeuratClusterStats(Proc):
482
494
  "group-by": None,
483
495
  "split-by": None,
484
496
  "shape-by": None,
497
+ "subset": None,
485
498
  "reduction": "dim",
486
499
  "devpars": {"res": 100, "height": 800, "width": 1000},
487
500
  },
@@ -642,6 +655,7 @@ class CellsDistribution(Proc):
642
655
  Ignored if `cells_order` is specified.
643
656
  subset: An expression to subset the cells, will be passed to `dplyr::filter()` on metadata.
644
657
  This will be applied prior to `each`.
658
+ descr: The description of the case, will be shown in the report.
645
659
  devpars (ns): The device parameters for the plots.
646
660
  - res (type=int): The resolution of the plots
647
661
  - height (type=int): The height of the plots
@@ -676,6 +690,7 @@ class CellsDistribution(Proc):
676
690
  "cells_orderby": None,
677
691
  "cells_n": 10,
678
692
  "subset": None,
693
+ "descr": None,
679
694
  "devpars": {},
680
695
  "each": None,
681
696
  "section": "DEFAULT",
@@ -1669,7 +1684,7 @@ class RadarPlots(Proc):
1669
1684
  "cluster_order": [],
1670
1685
  "breaks": [],
1671
1686
  "direction": "intra-cluster",
1672
- "section": None,
1687
+ "section": "DEFAULT",
1673
1688
  "devpars": {
1674
1689
  "res": 100,
1675
1690
  "width": 1200,
@@ -1719,6 +1734,8 @@ class MetaMarkers(Proc):
1719
1734
  dbs (list): The dbs to do enrichment analysis for significant
1720
1735
  markers See below for all libraries.
1721
1736
  <https://maayanlab.cloud/Enrichr/#libraries>
1737
+ subset: The subset of the cells to do the analysis.
1738
+ An expression passed to `dplyr::filter()`.
1722
1739
  p_adjust (choice): The method to adjust the p values, which can be used to filter the significant markers.
1723
1740
  See also <https://rdrr.io/r/stats/p.adjust.html>
1724
1741
  - holm: Holm-Bonferroni method
@@ -1759,6 +1776,7 @@ class MetaMarkers(Proc):
1759
1776
  "group-by": None,
1760
1777
  "idents": None,
1761
1778
  "each": None,
1779
+ "subset": None,
1762
1780
  "prefix_each": True,
1763
1781
  "p_adjust": "BH",
1764
1782
  "dbs": [
@@ -0,0 +1,16 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+
3
+ <script>
4
+ import { Image, DataTable, Descr } from "$libs";
5
+ </script>
6
+
7
+ {%- macro report_job(job, h=1) -%}
8
+ {{ job | render_job: h=h }}
9
+ {%- endmacro -%}
10
+
11
+ {%- macro head_job(job) -%}
12
+ <h1>{{job.in.infile | stem | escape }}</h1>
13
+ {%- endmacro -%}
14
+
15
+ {{ report_jobs(jobs, head_job, report_job) }}
16
+
@@ -0,0 +1,15 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+ <script>
3
+ import { Image, DataTable, Descr } from "$libs";
4
+ import { Tabs, Tab, TabContent } from "$ccs";
5
+ </script>
6
+
7
+ {%- macro report_job(job, h=1) -%}
8
+ {{ job | render_job: h=h }}
9
+ {%- endmacro -%}
10
+
11
+ {%- macro head_job(job) -%}
12
+ <h1>{{job.in.srtobj | stem0 | escape}}</h1>
13
+ {%- endmacro -%}
14
+
15
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,18 @@
1
+ {% from "utils/misc.liq" import report_jobs -%}
2
+
3
+ <script>
4
+ import { Image, DataTable, Descr } from "$libs";
5
+ import { Tabs, Tab, TabContent, InlineNotification, Accordion, AccordionItem } from "$ccs";
6
+ </script>
7
+
8
+
9
+ {%- macro report_job(job, h=1) -%}
10
+ {{ job | render_job: h=h }}
11
+ {%- endmacro -%}
12
+
13
+
14
+ {%- macro head_job(job) -%}
15
+ <h1>{{job.in.srtobj | stem | escape}}</h1>
16
+ {%- endmacro -%}
17
+
18
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,18 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+ {% from "utils/gsea.liq" import enrichr_report -%}
3
+ <script>
4
+ import { Image, DataTable, Descr } from "$libs";
5
+ import { Tabs, Tab, TabContent, InlineNotification, Accordion, AccordionItem } from "$ccs";
6
+ </script>
7
+
8
+
9
+ {%- macro report_job(job, h=1) -%}
10
+ {{ job | render_job: h=h }}
11
+ {%- endmacro -%}
12
+
13
+
14
+ {%- macro head_job(job) -%}
15
+ <h1>{{job.in.srtobj | stem | escape}}</h1>
16
+ {%- endmacro -%}
17
+
18
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,15 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+ <script>
3
+ import { Image, DataTable } from "$libs";
4
+ import { Tabs, Tab, TabContent } from "$ccs";
5
+ </script>
6
+
7
+ {%- macro report_job(job, h=1) -%}
8
+ {{ job | render_job: h=h }}
9
+ {%- endmacro -%}
10
+
11
+ {%- macro head_job(job) -%}
12
+ <h1>{{job.in.srtobj | stem}}</h1>
13
+ {%- endmacro -%}
14
+
15
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,16 @@
1
+ {% from "utils/gsea.liq" import fgsea_report -%}
2
+ {% from "utils/misc.liq" import report_jobs -%}
3
+ <script>
4
+ import { Image, DataTable, Descr } from "$libs";
5
+ import { Accordion, AccordionItem, Tabs, Tab, TabContent } from "$ccs";
6
+ </script>
7
+
8
+ {%- macro report_job(job, h=1) -%}
9
+ {{ job | render_job: h=h }}
10
+ {%- endmacro -%}
11
+
12
+ {%- macro head_job(job) -%}
13
+ <h1>{{job.in.srtobj | stem0 | escape}}</h1>
14
+ {%- endmacro -%}
15
+
16
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,16 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+ {% from_ os import path %}
3
+ <script>
4
+ import { DataTable, Image, Descr } from "$libs";
5
+ import { Tabs, Tab, TabContent } from "$ccs";
6
+ </script>
7
+
8
+ {%- macro report_job(job, h=1) -%}
9
+ {{ job | render_job: h=h }}
10
+ {%- endmacro -%}
11
+
12
+ {%- macro head_job(job) -%}
13
+ <h1>{{job.in.srtobj | stem}}</h1>
14
+ {%- endmacro -%}
15
+
16
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,15 @@
1
+ {% from "utils/misc.liq" import report_jobs -%}
2
+ {% from_ os import path %}
3
+ <script>
4
+ import { Image, DataTable, Descr } from "$libs";
5
+ </script>
6
+
7
+ {%- macro report_job(job, h=1) -%}
8
+ {{ job | render_job: h=h }}
9
+ {%- endmacro -%}
10
+
11
+ {%- macro head_job(job) -%}
12
+ <h1>{{job.in.metafile | stem}}</h1>
13
+ {%- endmacro -%}
14
+
15
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,17 @@
1
+ {% from "utils/misc.liq" import report_jobs -%}
2
+ {% from "utils/gsea.liq" import enrichr_report -%}
3
+ <script>
4
+ import { Image, DataTable, Descr } from "$libs";
5
+ import { Accordion, AccordionItem, Tabs, Tab, TabContent } from "$ccs";
6
+ </script>
7
+
8
+
9
+ {%- macro report_job(job, h=1) -%}
10
+ {{ job | render_job: h=h }}
11
+ {%- endmacro -%}
12
+
13
+ {%- macro head_job(job) -%}
14
+ <h1>{{job.in.srtobj | stem0 | escape}}</h1>
15
+ {%- endmacro -%}
16
+
17
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,32 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+ {% from "utils/gsea.liq" import fgsea_report_script, fgsea_report, gsea_report -%}
3
+
4
+ <script>
5
+ import { Image, DataTable, Descr } from "$libs";
6
+ import { Tabs, Tab, TabContent, Accordion, AccordionItem } from "$ccs";
7
+ </script>
8
+
9
+ {%- macro report_job(job, h=2) -%}
10
+ {% if envs.fgsea %}
11
+ {{ job | render_job: h=h }}
12
+ {% else %}
13
+ {%- for ssdir in job.out.outdir | glob: "*" -%}
14
+ {%- if basename(ssdir) == "ALL" -%}
15
+ {%- set h = 1 -%}
16
+ {%- else -%}
17
+ <h{{h}}>{{ ssdir | stem }}</h{{h}}>
18
+ {%- endif -%}
19
+
20
+ {% for cldir in ssdir | glob: '*' %}
21
+ <h{{h+1}}>{{ cldir | basename }}</h{{h+1}}>
22
+ {{ gsea_report(cldir, h+2, envs, envs.top) }}
23
+ {% endfor %}
24
+ {%- endfor -%}
25
+ {% endif %}
26
+ {%- endmacro -%}
27
+
28
+ {%- macro head_job(job) -%}
29
+ <h1>{{job.in.sobjfile | stem | escape}}</h1>
30
+ {%- endmacro -%}
31
+
32
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,28 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+ {% from "utils/gsea.liq" import fgsea_report, gsea_report -%}
3
+
4
+ <script>
5
+ import { Image, DataTable, Descr } from "$libs";
6
+ import { Tabs, Tab, TabContent, Accordion, AccordionItem } from "$ccs";
7
+ </script>
8
+
9
+ {%- macro report_job(job, h=2) -%}
10
+ {% if envs.fgsea %}
11
+ {{ job | render_job: h=h }}
12
+ {% else %}
13
+ {% for groupdir in job.out.outdir | glob: "*" %}
14
+ <h{{h}}>{{groupdir | basename}}</h{{h}}>
15
+ {%- set dsdirs = groupdir | glob: "*" -%}
16
+ {% for dsdir in groupdir | glob: "*" %}
17
+ <h{{h+1}}>{{ dsdir | basename }}</h{{h+1}}>
18
+ {{ gsea_report(dsdir, h+2, envs, envs.top) }}
19
+ {% endfor %}
20
+ {% endfor %}
21
+ {% endif %}
22
+ {%- endmacro -%}
23
+
24
+ {%- macro head_job(job) -%}
25
+ <h1>{{job.in.sobjfile | stem | escape}}</h1>
26
+ {%- endmacro -%}
27
+
28
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,89 @@
1
+ {% from "utils/misc.liq" import report_jobs -%}
2
+
3
+ <script>
4
+ import { Image, Descr } from "$libs";
5
+ import { ListItem, UnorderedList } from "$ccs";
6
+ </script>
7
+
8
+ <h1>Introduction</h1>
9
+
10
+ <Descr>
11
+ Metabolic landscape of single cells in the tumor microenvironment.
12
+ </Descr>
13
+
14
+ <h2>Workflow of the original analysis</h2>
15
+ <Image src="https://github.com/LocasaleLab/Single-Cell-Metabolic-Landscape/raw/master/pipeline.png" />
16
+
17
+ <h2>Reference</h2>
18
+ <UnorderedList>
19
+ <ListItem><a href="https://www.nature.com/articles/s41467-019-11738-0" target="_blank">
20
+ Zhengtao, Ziwei Dai, and Jason W. Locasale.
21
+ "Metabolic landscape of the tumor microenvironment at single cell resolution."
22
+ Nature communications 10.1 (2019): 1-12.
23
+ </a></ListItem>
24
+ <ListItem><a href="https://github.com/LocasaleLab/Single-Cell-Metabolic-Landscape" target="_blank">
25
+ Orginal pipeline
26
+ </a></ListItem>
27
+ </UnorderedList>
28
+
29
+ <h2>Analyses with this pipeline</h2>
30
+
31
+ <Descr>
32
+ The cells are grouped at 2 dimensions: `grouping`, usually the cell types, and `subsetting`, usually
33
+ the groups that bring biological meaning (i.e. different timepoints or sample types (tumor/normal)).
34
+ </Descr>
35
+
36
+ <UnorderedList>
37
+ <ListItem>
38
+ MetabolicPathwayActivity (this page)
39
+ <p>Investigating the metabolic pathways of the cells in different groups and subsets.</p>
40
+ <p>The cells are first grouped by subsets and then the metabolic activities are examined for each groups in different subsets.</p>
41
+ </ListItem>
42
+ <ListItem>
43
+ <a href="../MetabolicPathwayHeterogeneity/index.html">MetabolicPathwayHeterogeneity</a>
44
+ <p>Showing metabolic pathways enriched in genes with highest contribution to the metabolic heterogeneities</p>
45
+ </ListItem>
46
+ <ListItem>
47
+ <a href="../MetabolicFeatures/index.html">MetabolicFeatures</a>
48
+ <p>Gene set enrichment analysis against the metabolic pathways for groups in different subsets.</p>
49
+ </ListItem>
50
+ <ListItem>
51
+ <a href="../MetabolicFeaturesIntraSubsets/index.html">MetabolicFeaturesIntraSubsets</a>
52
+ <p>Gene set enrichment analysis against the metabolic pathways for subsets in different groups.</p>
53
+ </ListItem>
54
+ </UnorderedList>
55
+
56
+
57
+ {%- macro report_job(job, h=2) -%}
58
+ {%- for ssdir in job.out.outdir | glob: "*" -%}
59
+ {%- if not isdir(ssdir) -%}
60
+ {%- continue -%}
61
+ {%- endif -%}
62
+ <h{{h}}>{{ ssdir | stem }}</h{{h}}>
63
+
64
+ <h{{ h+1 }}>Metabolic pathway activities by <code>{{envs.grouping}}</code></h{{ h+1 }}>
65
+ <Image src="{{ssdir | joinpaths: 'KEGGpathway_activity_heatmap.png'}}" />
66
+
67
+ <h{{ h+1 }}>Distributions of pathway activities by <code>{{envs.grouping}}</code></h{{ h+1 }}>
68
+ <Image src="{{ssdir | joinpaths: 'pathway_activity_violinplot.png'}}" />
69
+ {%- endfor -%}
70
+
71
+ {% if job.out.outdir | glob: "*.group-*.png" -%}
72
+ <h{{h}}>Merged heatmaps</h{{h}}>
73
+ {% for group_hm in job.out.outdir | glob: "*.group-*.png" -%}
74
+ {%- if group_hm.endswith(".group-unclustered.png") -%}
75
+ <h{{h+1}}>{{group_hm | stem | replace: ".group-unclustered", " (Group Unclustered)"}}</h{{h+1}}>
76
+ <Image src="{{group_hm}}" />
77
+ {%- else -%}
78
+ <h{{h+1}}>{{group_hm | stem | replace: ".group-clustered", " (Group Clustered)"}}</h{{h+1}}>
79
+ <Image src="{{group_hm}}" />
80
+ {%- endif -%}
81
+ {%- endfor -%}
82
+ {%- endif -%}
83
+ {%- endmacro -%}
84
+
85
+ {%- macro head_job(job) -%}
86
+ <h1>{{job.in.sobjfile | stem | escape}}</h1>
87
+ {%- endmacro -%}
88
+
89
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,15 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+
3
+ <script>
4
+ import { Image, Descr } from "$libs";
5
+ </script>
6
+
7
+ {%- macro report_job(job, h=2) -%}
8
+ {{ job | render_job: h=h }}
9
+ {%- endmacro -%}
10
+
11
+ {%- macro head_job(job) -%}
12
+ <h1>{{job.in.sobjfile | stem | escape}}</h1>
13
+ {%- endmacro -%}
14
+
15
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,32 @@
1
+ {% from "utils/misc.liq" import report_jobs -%}
2
+ <script>
3
+ import { Image, DataTable, Descr } from "$libs";
4
+ import { Tile, UnorderedList, ListItem, Link, Tabs, Tab, TabContent } from "$ccs";
5
+ </script>
6
+
7
+ <h1>Summary</h1>
8
+ <Descr>
9
+ The idea is to perform a regression between two groups of cells
10
+ (e.g. Treg vs Tconv) at different length of CDR3 AA sequences.
11
+ The regression will be performed for each physicochemical feature of the
12
+ AA (hydrophobicity, volume and isolectric point).
13
+
14
+ <h2>Reference</h2>
15
+ <UnorderedList>
16
+ <ListItem><Link href="https://www.nature.com/articles/ni.3491" target="_blank">https://www.nature.com/articles/ni.3491</Link></ListItem>
17
+ <ListItem><Link href="https://www.nature.com/articles/s41590-022-01129-x" target="_blank">https://www.nature.com/articles/s41590-022-01129-x</Link></ListItem>
18
+ <ListItem>Wimley, W. C. &amp; White, S. H. Experimentally determined hydrophobicity scale for proteins at membrane - interfaces. Nat. Struct. Biol. 3, 842-848 (1996).</ListItem>
19
+ <ListItem>Hdbk of chemistry &amp; physics 72nd edition. (CRC Press, 1991).</ListItem>
20
+ <ListItem>Zamyatnin, A. A. Protein volume in solution. Prog. Biophys. Mol. Biol. 24, 107-123 (1972).</ListItem>
21
+ </UnorderedList>
22
+ </Descr>
23
+
24
+ {%- macro report_job(job, h=1) -%}
25
+ {{ job | render_job: h=h }}
26
+ {%- endmacro -%}
27
+
28
+ {%- macro head_job(job) -%}
29
+ <h1>{{job.out.outdir | stem | replace: ".immunarch", ""}}</h1>
30
+ {%- endmacro -%}
31
+
32
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,19 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+ <script>
3
+ import { Image, DataTable, Descr } from "$libs";
4
+ import { Dropdown, UnorderedList, ListItem } from "$ccs";
5
+
6
+ let count_subject;
7
+
8
+ </script>
9
+
10
+
11
+ {%- macro report_job(job, h=1) -%}
12
+ {{ job | render_job: h=h }}
13
+ {%- endmacro -%}
14
+
15
+ {%- macro head_job(job) -%}
16
+ <h1>{{job.out.outdir | stem | replace: ".immunarch", ""}}</h1>
17
+ {%- endmacro -%}
18
+
19
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,16 @@
1
+ {% from "utils/misc.liq" import report_jobs, table_of_images -%}
2
+ <script>
3
+ import { Image, DataTable, Descr } from "$libs";
4
+ import { Tabs, Tab, TabContent } from "$ccs";
5
+ </script>
6
+
7
+ {%- macro report_job(job, h=1) -%}
8
+ {{ job | render_job: h=h }}
9
+ {%- endmacro -%}
10
+
11
+
12
+ {%- macro head_job(job) -%}
13
+ <h1>{{job.out.outdir | stem | replace: ".immunarch", ""}}</h1>
14
+ {%- endmacro -%}
15
+
16
+ {{ report_jobs(jobs, head_job, report_job) }}
@@ -0,0 +1,15 @@
1
+ {% from "utils/misc.liq" import report_jobs -%}
2
+ <script>
3
+ import { Image, DataTable, Descr } from "$libs";
4
+ import { Tabs, Tab, TabContent } from "$ccs";
5
+ </script>
6
+
7
+ {%- macro report_job(job, h=1) -%}
8
+ {{ job | render_job: h=h }}
9
+ {%- endmacro -%}
10
+
11
+ {%- macro head_job(job) -%}
12
+ <h1>{{job.in.immfile | stem | replace: ".immunarch", ""}}</h1>
13
+ {%- endmacro -%}
14
+
15
+ {{ report_jobs(jobs, head_job, report_job) }}