execute_python
Execute Python code in an isolated container for bulk RNA-seq data analysis. Leverage pre-installed packages like pydeseq2 to compute aggregated results and save plots to /output.
Instructions
Execute Python code in the isolated analysis container. The Python namespace is PERSISTENT across calls.
OUTPUT RULES (same as execute_r):
Write to /output ONLY aggregated results (gene/pathway level).
Do NOT write per-sample matrices as CSV.
Plots saved with matplotlib/seaborn: plt.savefig("/output/.png").
If the server blocks a CSV, produce an aggregated equivalent instead.
Available packages: pydeseq2, pandas, numpy, matplotlib, seaborn, scipy, statsmodels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |