Alex Soupir
Alex Soupir
  • 46
  • 246 572
Keeping Interactive Jobs Running While Closing the Terminal - TMUX
Welcome back everyone.
Today while working I thought "you know what would be helpful to people? Showing how to run interactive jobs in the terminal and being able to close them without canceling the code that is running." Here, I show how to start a tmux session, how to detach from a tmux session so you can turn off the computer without stopping code, how to get back to an existing session, and also how to list running sessions.
Recently, have started doing many things at a time and have found the ability to run interactive code much more friendly than starting a job with SLURM. To keep my terminal clean, I have implemented TMUX - a Terminal Multiplexer into my workflows and routine. Hopefully this is helpful to you guys!
tmux new -s session_name
tmux ls
tmux attach -t session_name
TMUX cheatsheet I find really helpful:
tmuxcheatsheet.com/
Fancy Link Section (tm):
www.patreon.com/AlexSoupir
www.alexsoupir.com
มุมมอง: 91

วีดีโอ

SpaitalGE-Web - A User-Friendly Platform for Spatial Transcriptomics
มุมมอง 1392 หลายเดือนก่อน
spatialGE is a point-and-click web application providing methods for analyzing spatially-resolved transcriptomic (ST) data. The spatialGE web app applies spatial statistics to explicitly account for the spatial correlation between spots or cells within an ST sample. The spatialGE web app is funded by the National Cancer Institute and the ITCR program. - spatialGE can be accessed at spatialge.mo...
Spatial Transcriptomics - Part 4.1: Supervised Phenotyping with InSituType
มุมมอง 3666 หลายเดือนก่อน
Hello, All. After finding the CellProfileLibrary in the Nanostring GitHub, thought it'd be good to show how to use cell profiles to annotate our single-cell spatial transcriptomics data. If you find these helpful feel free to like and subscribe. The project github with all of the scripts provided here: github.com/ACSoupir/SpatialTranscriptomics_TH-cam CellProfileLibrary with Human and Mouse cel...
Testing Pytorch Auto-Encoder Code (Deep Learning)
มุมมอง 1946 หลายเดือนก่อน
Happy Thursday Everyone. I apologize in advance for the LONG video but I promise it's beneficial! A while ago I played with the idea of using an autoencoder to embed spatial transcriptomic gene expression that might allow us to do some cool things and visualizations. However, in trying to use the CosMx SMI data the embedding never seemed to work. In this video I wanted to revisit this idea and ...
Spatial Transcriptomics - Part 7: Ligand-Receptor Spatial Autocorrelation
มุมมอง 2326 หลายเดือนก่อน
Welcome back, everyone. Sorry for being away for a while - was on vacation. In this video I thought to show a way of looking at cell-cel communication that we had used. To do this, we take advantage of the fact that we have the cell locations in our sample as well as the gene expression associated with those genes. We we can do with this information is apply a spatial autocorrelation method (sp...
Docker Containers from Dockerhub with TrueNAS Scale
มุมมอง 11K6 หลายเดือนก่อน
Happy Monday, everyone. Today i thought about coming back to some server stuff and showing how to add docker containers that aren't part of the TrueCharts list to our TrueNAS Scale server. It's super easy, but when I first tried the ports gave me issues so figured could help someone skip over this trouble shooting step in the future. Something I forgot to mention was that I did update to 22.12....
Spatial Transcriptomics - Part 6.2: Spatial Permutations of High Scores
มุมมอง 1596 หลายเดือนก่อน
Welcome back everyone for the Friday video. Today we finish up the spatial gene set enrichment analysis (sGSEA), showing how to identify when samples exhibit significant spatial clustering of cells who have high enrichment for particular gene sets. The process is taken from spatialGE's STenrich function which can be described briefly as the pairwise distances of cells with high enrichment score...
Spatial Transcriptomics - Part 6.1: Spatial Gene Set Enrichment Analysis
มุมมอง 3256 หลายเดือนก่อน
Hello, Everyone. In this video I talk about performing the first part of spatial gene set enrichment analysis using the Hallmark Gene Sets in MSigDBr package. This is the first of 2 part analysis that looks to perform cell-level gene set enrichment and then identify FOVs that show spatial enrichment of those cells with high scores. GitHub page with the scripts for this project: github.com/ACSou...
Immuno-Oncology - Research In Progress (RIP)
มุมมอง 1246 หลายเดือนก่อน
Here is a shorted version of the talk that I have to give tomorrow morning about my work: www.biorxiv.org/content/10.1101/2023.11.16.567457v1.full I apologize for the terrible audio - had to use work Mac which doesn't have great microphone. I also had to rush towards the end because my laptop was going to die. Made it work! What is not included is a handful of slides discussing the increase in ...
Programming-Free Spatial Transcriptomics Analysis with spatialGE- Part 1
มุมมอง 2347 หลายเดือนก่อน
Welcome back, everyone. In this video I go over how to use spatialGE - a web application designed in our lab to perform spatial transcriptomic analyses without the need of coding or any programming knowledge. This application is a great tool to perform interactive spatial transcriptomic analyses that biologists and immunologists can greatly benefit from, without the need to pay for core service...
Multiple Sequence Alignment at the Terminal with Conda
มุมมอง 4707 หลายเดือนก่อน
Welcome back, everyone. Today I talk about how to perform multiple sequence alignment with 'muscle' and 'clustalw' within a terminal conda environment. We also pull sequences from NCBI using their 'datasets' package. The idea behind these aligners is to overlap the sequences as much as possible while minimizing the gaps which sometimes results in mismatch bases. Multiple sequence alignment is h...
Spatial Clustering with spatialTIME - Understanding Ripley's K and Nearest Neighbor G
มุมมอง 7477 หลายเดือนก่อน
Hey, Everyone. Since the last spatial transcriptomics video used spatialTIME to calculate the clustering of our unsupervised cell types, I wanted to make this quick video to describe what the values mean a little bit more. The nearest neighbor G(r) is what was ran in Part 5 of spatial transcriptomics so go check that out. In future spatial transcriptomics videos we may use other methods in this...
Spatial Transcriptomics - Part 5: Univariate Spatial Clustering Calculation
มุมมอง 3547 หลายเดือนก่อน
Hello, All. Continuing with the spatial transcription analyses, I thought a good next step would be to calculate clustering of each cell type. This is useful for seeing whether there is a different in the clustering metric between sample groups, i.e. more clustering in samples that respond to therapy than those that do not respond to therapy. GitHub page with the scripts for this project: githu...
Running RStudio with Docker
มุมมอง 9517 หลายเดือนก่อน
Recently been doing a lot of work with docker containers for reproducibility and had the idea of starting an RStudio server on the cluster. The easiest way to do this is through Docker. The nice thing about Docker is that they are fairly portable and do not depend on the host operating system to build/use. Everyone that uses the same container, no matter the computer, will be able to do everyth...
Assembling First Server Rack - Vivo 12U
มุมมอง 5187 หลายเดือนก่อน
Got my first server rack to put a couple servers in I got earlier this year. Never had a rack before but from ease of assembly and quick mounting of the servers in it, am happy with it. Plus can now move them around so much easier than carrying (heavy for my small frame). Please consider contributing to my Patreon where I may do merch, gather ideas for future content, and have further discussio...
Creating a conda Environment for Pytorch and Cuda
มุมมอง 15K9 หลายเดือนก่อน
Creating a conda Environment for Pytorch and Cuda
Spatial Transcriptomics - Part 4: Unsupervised InSituType
มุมมอง 4639 หลายเดือนก่อน
Spatial Transcriptomics - Part 4: Unsupervised InSituType
Spatial Transcriptomics - Part 3: Normalization and Dimension Reduction
มุมมอง 75410 หลายเดือนก่อน
Spatial Transcriptomics - Part 3: Normalization and Dimension Reduction
Spatial Transcriptomics - Part 2: Exploring Seurat Object
มุมมอง 1.6K10 หลายเดือนก่อน
Spatial Transcriptomics - Part 2: Exploring Seurat Object
Spatial Transcriptomics Intro - Part 1: What Is Spatial Transcriptomics
มุมมอง 1.1K10 หลายเดือนก่อน
Spatial Transcriptomics Intro - Part 1: What Is Spatial Transcriptomics
Creating Simple Data Transformation API with R/RStudio
มุมมอง 835ปีที่แล้ว
Creating Simple Data Transformation API with R/RStudio
Creating Data Logger with Arduino Uno
มุมมอง 867ปีที่แล้ว
Creating Data Logger with Arduino Uno
Bioinformatics - Identifying New RNA-seq Splice Junctions (Timestamps)
มุมมอง 2.1K3 ปีที่แล้ว
Bioinformatics - Identifying New RNA-seq Splice Junctions (Timestamps)
Bioinformatics - Setting Up UseGalaxy Locally! (Timestamps)
มุมมอง 6K3 ปีที่แล้ว
Bioinformatics - Setting Up UseGalaxy Locally! (Timestamps)
Bioinformatics - fastp FastQ Preprocessing Tool (Timestamps)
มุมมอง 8K3 ปีที่แล้ว
Bioinformatics - fastp FastQ Preprocessing Tool (Timestamps)
Setting up Window Subsystem for Linux (WSL1)
มุมมอง 2.9K3 ปีที่แล้ว
Setting up Window Subsystem for Linux (WSL1)
iTIME: interactive Tumor Immune MicroEnvironment! (#Hackathon2020)
มุมมอง 2493 ปีที่แล้ว
iTIME: interactive Tumor Immune MicroEnvironment! (#Hackathon2020)
Bioinformatics - Prokaryote Pan Genome with Roary! (Timestamps)
มุมมอง 9K3 ปีที่แล้ว
Bioinformatics - Prokaryote Pan Genome with Roary! (Timestamps)
Bioinformatics - Snakemake Workflow Management! (Timestamps)
มุมมอง 8K3 ปีที่แล้ว
Bioinformatics - Snakemake Workflow Management! (Timestamps)
Bioinformatics - Assembling, Annotating, and QA for Bacterial Genomes!
มุมมอง 13K3 ปีที่แล้ว
Bioinformatics - Assembling, Annotating, and QA for Bacterial Genomes!

ความคิดเห็น

  • @StudyGoalTensionEnjoylifelove
    @StudyGoalTensionEnjoylifelove 4 วันที่ผ่านมา

    error: could not find a version that satisfies the requirement torch==2.1.0 (from versions: 2.2.0 cpu, 2.2.1 cpu, 2.2.2 cpu, 2.3.0 cpu, 2.3.1 cpu, 2.4.0 cpu) error: no matching distribution found for torch==2.1.0 kindly guide how can i fix this problem

  • @MuditGupta07
    @MuditGupta07 5 วันที่ผ่านมา

    amazing. When nothing worked this did

  • @salmalmiry792
    @salmalmiry792 11 วันที่ผ่านมา

    thanks a lot

  • @robfielding8566
    @robfielding8566 14 วันที่ผ่านมา

    a few years ago, i wiped my machine a few times, trying to follow the official NVIDIA instructions to get my GPU accelerated. i eventually got it. the interns at the company were waiting for 8hr RL jobs, and I could run them in an hour. So, I gave them my laptop for the summer; my personal laptop. then I talked my boss into getting accelerated machines for our ML expert. they bought her 3 x $10k machines; with 2 GPUs in each one. But guess what? We got them, and tried to follow the same NVIDIA instructions to get it setup. I think another dev finally got it working in a week. There are always deviations from the instructions that prevent scripting it. It was NEVER updated. Meanwhile, when I got my personal machine back; the day came when I had to do other work; so I updated something in Python; and it BROKE the GPU. I got a System76 as my next system, to replace my Macbook. I truly got tired of re-installing to keep acceleration working. NVIDIA has these long instructions to follow, because it's not possible to SCRIPT the setup; you know... like being able to run Linux without building the kernel first. On that System76, long after I gave up on Torch being accelerated; I had to do a full Ubuntu distro upgrade; and suddenly acceleration worked again. I did some HuggingFace tests with it. And then a few weeks ago, I originally had accelerated Torch working with LLAMA3, and it worked for a few days. It's broken now. When I tried to use the venv with Python, I would always have breakage. Every time, I have to eventually give up and go to Conda just to have random Python apps not break; especially when they link with C. Specifically, in venv recently... i had a base python3.10. I made a python3.12 environment to run an LLAMA3 model. But during Torch installation, it got a failure while it was trying to modify python3.10 !!!! which it should not be able to find at all. But it found it when it had to escalarte to root. Then, I had to create a conda environment for python3.11 to get Mojo to run. When I activated Mojo, I was already in the globally activated python3.12. So, you can guess what happened next: There was something I was doing in the conda env with python3.11, and it managed to find python3.12 when it escalated to root.. I know the person that wrote these things: Requests, Certifi, Venv; and he was one The Python Guy at Heroku. When I was bitching about this scenario; he chimed in with a like... apparently confirming that it's not just me. I would just run an NVIDIA Linux distro if I could just get Pytorch acceleration to stop constantly breaking.

  • @MustKilLL
    @MustKilLL 15 วันที่ผ่านมา

    RIP Truecharts

    • @alexsoupir
      @alexsoupir 15 วันที่ผ่านมา

      Sadly agree. iX killed the ability to run docker in some update and will introduce again in the next version, and in the mean time can't use True charts either. No easy way until this fall - wanted a custom image but can't without some jailmaker which I think I read the developer is no longer going to work on? Need to read more but really unfortunate.

    • @MustKilLL
      @MustKilLL 15 วันที่ผ่านมา

      @alexsoupir yeah dev is done. I'm sure what's next. im running docker rn, but its not the same true charts was great!

    • @chrismay2298
      @chrismay2298 5 วันที่ผ่านมา

      It's going to be much better when they roll out the docker and docker compose native update.

  • @pick4life
    @pick4life 22 วันที่ผ่านมา

    Awesome!! that helps a lot, by any chance could you please do a tutorial in how to deploy a docker container running windows in True NAS due to my CPU does not support KVM extensions, I think there are many guys looking in how to do it, Thanks!!!!!!

    • @alexsoupir
      @alexsoupir 21 วันที่ผ่านมา

      Going to have to look and see if there is an easy way. Current version of TrueNAS doesn't work with custom docker images or docker compose - they are going to add it in a version closer to the end of this year. At that time I could try. Found this: github.com/dockur/windows which, if familiar with setting environmental variables in TrueNAS I think could be worked through.

  • @danielmpr
    @danielmpr 24 วันที่ผ่านมา

    That optoon is NOT on my TrueNAS Scale!, only setting and discover apps

  • @mrkongster
    @mrkongster 25 วันที่ผ่านมา

    Thanks for the great walk-through.

  • @Gramphimcs419
    @Gramphimcs419 หลายเดือนก่อน

    This video is fantastic. It was not until I followed these steps that I managed to get gpu acceleration to work in pytorch. It worked flawlessly for both windows and linux. Thank you so much!

    • @PhilStein721
      @PhilStein721 หลายเดือนก่อน

      I hope so, because I'm almost throwing my laptop through the window I really hate having to try setting things again and again because windows can't even handle path variables

    • @alexsoupir
      @alexsoupir 27 วันที่ผ่านมา

      Were you able to get it to work? Laptops work great as frisbees, but I would urge using something else to throw.

  • @AntoAshwin
    @AntoAshwin หลายเดือนก่อน

    Can we a custom dataset created by us?

    • @alexsoupir
      @alexsoupir หลายเดือนก่อน

      Of course. Something to keep in mind though is that the number of classes, type of dataset you have, and number of samples with greatly impact how much you can shrink dimensions with your latent space. More data, smaller the middle layer. Less data, less you'll be able to compress the data.

  • @enamulrafti2780
    @enamulrafti2780 หลายเดือนก่อน

    i have nvidia t4-8Q, I have CUDA VERSION installed 11.4. Now i have python 3.11 and tried cuda 11.8 and downloaded the other dependencies. But after executing the torch.cuda.is_available() it returns False. What can i do?

    • @alexsoupir
      @alexsoupir หลายเดือนก่อน

      Are you installing in the correct order? I've noticed that is you install pytorch before other GPU dependencies like the cudatoolkit, it won't pick up the GPU. Might be worth a shot.

  • @allen123yu
    @allen123yu 2 หลายเดือนก่อน

    Great stuff. It works when I follow your instructions, but if I create an environment on python=3.9, it will fail. May I ask if you know why?

  • @deadadventure8318
    @deadadventure8318 2 หลายเดือนก่อน

    I don't usually comment. But this video saved my life. My dreams can now begin without it being crushed at the beginning. Using the pytorch local command would install a bunch of libraries causing it confuse my computer whenever I would try to run any YOLO models. But with your step by step guidance, I was able to run it after trying so tediously for 4 days. Thank you.

  • @scorpionking-kj1rp
    @scorpionking-kj1rp 2 หลายเดือนก่อน

    Thank you, DR. ALEX! I can't wait to cook up some Neural Nets :)

  • @serychristianrenaud
    @serychristianrenaud 2 หลายเดือนก่อน

    Thanks

  • @Pyrocraker
    @Pyrocraker 2 หลายเดือนก่อน

    Hey, this isn´t working on my TrueNAS Scale?! When I go to the "Apps" tab, there is no "Installed Applications", "Available Applications", "Manage Catalogs" and "Manage Docker Images" to chose. It looks different. When I go to Apps, there is just "Installed" at the top and "Applications" below. On the right upper corner is a blue "Discover Apps" button, which opens the lib, but here is also nothing with docker.. Was there a GUI upgrade? Was this option removed? Do I have to set something differently in TrueNAS? Isn´t pulling a Docker Image and starting it from the Apps no longer possible? Thank you in advance! :)

    • @alexsoupir
      @alexsoupir 2 หลายเดือนก่อน

      I don't have the most updated version of TrueNAS because, for me, they broke Docker in v23 the way I was using it in v22. The version I had that worked I think was 22.12.2, and have seen others on Reddit say in recent versions things have been breaking everywhere (most recently there's a RAM leak/release failure??). I haven't updated to v23 or even v24 because of the constant issues I see others have online in combination with the docker containers no longer working. Even tried to use docker in the terminal on TrueNAS v23 and it still threw out errors. Very frustrating. In other posts too, it looks like they're trying to move away from docker in favor of docker-compose, but i'm not familiar with docker compose (another reason i'm sticking with the old version of the OS). Unpopular opinion, but seems like a constantly changing, using users as the test case, operating system that is only friendly to people who like to solve problems constantly. They also seem to be at ends with TrueCharts for whatever reason. If you want, you can try to install the old v22 here: www.truenas.com/docs/softwarereleases/ see if that allows you to install containers and start apps. If so, then it's definitely something iX has been doing with TrueNAS. I have nothing super security focused so staying a few versions behind until they figure out their issues is no problem to me. Don't like the idea of having to constantly fix things once they are working. (sorry for the minor rant)

    • @Pyrocraker
      @Pyrocraker 2 หลายเดือนก่อน

      @@alexsoupir thank you very much for the detailed explanation! I started all this 1 week ago, so Im totaly new to all of this networking stuff and yes its a veeeerrry wide and often frustrating field to me so far... I even thought about switching to unraid, since a friend of mine is constantly talking about how perfekt it is...but 250 bucks for the unlimited update version is a lot! Even more than my hardware :D

    • @alexsoupir
      @alexsoupir 2 หลายเดือนก่อน

      @@Pyrocraker haha I'm with you on the unraid thing. If it was free I'd probably switch too. Been thinking about playing with Ubuntu server since docker is really the thing I currently rely on the most but it's hard to choose one way or another. Once you find one that works for you, then can stick with it. Hard to initially find it though. Like I mentioned maybe an older version of truenas is the way to go. Find your fit and the ride it along.

    • @CaptStux
      @CaptStux 2 หลายเดือนก่อน

      Hey @alexsoupir, I made a video on using docker compose on TrueNAS with Sandboxes and Jailmaker. Jailmaker <2.0.0 works on TrueNAS Bluefin and Cobia iirc, and also on the latest releases. It’s a good way to run custom docker apps, and may unblock you. th-cam.com/video/S0nTRvAHAP8/w-d-xo.html

    • @InformaticFreakTutorials
      @InformaticFreakTutorials หลายเดือนก่อน

      They moved the interface from "Launch Docker Image" to "Discover Apps" > "Custom App".

  • @manojjoshi2318
    @manojjoshi2318 2 หลายเดือนก่อน

    is it useful for the nvidia cuda ??

    • @alexsoupir
      @alexsoupir 2 หลายเดือนก่อน

      nvidia cuda GPU is a requirement, yes.

  • @robertodepetro1996
    @robertodepetro1996 2 หลายเดือนก่อน

    thanks!

  • @4m05
    @4m05 3 หลายเดือนก่อน

    I am going to have to move away from truenas scale, I just cant get truecharts working, even loaded it onto a new machine fresh install, and nealy every app just gets stuck on deploying with 0 cpu or ram, truenas work fine, but truecharts doesnt work for me its a shame as I like truenas scale

  • @Hankks
    @Hankks 3 หลายเดือนก่อน

    Great video. I was surprised to see it was possible to only download cuda in the environment which is great for my project. I am abit curious why you are downloading the pytorch for cuda 12.1 when your cuda download clearly states it is 11.8?

    • @alexsoupir
      @alexsoupir 2 หลายเดือนก่อน

      Haha a lot of times in informatics/data science, if it works don't try to fix it. It installed and runs/recognizes cuda in the opposing versions. BUT, since it works and uses the GPU, I consider that a win. This question has come up other times though and the real answer for why it works is "I don't know". Assuming Pytorch is backwards compatible, as long as cuda and drivers aren't ahead of pytorch, perhaps that's why it doesn't complain.

  • @adi6516
    @adi6516 3 หลายเดือนก่อน

    THANK YOU VERY MUCH!!!

  • @abdelrahmanmahany133
    @abdelrahmanmahany133 3 หลายเดือนก่อน

    It is great to understand the difference between supervised and non supervised phenotyping in a practical way. Thanks a lot Alex !

  • @mehdiraouine2979
    @mehdiraouine2979 3 หลายเดือนก่อน

    did you already have your cuda toolkit downloaded ? because my new computer with very good specs took forever to complete that task alone. Not an internet speed or vpn problem either because it takes few minutes to download 5gb files from an internet browser. Any idea on the reason why ?

    • @alexsoupir
      @alexsoupir 3 หลายเดือนก่อน

      Interesting. Don't think I had it installed before because other environments when not installed in the right order, pytorch doesn't know cuda is available so defaults to the CPU version. I did have the *driver* installed, but not the toolkit.

  • @aymanzouhair5898
    @aymanzouhair5898 3 หลายเดือนก่อน

    May god bless you !

  • @user-zl4rp4cj2o
    @user-zl4rp4cj2o 3 หลายเดือนก่อน

    how many read files do we have to download for a single WGS of a single bacteria ?

  • @BhanuPrakash-pj1ev
    @BhanuPrakash-pj1ev 3 หลายเดือนก่อน

    Error: nvidia-smi is not recognized as an internal or external command,operable program or batch file. Please help me out this

    • @alexsoupir
      @alexsoupir 3 หลายเดือนก่อน

      This sounds like a driver problem. Do you have the latest Nvidia GPU driver installed?

  • @tsubaki9146
    @tsubaki9146 3 หลายเดือนก่อน

    thank you so muchhhh! finally can use my gpu TT

  • @abdelrahmanmahany133
    @abdelrahmanmahany133 3 หลายเดือนก่อน

    Thanks for the great tutorial. I faced a problem that when running spatialTIME NN_G() it gave me values without numbers just NaN. What could be the reason?

    • @alexsoupir
      @alexsoupir 3 หลายเดือนก่อน

      There's a few possible reasons. Usually when "NaN" is produced over "NA" that is due to spatstat.explore::Gest not liking the input data since it passed our checks (e.g. needing so many cells to calculate). I would plot the sample that is producing these "NaN" values and see if there are any reasons visible. Maybe no cells within the search radius and maybe not an appropriate edge correction method (just guessing). Another thing might be that the cells of interest are too close to the edge of the sample and too far away from each other that the edge correction is dominating the weight of the nearest neighbor measurement and spatstat just kicks it out. Can extract that sample, create a window with convexhull.xy, create a ppp object with ppp(data$xlocation, data$ylocation, window, ...), then run Gest on that ppp object to see what happens. Would just need to explore your data a bit more.

    • @abdelrahmanmahany133
      @abdelrahmanmahany133 3 หลายเดือนก่อน

      @@alexsoupir What confused me that I followed your tutorial step by step with the same dataset but the output was as I typed previously

    • @alexsoupir
      @alexsoupir 3 หลายเดือนก่อน

      @@abdelrahmanmahany133 That is strange unless it's a sample thing as I mentioned. Did the same sample/cell type that gave NaN for use give values for me? There are instances that NaN is expected.

    • @abdelrahmanmahany133
      @abdelrahmanmahany133 3 หลายเดือนก่อน

      @@alexsoupir Yes it is the same sample/cell type. The only different thing in my trial that I installed the most recent version of spatialTIME as I noticed that you said that the version in the video is not the most recent.

    • @alexsoupir
      @alexsoupir 3 หลายเดือนก่อน

      @@abdelrahmanmahany133 Open an issue on GitHub and if you can remove all other spatial data frames from the mIF to upload on GitHub. Then I can take a look

  • @user-sc2bk9ur5m
    @user-sc2bk9ur5m 3 หลายเดือนก่อน

    Sorry, Sir. One more question: for spatialTIME, when they create windows by owin (I assume), did it use polygonal or mask, which make me concern of border correction in my TMA cores.Thank you so much for your attention

    • @alexsoupir
      @alexsoupir 3 หลายเดือนก่อน

      No worries! When creating a window for the calculations, it is done with `convexhull.xy` using the cells x and y locations (as specified with `xloc` and `yloc`). Neither `polygon` or `mask` are options in this function and I have never used those options when calculating spatial summary functions. I *have* used a mask to mask off parts of a window with *simulating* point patterns with functions like `rpoispp` to create a Poisson point pattern from the Poisson process, but this is irrelevant here. The edge corrections work correctly with the `owin` object created with the `convexhull.xy` as the cells are creating the boundary of the observation window which is not always the case when using masks. If you are really interested in diving into some of the methodology, play around with some of the subfunctions from the spatstat such as `edge.Trans` to convince yourself of the impact the cells distance to the window has on the amount it's being adjusted (closer = greater). Lots of functions that are within `Kest` and `Gest` may help with understanding these. But to answer your question, we are essentially creating a single polygon that is created by drawing as round of a circle as possible around all cells in a sample with `convexthull.xy` so the edge corrections are working as they should.

    • @user-sc2bk9ur5m
      @user-sc2bk9ur5m 3 หลายเดือนก่อน

      @@alexsoupir Dear Sir, thank you so much for your response !

  • @mancobonkey4595
    @mancobonkey4595 3 หลายเดือนก่อน

    Alex! You are the best man! I wish you and your family wealth and health!

  • @pelumimagret7447
    @pelumimagret7447 3 หลายเดือนก่อน

    Can you also teach how run PanX which is used for pangenome of less identity between species which Roary cannot do

  • @riddheshmore2315
    @riddheshmore2315 3 หลายเดือนก่อน

    Thanks a lot after so many uninstalls (4hr) ;(, this helped . i got Command 'nvcc' not found, after installing NVCC from the official website. But i got True while checking is_available. I dont understand why i got this error ?

    • @alexsoupir
      @alexsoupir 3 หลายเดือนก่อน

      This is interesting. Wonder if the drivers have it and happened to already be on mine? There are some discussions online about now having a cuda specific library. NVCC must have been part of some other package install like a driver install or something. From reading, it doesn't get installed specifically without the cuda library (see: stackoverflow.com/questions/56470424/nvcc-missing-when-installing-cudatoolkit). While not having cuda installed on my system before installing here, it must be carried over from another software. Even made sure that outside of this cuda environment that cuda is NOT available. Great issue you happened across. Not always fun, but good find. Hopefully someone else can benefit from this.

    • @riddheshmore2315
      @riddheshmore2315 2 หลายเดือนก่อน

      @@alexsoupir Got it. Thanks once again for your insightful video.

  • @Finnick5
    @Finnick5 4 หลายเดือนก่อน

    Thanks ! You solved my problem 🙏

  • @nasrinravansalar
    @nasrinravansalar 4 หลายเดือนก่อน

    very very helpful. thank you so much

  • @frederikvanaverbeke8840
    @frederikvanaverbeke8840 4 หลายเดือนก่อน

    worked like a charm

  • @knowit999
    @knowit999 4 หลายเดือนก่อน

    THANKS, REALLY HELPFUL!

  • @abdelrahmanmahany133
    @abdelrahmanmahany133 4 หลายเดือนก่อน

    Why when I run the flightpath plot more than one time it give two different plots? Thanks in advance

    • @alexsoupir
      @alexsoupir 4 หลายเดือนก่อน

      The posterior probabilities (the likelihood a cell belongs to a cluster) should all be set and not change after running InSituType. When plotting, there must be some randomness used when setting the *locations* of the cluster centers. As you can imagine, the X and Y locations in the flightpath plot are arbitrary as long as the other clusters are placed at relative distances. Have to remember that this is just visualization of the data and we aren't going to do any analyses downstream with the point locations on the plot. To play around a little bit, can try setting a seed (using `set.seed(123)`) for the plot. A UMAP also requires a seed because of randomness which is why within the Seurat `RunUMAP` function they use the default seed of '42'. Agree for reproducibility they should have included a seed parameter. But, as I said, this plotting is just for visualization purposes and the exact locations aren't entirely meaningful - point at (2,2) isn't half whatever as a point at (4,4).

  • @lst595991
    @lst595991 4 หลายเดือนก่อน

    It's great to see you again. Your Bioinformatics series from three years ago was very helpful. After seeing that you were doing Arduino, I thought you were no longer making videos. I just checked on a whim and saw that you're still updating. That's great!

    • @alexsoupir
      @alexsoupir 4 หลายเดือนก่อน

      Wasn't sure what to make videos for anymore but then gained some new experience with new methods and technologies and thought useful to share. Arduino project was put on hold because plants died..tried again recently but the power died again. Not sure what the issue is but don't have a yard or anything so stuck with pots. Not ideal..

  • @user-sc2bk9ur5m
    @user-sc2bk9ur5m 4 หลายเดือนก่อน

    Dear Sir, when I run spatialTIME, there is a error "can't interpret w as a window"; I try to load "maptools" to solve the problem, which didnt work. If you could help me, much appreciation

    • @alexsoupir
      @alexsoupir 4 หลายเดือนก่อน

      Hey Zhiyuan. I had a clinical fellow run into this issue as well but can't remember off the top of my head what the problem was. Sounds like some sample is missing enough cells (points) to properly create a window. Are any of your spatial data frames containing less than 2 rows? Alternatively, are you specifying the `xloc` and `yloc`? We'll get the bottom of this because have come up before. Pretty sure it's the not enough cells/points problem.

    • @user-sc2bk9ur5m
      @user-sc2bk9ur5m 4 หลายเดือนก่อน

      @@alexsoupir Hi,Thanks for all your attention. You were right. It is because that shortage of data point on my file for trial Thank u so much

  • @Wang-hc1of
    @Wang-hc1of 4 หลายเดือนก่อน

    Hi, Why does it work when the cudatoolkit is 11.8 while the torch you install is 12.1?

    • @alexsoupir
      @alexsoupir 4 หลายเดือนก่อน

      Good question to which I don't have a good answer. Might be any number of things like drivers for the GPU, some other system things, something Pytorch did to allow backwards compatibility, etc? I agree would think we would want to match them but as long as it's working, and we can document versions, that's the important part.

  • @abdelrahmanmahany133
    @abdelrahmanmahany133 4 หลายเดือนก่อน

    Each time I load Seurat object in rstudio it crash while loading but it is fine loading in vs code. Is it ok to use vs code or I will miss anything? Thanks

    • @alexsoupir
      @alexsoupir 4 หลายเดือนก่อน

      That does sound strange, huh? It's okay to use VS code for R and I think there are people that like it because of the flexibility between different programming languages. The only down side is that VS code doesn't support the R Projects (or at least last time I look - may have changed since). RStudio is pretty bad with memory (and the R language as a whole) so a really large Seurat object may be hitting the limit of RStudio while not VS code. That's my guess.

    • @abdelrahmanmahany133
      @abdelrahmanmahany133 4 หลายเดือนก่อน

      @@alexsoupir Thanks . I will try to keep up with you using vs code or I will try to increase the ram size for my device 😅

    • @alexsoupir
      @alexsoupir 4 หลายเดือนก่อน

      @@abdelrahmanmahany133 totally possible! Only think that will change is the .RProj part of automatically setting a working directory. Rest would work fine. Good luck!

    • @abdelrahmanmahany133
      @abdelrahmanmahany133 4 หลายเดือนก่อน

      @@alexsoupirThanks for your help

    • @abdelrahmanmahany133
      @abdelrahmanmahany133 4 หลายเดือนก่อน

      @@alexsoupirI created a swap folder and it solved the problem

  • @HeLiAn5
    @HeLiAn5 4 หลายเดือนก่อน

    Thank you so much for all the lectures! they are really helpful!

  • @atuhairedruscilla9960
    @atuhairedruscilla9960 4 หลายเดือนก่อน

    thanks for the video. i followed everything to the dot torch imported but it returned false i dont know why

    • @alexsoupir
      @alexsoupir 4 หลายเดือนก่อน

      If you have Nvidia card and didn't work, can always check to see if the drivers for the card are updated and then making sure the order of things installed in the conda environment is followed. If things are installed in different order (say installing pytorch before the cudatoolkit) then pytorch will be installed with the CPU version because at the time of install the tool kit isn't available. Usually easier to remove the conda environment and try again from scratch vs trying to remove the correct packages. Can also try changing the cudatoolkit version to something like the nvidia-smi version.

  • @abdelrahmanmahany133
    @abdelrahmanmahany133 4 หลายเดือนก่อน

    Thanks for the tutorial. I think the problem with the gffs from NCBI is that it doesn't contain the fasta sequence at the end of the gff. so I concatenated the fasta sequence to the end of each gff file and roary worked fine.I did this to avoid running prokka again for all these assemblies

  • @Z3ratoss
    @Z3ratoss 5 หลายเดือนก่อน

    Interesting video. I would very much like to see an example of this applied to count or spatial data. All the tutorails show MNIST and I find it hard to make the mental leap to biological data

    • @alexsoupir
      @alexsoupir 5 หลายเดือนก่อน

      I made a model actually with my data and it seemed to work fairly well and am trying to work it into an ITCR grant or R01. There are other methods out there that do similar things but, in my opinion, they're way over complicated. Will see about making a video on this since I do think it's a valid method especially with the slightly more noisy spatial gene expression data. Maybe write up a paper quick to put on rxiv first.

  • @Z3ratoss
    @Z3ratoss 5 หลายเดือนก่อน

    Hi Alex, very interesting videos. We work on similiar stuff, so I am probably going to watch all of them. Do you have any experience with integrating high res spatial data with scRNA or spatial protein assays in a imputation or "batch correction" setting? Thanks!

    • @alexsoupir
      @alexsoupir 5 หลายเดือนก่อน

      Hey. Thanks much. I don't have experience in that yet but we have spatial protein from orthogonal sections of our spatial tramscriptomic data and I just need time to learn how to do integration. We also have bulk DNA and RNA from them so all the data is there. I'm working with a clinical fellow right now to try and classify cells based on transcript interaction at the cell level (looking at interaction of different transcripts within a cell). Idea is that location plus counts can help refine cell types. Data is very sparse though.

  • @hassanramadan358
    @hassanramadan358 5 หลายเดือนก่อน

    when I download the raw data it give me this file SRR9321164.fastq with size 250 MB and after extraction give one file SRR9321164.fastq, there werenot other files (paired fasta file and sra file) can you give me the direct website for downlod

  • @abdelrahmanmahany133
    @abdelrahmanmahany133 5 หลายเดือนก่อน

    Thanks for the tutorial. I have a question. Is it a good practice to add the step of star genome indexing in the snakamake workflow? as it is a resources consuming step.

    • @alexsoupir
      @alexsoupir 5 หลายเดือนก่อน

      So this could depend on the process, pipeline, core that you work in. If you are in a bioinformatics core then one could argue to have a folder of different versions of the genome/genomes and use whatever a PI wants you to use. Alternatively, if you have a "1 and done" sample run or perhaps a couple, then incorporating the genome building into the workflow *could* save key strokes. Really what you think is best. Also, could have a check in a job to where if there is an already built genome then you can just use it but otherwise build the genome. This would be beautiful if working in a core and maybe someone has a mouse, maybe someone wants hg38 for a comparison, maybe another hg19 because thats what theyve always used. Hopefully this makes sense. Ultimately comes down to the situation for the project and future project possibilities. If not needing to be flexible then no doesn't make much sense to include but for adaptation to unique projects could be valuable.

    • @abdelrahmanmahany133
      @abdelrahmanmahany133 5 หลายเดือนก่อน

      @@alexsoupirThanks for the clearance

  • @abdelrahmanmahany133
    @abdelrahmanmahany133 5 หลายเดือนก่อน

    Thanks. when running unicycler I got 124 contigs not 118 as in the video. what could be the reason? I installed the most recent packages not specific ones like in the tutorial.

    • @alexsoupir
      @alexsoupir 5 หลายเดือนก่อน

      That could be a reason. One hopes that as time goes on, there is more and more refinement of tools. If the same version and everything was used, it might come down internal random seeds of where to begin building contigs that it arrives at a different final 'optimal' final product. Can't think of a different example that's easy to understand outside of K-Means clustering - a random location is generated at the beginning of the fit. If the final product differs from run to run, there might actually be a way to leverage this to increase the build of our genome and decrease contig number. Lets say we run it 10 times and get slightly different contig numbers and sizes each time, we can then align all of our contigs and see if any contig from different runs are able to bridge gaps. Can start thinking one step further and see what pops up. What happens if you align the longest contig from different builds? Are they identical? Are there differences? If there are differences, can we produce a consensus but building the genome over and over and seeing what changes? Great thing with some of this stuff is that if/when there's a deviation from 'typical', that leaves room to get creative!

    • @abdelrahmanmahany133
      @abdelrahmanmahany133 5 หลายเดือนก่อน

      @@alexsoupir Great. I got it now. Thanks a lot.

    • @hassanramadan358
      @hassanramadan358 5 หลายเดือนก่อน

      Can I contact with you Dr abdelrahman ​@@abdelrahmanmahany133

  • @n1c2k
    @n1c2k 5 หลายเดือนก่อน

    I've been looking for something like this for months! thank you! Could you go through this process installing luigi311/jellyplex-watched. I'm super confused on how to get it going. Thanks