I installed wsl ubuntu, setup a conda env, and run a python script without problem.
Now I tried to integrate it into my pipeline and run this command through PowerShell in Windows with
wsl.exe python /mnt/x/projects/EpiMiner/scEpilock/code/utils/e04_variant_impact.py --cell TLymphocyte1_CD8+ --snp /mnt/x/projects/EpiMiner/scEpilock/snp.txt --path /mnt/x/projects/EpiMiner/atac --out /mnt/x/users/shangl02/Test
it failed since the python used here was not the wsl ubuntu conda python (I have trouble to phrase it nicely). So I guess my question is how to activate linux conda env and run python script from powershell in windows.