DESeq2 workflow tutorial | Differential Gene Expression Analysis | Bioinformatics 101

A walk-through of steps to perform differential gene expression analysis in a dataset with human airway smooth muscle cell lines to understand transcriptome changes in response to asthma medications.
DESeq2 Vignette:
bioconductor.org/packages/rele...
Link to Code:
Code to get data: github.com/kpatel427/KZreadT...
DESeq2 workflow: github.com/kpatel427/KZreadT...
Additional resources:
1. bioc.ism.ac.jp/packages/2.14/...
2. bioconductor.org/packages/rel...
3. lashlock.github.io/compbio/R_...
4. genviz.org/module-04-expressi...
Chapters
0:00 Intro
0:45 Study design
2:30 Preparing counts data
5:41 Create DESeqDataSet (dds) object
9:51 Setting reference level
11:20 Run DESeq()
12:35 results after running DESeq()
14:14 Multiple testing correction (adjust p-values)
15:06 Exploring results
16:07 Contrasts
17:53 MA plot (Visualize DE genes)
Show your support and encouragement by buying me a coffee:
www.buymeacoffee.com/bioinfor...
To get in touch:
Website: bioinformagician.org/
Github: github.com/kpatel427
Email: khushbu_p@hotmail.com
#bioinformagician #bioinformatics #deseq2 #differentialgeneexpressionanalysis #rnaseq #fpkm #rpkm #tpm #normalization #rna #ncbi #genomics #beginners #tutorial #howto #omics #research #biology #ngs

Пікірлер: 227

  • @AyrodsGamgam
    @AyrodsGamgam Жыл бұрын

    wow, you made it like a promenade in the park on a nice spring day. Thanks. Plz never stop making these videos, you are a true prophet!

  • @user-tl4yl7hq1d
    @user-tl4yl7hq1d2 ай бұрын

    I very much appreciate that you gave a very clear and concise explanation of the workflow of DESeq2. I've learned a lot from it

  • @catherinewaaaang
    @catherinewaaaang3 ай бұрын

    this is my first time using DESeq2 and your explanations and demonstrations in this video were amazing! tysm

  • @andreaseriksson4578
    @andreaseriksson4578 Жыл бұрын

    Thank you for an excellent and pedagogical video on how to operate DESeq2! I had some initial issues, as I had to replace the row numbers with my gene symbols (which where in their own column). But once I had that figured out, for both files (counts and coldata), everything worked smoothly. If someone has the same issue, use this script (for colData; similar process for counts): DF

  • @samuelyeo5450
    @samuelyeo54502 жыл бұрын

    Thanks for your tutorial! It was clear, concise and extremely helpful.

  • @Spirrie2002
    @Spirrie20022 ай бұрын

    Your tutorials are some of the best on you tube for sure! Well done and thank you so much!

  • @animatedbiologywitharpan
    @animatedbiologywitharpan2 жыл бұрын

    For an Indian PhD student like me (who is not familiar with Bio Info) this channel is a blessing . I will share it with my batchmates. Very nice youTube channel. Keep it up.

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    Thank you Arpan, I am glad you find my videos helpful! :)

  • @AbdullahSharabati

    @AbdullahSharabati

    Жыл бұрын

    So, even Indians needed tutorials? Sorry it's just a bad joke, please don't mind me, all respect. :)

  • @animatedbiologywitharpan

    @animatedbiologywitharpan

    Жыл бұрын

    @@AbdullahSharabati Yes why not we all need help. I actually learn from her channel quite frequently. As Indians, we have developed a culture of Peer Learning.

  • @AbdullahSharabati

    @AbdullahSharabati

    Жыл бұрын

    @@animatedbiologywitharpan I totally understand you and know you are meaning, I was just kidding, really, sorry

  • @devinjones7271
    @devinjones7271 Жыл бұрын

    SO HELPFUL!!!! I wish I knew about this channel during my phd...

  • @user-mg4vj7yo6v
    @user-mg4vj7yo6v4 ай бұрын

    Your videos make every step so easy to understand!

  • @RaquelAjalik
    @RaquelAjalik Жыл бұрын

    Absolutely amazing! Thank you so much! You are so gifted.

  • @mamosangcala6499
    @mamosangcala6499 Жыл бұрын

    This was super helpful and easy to follow, thank you sooo much 🙌🙏💓. You are a star

  • @andrenicolau3824
    @andrenicolau38242 жыл бұрын

    Congratulations for your channel. I'm subscribing because of this video and your clear explanation...

  • @niharikasingh7677
    @niharikasingh7677 Жыл бұрын

    Your channel is extremely helpful to me and has been a real world saviour for gaining a fundamental understanding of my projects. I am working with gene knockout vs control conditions and will be using your pipeline to do the further analysis. Thanks again and keep up the amazing work!! 💛💛

  • @niharikasingh7677

    @niharikasingh7677

    Жыл бұрын

    Hi again! I tried to use this method but I'm facing a small error from my end. The Gene IDs are a separate column and hence my no. of rows are not equal to the no. of columns. How did you ensure that the Gene IDs don't get counted as a separate column?

  • @aymsagagi

    @aymsagagi

    Жыл бұрын

    I am having the same problem !

  • @mayconmarcao4554
    @mayconmarcao45542 жыл бұрын

    Beyond your excellent content, you nailed with your channel name choice (bioinformagician) 🤣😂😂. Thank you!

  • @umarsheikh1992
    @umarsheikh19922 жыл бұрын

    Thank you the tutorial, was highly helpful and informative.

  • @JulioSSierraCamarena
    @JulioSSierraCamarena2 жыл бұрын

    This is so nicely explained, thanks for your videos :3

  • @soniabachamp347
    @soniabachamp347 Жыл бұрын

    Thank you so much for preparing this video for us. It was extremely useful! I will definitely subscribe to your channel!

  • @asshimul1168
    @asshimul11682 жыл бұрын

    That's excellent magic indeed. You have done perfectly. Would you please create the next series according to the same data, how to analyze up and down-regulated gene comparison between treated and untreated groups by using box plot or something? It will be helpful as a newbie for me.

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    I will surely consider making a video covering downstream processing and visualization of these DEG :)

  • @phakawatchusuth3181
    @phakawatchusuth3181 Жыл бұрын

    Thank you so much from Thailand!

  • @bobyang8491
    @bobyang84912 жыл бұрын

    Thanks a lot for making this video! This is very very help ful!!!

  • @coolpad1572
    @coolpad15722 жыл бұрын

    Well made video. Thanks for sharing it with others.

  • @Sadin15
    @Sadin15 Жыл бұрын

    Thank you so much! This was incredibly helpful.

  • @RicardoRodriguez-yu8ss
    @RicardoRodriguez-yu8ss Жыл бұрын

    I have learned a lot from your videos! you are the best :)

  • @jgitau001
    @jgitau001 Жыл бұрын

    Very well explained, thank you preparing this video. . .

  • @audebenigneikuzwe4531
    @audebenigneikuzwe4531 Жыл бұрын

    thank youuuuu, you just saved my life literally

  • @furkankurtoglu_sys_bio
    @furkankurtoglu_sys_bio2 жыл бұрын

    Thank you very much! Such a great video!

  • @abhisheksawalkar1018
    @abhisheksawalkar101811 ай бұрын

    Greatly explained. Thanks

  • @sachithrak.yaddehige6251
    @sachithrak.yaddehige6251 Жыл бұрын

    It was very helpful and clear. Thank You

  • @awesomemiso
    @awesomemiso2 жыл бұрын

    Thank you, awesome explanation, I am now a subscriber :)

  • @kobrarahimi9164
    @kobrarahimi91642 жыл бұрын

    well done! wait for more videos.

  • @alexyang274
    @alexyang2742 жыл бұрын

    absolutely great videos

  • @jahanshanzida7697
    @jahanshanzida76972 жыл бұрын

    You did a great job

  • @CynthiaFrancis-sv4rc
    @CynthiaFrancis-sv4rc20 күн бұрын

    This was great! Thank you.

  • @adeyemioluwaseun334
    @adeyemioluwaseun3349 ай бұрын

    Easy to understand video. thank you

  • @johnbaker3296
    @johnbaker3296 Жыл бұрын

    Hey great stuff! I was wondering, what if you wanted to compare treated vs untreated but per cell line, would you have something in your design when creating your deseq object like (design = cell_line + condition) or is this extracted using contrasts or both?

  • @shilpisehgal5613
    @shilpisehgal56132 жыл бұрын

    Keep up the good work.

  • @tushardhyani3931
    @tushardhyani39312 жыл бұрын

    Thank you for this !!

  • @user-vk8bd1re8c
    @user-vk8bd1re8c2 ай бұрын

    Now I'm working on projekt and writing application reading disfunction expression From genotypem by cell repair In C++ - This video is very professional and helping Me to understanding data set From IT. Thanks You

  • @user-vk8bd1re8c

    @user-vk8bd1re8c

    2 ай бұрын

    DeSeq2 - That I nedeed 💪❤️🙏

  • @ethanvouzas6255
    @ethanvouzas62554 ай бұрын

    Supremely useful!!!

  • @stanyang4321
    @stanyang4321 Жыл бұрын

    very well explained. Can you tell how to plot heatmap for the data you analyzed in this video ?

  • @marioperez8302
    @marioperez8302 Жыл бұрын

    Your videos are wonderful! would you consider expanding on the use of contrast, perhaps a demonstration with a sample with 3 conditions or more exploring the results? Thank you for considering it and keep up the great work you are doing!

  • @Bioinformagician

    @Bioinformagician

    Жыл бұрын

    I will surely consider making a video on contrasts. Thanks for the suggestion.

  • @user-bn6hv7hq9i
    @user-bn6hv7hq9i9 ай бұрын

    so wonderful!!!! thanks a lot!

  • @julioavazquezm6294
    @julioavazquezm6294 Жыл бұрын

    Hello there, thank you so much for all amazing tutorials. Quick question: If I trying to analyze a counts normalized matrix (median of ratio DESeq2) Do I need to run DEGA? or log2 to that counts matrix?. Thank you so much for your help, I naive bioinformatician

  • @naveedkhan-fi6ux
    @naveedkhan-fi6ux Жыл бұрын

    it was very easy and informative..... but I really wish you could also work on rice genome

  • @freezingtolerance7493
    @freezingtolerance7493 Жыл бұрын

    Hello. I have an quick question in terms of normalization. Since Deseq2 itself has a normalization algorism, I do not need to do further normalization such as FPKM? Or, before performing Deseq2 run, should I first do normalization my read count data?

  • @coachjohnhaynes5366
    @coachjohnhaynes5366 Жыл бұрын

    Thanks for the videos

  • @user-db2os6sr8s
    @user-db2os6sr8s2 жыл бұрын

    Medical student who was struggling with this ! You're so kind and helpful, Thx!! And I'm curious about how to export the DESeq2 results into csv file or Excel file to check which gene is on the Upper/Lower right quadrant on the MA plot.

  • @Bioinformagician

    @Bioinformagician

    Жыл бұрын

    This is how you can export your results: write.csv(as.data.frame(results), file="results.csv")

  • @user-ub9qm5ip3c
    @user-ub9qm5ip3c Жыл бұрын

    Hi. Thanks for the video. Please how do I view all the genes (expressed and unexpressed)?

  • @rikstoyandactivityzone5669
    @rikstoyandactivityzone5669 Жыл бұрын

    Thank you for the video

  • @juliangrandvallet5359
    @juliangrandvallet5359 Жыл бұрын

    Thank you! How can I plot now the heatmap? something like > heatmap(as.matrix(res)) ??

  • @manuelsokolov
    @manuelsokolov Жыл бұрын

    Hi! I have one question, if data is given in the TPM format can you still apply the DESeq2? Does it only work with raw data? Thank you!

  • @MGRVE
    @MGRVE4 ай бұрын

    Great tutorial. One comment: reducing the size of the input is not done primarily because of reducing the computational burden, but to lessen the impact from multiple testing correction.

  • @smritimohanty3483
    @smritimohanty3483 Жыл бұрын

    Hey. Thanks for the video. Can you just lemme know that whether you took one data or two different types of data?

  • @ahmadnajem9762
    @ahmadnajem97624 ай бұрын

    Thank you so much for your videos. I would like to learn the pipeline for RNA seq data analysis and I am wondering if there is any order to follow up on the videos. Thank you so much

  • @amus21455
    @amus21455 Жыл бұрын

    really helpful! Thank you so much! But would love to know the explaination of each command. Like what do "~", "," do in the command. Thankssssssss

  • @maisie2735
    @maisie27352 ай бұрын

    thank you so much

  • @poulamigoswami8008
    @poulamigoswami8008 Жыл бұрын

    When we are performing de novo, how to make counts and sample info files? Can you suggest me any tool for making those files

  • @ayeshatariq8774
    @ayeshatariq87749 ай бұрын

    Hi, thank you for this amazing video. I am currently doing a gene expression analysis. Even though I have the same row and col names in my counts and coldata I am still getting the FALSE arguments for all(colnames(Counts) %in% rownames(Coldata)) can you please help with that?

  • @sanjaisrao484
    @sanjaisrao484 Жыл бұрын

    Mam help. Which is better mam, ballgown or DEseq2 ?

  • @OuanhPhomvisith
    @OuanhPhomvisith7 ай бұрын

    Hello, thank you so much for sharing the very helpful vdo. I want to know that when you load read counts data, the head of your read counts table shows only 8 columns of sample data excluding gene_id column, but when I do with my data, it still shows 9 columns (9 variables) including gene_id column. So, how can I do as you did? @Bioinformagician

  • @prabirbarman877
    @prabirbarman877 Жыл бұрын

    Error in `[.data.frame`(countData, , rownames(colData)) : undefined columns selected

  • @liviagozzellino7266
    @liviagozzellino72662 жыл бұрын

    Hi, thank you for your explanation!!! Very useful video :) I only have one question: once I got the results, how do I select the most differentially expressed genes? Let's say I wanna view only the top 40 genes.

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    You can sort your results by largest log fold changes and lowest adjusted p-values. The first 40 genes on your list are the ones which are most differentially expressed. NOTE: log fold changes can be positive or negative, if you sort log fold changes descending, you will only get top genes with largest positive fold changes. If you wish to get top differentially expressed genes irrespective of the direction, you can sort by taking absolute log fold change values.

  • @Ice84letters
    @Ice84letters2 ай бұрын

    Excellent videos, what does it means the following error when doing the DeSeq matrix? "In DESeqDataSet(se, design = design, ignoreRank) : some variables in design formula are characters, converting to factors" thank you very much

  • @saswatsatapathy658
    @saswatsatapathy658 Жыл бұрын

    I get stuck at 7:44 when we put "design = ~ dexamethasone" - Its shows an error of "some values in assay are negative"!! Can someone help here

  • @bzaruk
    @bzaruk2 жыл бұрын

    how would you do a differential expression between multiple cell lines? do them in pairs and then find the shared highly differentially expressed genes? or is there a way of doing it in one analysis?

  • @aliciagarciaalonso6930

    @aliciagarciaalonso6930

    9 ай бұрын

    Same issue!! I guess one may be able to do this comparisons in one go using the 'contrast' parameter of the result function? But I haven't checked it out...

  • @jenniferalexandrasolano-go1997
    @jenniferalexandrasolano-go19976 ай бұрын

    Thanks!

  • @kjeyaprakash2638
    @kjeyaprakash2638Ай бұрын

    Sorry if my question is wrong. You have done DEseq with raw gene counts. is not required to convert these id to gene name and normalize to FPKM or TPM for further analysis?

  • @deepshikharathore4182
    @deepshikharathore41824 ай бұрын

    kindly share a video on how to perform differential expression analysis of transcriptome data from TCGA database

  • @vetlove4056
    @vetlove405624 күн бұрын

    How did you take that geneids to the serial number ?? Please guide mee

  • @ahmedal-mammari9639
    @ahmedal-mammari96392 жыл бұрын

    thank you so much for this very help videos, can you plz explain why you didn't do cpm tpm rpk rpkm before DESQ?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    DESeq2 requires raw un-normalized read counts as it performs its own set of normalization steps. CPM, TPM, RPKM are all normalization methods that DESeq2 does not use.

  • @stretch8390
    @stretch83902 жыл бұрын

    Would you be willing to do a video on more complicated design setups for DESeq?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    Thank you for the suggestion. I will surely consider making a video covering this topic :)

  • @jkim9931
    @jkim99312 жыл бұрын

    I enjoy your videos! I have one question about your design. It seems like there are two categorical variables - cellLine and dexamethasone in the colData table. Is there some reason you didn't include the cellLine variable in the design matrix?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    You are right, I could have used both. However, I wanted to keep it simple for this tutorial and explain how the DEseq2 works for one design factor (i.e. dexamethasone) and so my goal for this analysis was to study the effect of treatment on gene expression. I could have used complex designs like ~ cellLine + dexamethasone, if I wanted to test for the effect of dexamethasone while controling for the effect of cellLine. But in this case, to keep it intuitive I chose to demonstrate with one factor. Hope that answers your question. Thank you! :)

  • @jkim9931

    @jkim9931

    2 жыл бұрын

    @@Bioinformagician Thanks for the explanation. I was thinking about that. This is a tutorial video so it doesn't have to be more difficult. I think forming a design matrix is involved in linear models which is another topic to explain. Thanks!

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    @@jkim9931 That is true, I have tried to explain linear models in my previous video (kzread.info/dash/bejne/YpZmls-pqrDFZbA.html). But yes, it can be a whole separate video in itself!

  • @manavgandhi2503
    @manavgandhi25032 жыл бұрын

    Hello, I really loved the walkthrough of DESeq2. Definitely going to follow your channel. I have a question. I have a counts matrix with following groups: control, treatment 1, treatment 2, treatment 3. First, I need to draw comparison between each treatment and control as reference and then compare between treatments. While setting the factor level, if I use control as the reference, then will it draw comparisons as follows: control vs treatment 1, control vs treatment 2 and control vs treatment 3? I believe I can use the contrast function for getting the comparison between treatments? Thank you!

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    I am glad my video has been helpful! Regarding your question, yes you can use contrast to make a comparison between treatments.

  • @manavgandhi2503

    @manavgandhi2503

    2 жыл бұрын

    @@Bioinformagician Thank you. Could you also confirm if setting the reference as control for factors would draw the same comparisons that I wrote?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    @@manavgandhi2503 Yes, setting control as the reference will allow you to make comparisons between control and treatment levels. Only difference being, you will be able to see the order reversed i.e. "condition_treatment1_vs_control", which essentially gives you genes up/down regulated in treatment 1 compared to control.

  • @manavgandhi2503

    @manavgandhi2503

    2 жыл бұрын

    @@Bioinformagician Got it. Thank you!

  • @justsoil15
    @justsoil15 Жыл бұрын

    when i use my data, i have error "more columns than column names". I check your file and see 2 files are same format. Why can you read file without error?

  • @fizzahzulfiqar2884
    @fizzahzulfiqar288410 ай бұрын

    @Bioinformagician very helpful. can you please make vedios on functional annotation of RNA seq data. It would be very helpful

  • @joseantonioduarteconde8743
    @joseantonioduarteconde87432 жыл бұрын

    Thanks for your useful video! I am a beginner and I have some problems. When I upload my airway package (It is done well) I do not get to obtain the files.csv in my file folder. It looks like nothing happens. Is there another way to get them?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    Can you give me exact commands you ran to get the data?

  • @munibabashir6951
    @munibabashir69512 жыл бұрын

    Informative video. Thanks I have a query regarding data analysis if you could please help me in that. I have a data set for tumors that I downloaded from cancer data portal so now I have gene expression data and clinical data for both tumors. I want to compare the gene expression of both tumors but I am no getting from where I should start, how can I compare these tumors by using DESeq2. Please guide me. Thank you

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    A couple of questions - 1. What data have you downloaded - RNA-Seq reads or quantified expression values? 2. What is the format of the data - are these raw counts or normalized expression values?

  • @fabioseiva-uenp9155
    @fabioseiva-uenp91552 жыл бұрын

    Congrats for your videos! They are really, really very useful and well explained. Just one question, maybe you can help me; Do you know how can I find, using R, the gene names or symbols from the ENSG numbers?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    I am in the process of making a video on it. Please stay tuned! :)

  • @fabioseiva-uenp9155

    @fabioseiva-uenp9155

    2 жыл бұрын

    ​@@Bioinformagician Thank you for your prompt reply. You can bet I'll be tuned. Also, could you tell me if it is possible to get the gene names from the ASHG numbers?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    @@fabioseiva-uenp9155 I haven't dealt with ASHG numbers, can you tell me what database are they associated with?

  • @fabioseiva-uenp9155

    @fabioseiva-uenp9155

    2 жыл бұрын

    @@Bioinformagician Ok, I am learning about using datasets, extracted from GEO, so maybe I am asking the wrong question. The dataset I am referring to is GSE55191. After extracting the data, the ID I have is based on ASHG. Sorry for not being more specific, but if you could take a look and answer me, I would be extremely grateful.

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    @@fabioseiva-uenp9155 Found the mappings - www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GPL24530

  • @ashasanu1988
    @ashasanu19882 жыл бұрын

    Hello Madam Thanks for you video, I am having 12 samples, in that 3 controls, 3 one trtmt, 3 another trtmt, 3 another trtmt,. So like this when there are 4 conditions, how to perform DESeq of those?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    Did you try following my video or the DESeq2 vignette? Could you tell me what you tried and what didn't work?

  • @toanphanvan9739
    @toanphanvan97392 жыл бұрын

    Fot the "set factor level" step, What should I do if I have 3 levels and I want to compare gene expression between three level?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    You could do pairwise comparisons first and then take an intersection between them.

  • @PharmaAI-LearningCenter
    @PharmaAI-LearningCenter2 жыл бұрын

    Hi, I am new in this domain so please tell about how you got expression data for GSE52778 and how to club all 8 sample data in one csv file.

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    The data was already merged and provided by the authors. However, if you are interested to learn how to merge datasets, I have previously covered it. Here's where you can find it - kzread.info/dash/bejne/eqaWx8N-etSxk7w.html

  • @tankkar9995
    @tankkar9995 Жыл бұрын

    May I ask how to download the CountData file in this tutorial please.... I tried looking at the study page but i just couldnt find a way to download the csv file.

  • @Bioinformagician

    @Bioinformagician

    Жыл бұрын

    Here is the code to get the data: github.com/kpatel427/KZreadTutorials/blob/main/getData.R

  • @stefanobergamini9245
    @stefanobergamini92452 жыл бұрын

    I did the same workflow with the same database, however the Log2FC all come out with the inverse sign .. what can this be due to? thank you in advance

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    Did you set the reference level before performing your analysis? Also could you paste the output from summary(result)?

  • @alvaroruiztabas5627
    @alvaroruiztabas56272 жыл бұрын

    Congratulations for the video. Very helpful. I am having problems with the DESeq2 installation, R tells me that the path is not writeable. Any help? Thanks

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    Can you paste the exact error?

  • @alvaroruiztabas5627

    @alvaroruiztabas5627

    2 жыл бұрын

    @@Bioinformagician Of course, when I run "BiocManager::install("DESeq2")", in the end of the run the console show "There were 16 warnings (use warnings() to see them)" and hen I run "warnings()", R shows 1: In install.packages(...) : installation of package ‘png’ had non-zero exit status 2: In install.packages(...) : installation of package ‘curl’ had non-zero exit status 3: In install.packages(...) : installation of package ‘openssl’ had non-zero exit status 4: In install.packages(...) : installation of package ‘RCurl’ had non-zero exit status 5: In install.packages(...) : installation of package ‘RcppArmadillo’ had non-zero exit status 6: In install.packages(...) : installation of package ‘httr’ had non-zero exit status 7: In install.packages(...) : installation of package ‘GenomeInfoDb’ had non-zero exit status 8: In install.packages(...) : installation of package ‘Biostrings’ had non-zero exit status 9: In install.packages(...) : installation of package ‘GenomicRanges’ had non-zero exit status 10: In install.packages(...) : installation of package ‘KEGGREST’ had non-zero exit status 11: In install.packages(...) : installation of package ‘SummarizedExperiment’ had non-zero exit status 12: In install.packages(...) : installation of package ‘AnnotationDbi’ had non-zero exit status 13: In install.packages(...) : installation of package ‘annotate’ had non-zero exit status 14: In install.packages(...) : installation of package ‘genefilter’ had non-zero exit status 15: In install.packages(...) : installation of package ‘geneplotter’ had non-zero exit status 16: In install.packages(...) : installation of package ‘DESeq2’ had non-zero exit status I don't really know how to fix it. Thanks!!

  • @anamikapandey4769

    @anamikapandey4769

    2 жыл бұрын

    @@alvaroruiztabas5627 install all the dependencies one by one, your problem will be resolved

  • @shrutigaggar22
    @shrutigaggar22 Жыл бұрын

    Can you make a video on functional enrichment analysis and GSEA?

  • @Bioinformagician

    @Bioinformagician

    Жыл бұрын

    That's definitely in the pipeline! Hopefully should be able to come up with a video on it soon. Please stay tuned :)

  • @acramulhaquekabir5852
    @acramulhaquekabir5852 Жыл бұрын

    Are you planning to do a video on Gene enrichment analysis?

  • @Bioinformagician

    @Bioinformagician

    Жыл бұрын

    Yes, I surely have plans to make a video on it.

  • @humerainayat2858
    @humerainayat28582 жыл бұрын

    I am getting this error when I am trying to create dds Error: unexpected '=' in: "dds

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    "dds

  • @excelobiageli9446
    @excelobiageli94462 жыл бұрын

    Nice video! Really helped, but I have 3 sample groups or levels. I have done pairwise comparison between the levels, but I don't know how to get final results

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    You can just intersect DE genes between both those comparisons.

  • @excelobiageli9446

    @excelobiageli9446

    2 жыл бұрын

    Okay, but how will my final result be like? Like the table containing the degs, will it still contain the original number of samples? And what values would it contain? That is where I am confused

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    @@excelobiageli9446 So for each pair-wise comparison, you will have a data.frame with differentially expressed genes, log fold change values, p-values, min.pct and q-values. You will have 2 such data frames from each comparison. You can filter differentially expressed genes based on p-values and/or q-values and log fold changes, and intersect genes column from both data.frames. So what you end up with a vector of genes differentially expressed from both comparisons.

  • @excelobiageli9446

    @excelobiageli9446

    2 жыл бұрын

    @@Bioinformagician okay!! Thank you very much

  • @grsbiosciences
    @grsbiosciences2 жыл бұрын

    What are technical replicates and biological replicates madam

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    I have explained this in one of my previous video - kzread.info/dash/bejne/hWWExbZuotOek5c.html

  • @aritahalder9397
    @aritahalder9397 Жыл бұрын

    I am getting this error, column 1 contains gene names counts_data

  • @aritahalder9397

    @aritahalder9397

    Жыл бұрын

    what needs to be done when there are duplicated gene names(with diff expression values) in the data?? Should we keep just one of the duplicated values or average out the values?

  • @ayaqz3144
    @ayaqz314429 күн бұрын

    thanks

  • @hhhh56hh545
    @hhhh56hh545 Жыл бұрын

    HELP thanks a lot for this tutorial I have a question: I have a set of data which has this condition: 1. severe drought in short time 2. severe drought in long time 3. mild drought in short time 4. mild drought in long time now, I want to make a meta data but I'm not sure how to do it, I tried many times and always get an error the most recurrent one is "the model matrix is full ranked..." any suggestion would be appreciated.

  • @Bioinformagician

    @Bioinformagician

    Жыл бұрын

    The error indicates you are providing redundant metadata to Deseq(). Can you email me the exact command and how your metadata looks like?

  • @prabirbarman877
    @prabirbarman877 Жыл бұрын

    Error in DESeqDataSetFromMatrix(countData = countData, colData = colData, : ncol(countData) == nrow(colData) is not TRUE

  • @mattmarino3460
    @mattmarino34602 жыл бұрын

    What can you do if the column names in the counts data does not match the rownames of the coldata? I had to create my own sampleinfo file, the names are identical and yet it says they do not match. I have even created an entirely new data frame using the for_matching_df

  • @KiwiAteMonkey

    @KiwiAteMonkey

    2 жыл бұрын

    hello, I have the same problem. Could you solve it for your data?

  • @mattmarino3460

    @mattmarino3460

    2 жыл бұрын

    @@KiwiAteMonkey use the colnames() function on your counts data. Copy those one by one into an excel file, add other rows next to each group aka “treated vs u treated” save as .txt or .csv. Then read into R using read.delim(data, header = true, sep = “,”, row.names = 1, stringsAsFactors = FALSE) that should fix it. Then you can check rownames of sample info match the column name of the data using all(colnames(data) %in% rownames(sampleinfo))

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    Convert column col1 in for_matching_df into rownames, and check if all(rownames(for_matching_df) == colnames(counts)) is TRUE? If it is not true, then run this: counts

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    In general there are two things you will check: 1. Are all column names in counts present as rownames in colData? all(rownames(colData) %in% colnames(counts)) # should be TRUE 2. Are all rownames in colData in the same order as column names in counts? all(rownames(colData) == colnames(counts)) # should also be TRUE In case if 2. is FALSE, then column order can be changed by running this: counts

  • @hongyu9455

    @hongyu9455

    2 жыл бұрын

    @@Bioinformagician Thanks for your tutorial. I have similar issue regarding matching column and row name. I’ve copied the command from you tutorial and got the following error message: all(colnames(counts_data) %in% rownames(colData)) Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function '%in%': error in evaluating the argument 'x' in selecting a method for function 'colnames': object 'counts_data' not found Many thanks for your help!

  • @devinjones7271
    @devinjones7271 Жыл бұрын

    In my metabarcoding dataset, I have multiple factors that I am interested in testing for differences. Does the factor level matter? Would I need to re-run DESeq with different factors for each of my different questions?

  • @Bioinformagician

    @Bioinformagician

    Жыл бұрын

    If I am understanding your question correctly, factor level does not matter. All levels are compared with a reference. Even then you could create contrasts between different levels. contrast in results() will allow you can compare any two groups you want.

  • @devinjones7271

    @devinjones7271

    Жыл бұрын

    @@Bioinformagician Great! So if I am interested in looking at time, sex, age, season, and a few other factors downstream analysis, I can just use something like sequencing run for my design to normalize across different sequencing runs and then pull that normalized data for other analyses?

  • @acramulhaquekabir5852
    @acramulhaquekabir58522 жыл бұрын

    # making sure the row names in colData matches to column names in counts_data all(colnames(counts_data) %in% rownames(colData)) TRUE # are they in the same order? all(colnames(counts_data) == rownames(colData)) False what can I do now? Can you please help?

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    counts_data

  • @paradoxoftrips
    @paradoxoftrips10 ай бұрын

    Hi, I am PhD student struggling to use the R studio. would you please help me to perform differential abundance analysis for my data, please let me know, I will mail you the data. I would be very grateful to you.

  • @sharincarin5977
    @sharincarin59772 жыл бұрын

    I tried this protocol for a series matrix file that had log2 normalized value (all decimal values, downloaded from GEO). I received the error: _Error in DESeqDataSet(se, design = design, ignoreRank) :_ _some values in assay are not integers_ Does this mean this package cannot be used for normalized decimal values? If yes, Which package is more suitable? A link to any relevant protocol would be appreciated. Thanks

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    You cannot run DESeq2 on log2 normalized counts. You need raw counts to run this analysis.

  • @kobrarahimi9164
    @kobrarahimi91642 жыл бұрын

    I have a question, you chose 10 for filtering genes. Is there any method to find this number? I used 10 for my data analysis, I got a lot of reads that was differentially expressed. and I think it is wrong. please help me, if there is method for finding filtering threshold.

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    I followed the threshold provided in the vignette. There is no method to find a threshold, it depends on how relaxed or stringent you want to be while filtering for genes. However, you need to be careful as having a higher threshold might filter out genes that may be differentially expressed but are not highly expressed. You said you found a lot of reads differentially expressed, can you explain why you think it is wrong?

  • @kobrarahimi9164

    @kobrarahimi9164

    2 жыл бұрын

    @@Bioinformagician I got the data from ncbi and working on it. In the summary that was provided with the data, it is written that they are comparing knockdown strain with wild strain in both irradiation and unirradiation condition. They found 31 genes that was differentially expressed. Unfortunately, they did not submit the protocol in supplementary data. When I run this command with threshold 10, I get more than 3000 genes. I dont know where is my problem.

  • @kobrarahimi9164

    @kobrarahimi9164

    2 жыл бұрын

    And when I set the pvalue

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    If you have retrieved the data from NCBI GEO, you will find associated publication. Read through the paper to find out what thresholds they used and why. Without those, it is really difficult to re-create what they found. You should also be interested in "why" those thresholds were used, it is important to be able to justify your choices.

  • @aymsagagi
    @aymsagagi2 жыл бұрын

    That is very helpful. i have a question, i always have problem with my metadata, i tried to save is as csv, text and so on but it always give me an error message "Error in DESeqDataSetFromMatrix(countData = cts, colData = metaData, design = ~condition) : ncol(countData) == nrow(colData) is not TRUE" could you please help me sort it out? Thank you.

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    The error is telling you that the the number of columns in your countData is not equal to the number of rows in your colData. They should be equal. Check the columns and rows in your countData and colData to make sure you don't have any extra columns.

  • @aymsagagi

    @aymsagagi

    2 жыл бұрын

    @@Bioinformagician i solved that, thank you. But one more problem, i always gets error saying that i have duplicate rows, any suggestions on how to resolved that, especially how to easily check all the rows from a big data.

  • @Bioinformagician

    @Bioinformagician

    2 жыл бұрын

    @@aymsagagi To check for duplicate rows in a data frame: df[duplicated(df),] To remove duplicated rows: df % distinct()

  • @aymsagagi

    @aymsagagi

    2 жыл бұрын

    Thank you so much.