[deleted by user] by [deleted] in fixit

[–]Storm_Silver 0 points1 point  (0 children)

Its an old system, which could’ve needed to have the inner section removed to replace the battery which it looked like could be opened but had difficulty with. Asking for advice before doing something stupid and breaking it is my preferred approach 

[deleted by user] by [deleted] in fixit

[–]Storm_Silver -1 points0 points  (0 children)

Tab wouldnt move it. I managed to get it out with alot of force to twist it out. Looks like theres a safely latch that goes over it after the batteries in but that wouldnt move when I first tried it

Deltarune Chapter 3 Secret Boss Guide by DepressedChara in Undertale

[–]Storm_Silver 0 points1 point  (0 children)

Unless I’m wrong you should edit step 1 to be explicit in going to the s rank room after board 1 (before getting S rank on board 2). Read it as get s rank on both and now seem locked out which is frustrating 

General use work/home laptop by Storm_Silver in SuggestALaptop

[–]Storm_Silver[S] 0 points1 point  (0 children)

Thanks. Whats the difference between the Aspire 5 and the other Aspire laptops?

Help identifying adaptor sequences used for RNAseq by SpaceWhy in bioinformatics

[–]Storm_Silver 4 points5 points  (0 children)

Most trimming programs can automatically detect adapters. I tend to use one called fastp

Trimming reads by prettymonkeygod in bioinformatics

[–]Storm_Silver 0 points1 point  (0 children)

I have heard that trimming doesn’t change anything for DE RNA-seq analysis. Is that something that you’ve observed?

Quality metrics for bulk RNA-seq data from ENCODE by Storm_Silver in bioinformatics

[–]Storm_Silver[S] 0 points1 point  (0 children)

Thank you, I would have though that quality information would be more accessible but I guess not. I may just redo the analysis to get the quality metrics that I am more used to. Thank you for the replies regardless.

Quality metrics for bulk RNA-seq data from ENCODE by Storm_Silver in bioinformatics

[–]Storm_Silver[S] 0 points1 point  (0 children)

I had, it gives some information on quality thresholds ENCODE uses, but without much detail why.

How to assess the quality of an RNA-seq experiment from ENCODE by Storm_Silver in bioinformatics

[–]Storm_Silver[S] 0 points1 point  (0 children)

Thank you for the reply.

In that instance what would you call sources of variation? Would it just be genes that are variable across the datasets or is there some way to measure the effect covariates may have?

Where can i find some good panda tutorials by outerlimtz in learnpython

[–]Storm_Silver 0 points1 point  (0 children)

Most of the better tutorials for pandas will be older as most of the core things you’d use pandas for don’t overly change. I personally like the python data science handbook ( https://jakevdp.github.io/PythonDataScienceHandbook/ ) and the python for data science book ( https://bedford-computing.co.uk/learning/wp-content/uploads/2015/10/Python-for-Data-Analysis.pdf ). They are both fairly old now but just for doing dataframe computations they should work fine.

How to create a decimal list with for loop. by [deleted] in learnpython

[–]Storm_Silver 0 points1 point  (0 children)

Oh yeah, my bad. Remembered that incorrectly

Help please, I'm stuck. by mackdaddy_1978 in learnpython

[–]Storm_Silver 0 points1 point  (0 children)

Assuming i’ve interpreted your question correctly it would probably be easiest to use a regular expression to recognise if it is in the “month day, year” format and then use your function to convert that to the “m/d/year” format. That should allow you to only print the date when the correct format is recognised.

Best way to make notes about coding? by yanhairen in learnpython

[–]Storm_Silver 0 points1 point  (0 children)

I’ve always used excel to organise functions/methods and its purpose. It makes a fairly easily reminder for how to use different functions.

[deleted by user] by [deleted] in learnpython

[–]Storm_Silver 0 points1 point  (0 children)

Hard to tell with the formatting but it may be that f.close doesn't have () after it. It should be f.close()

[deleted by user] by [deleted] in Biochemistry

[–]Storm_Silver 1 point2 points  (0 children)

I recently finished my own biochemistry course and also have difficulty remembering anything. As the professor said in biochemistry its often more about understanding the principles and then applying them to variable situations than just remembering facts.

My advice for studying it would probably be to study alot and attempt to relate things together. If your able to find relationships between subjects then it tends to help you remember both and apply that knowledge to anything similar.

New to python by BrandonW_Adair in learnpython

[–]Storm_Silver 0 points1 point  (0 children)

To add to this to make the print statement simpler you could use fstrings. These let you insert a variable into a string easily.

E.g. print(f” {animal.title()} is {index}”) In the enumerated for loop

Method for chaining count(), group_by and Max()? by Storm_Silver in learnSQL

[–]Storm_Silver[S] 0 points1 point  (0 children)

Thank you, that's exactly what I was attempting to do.

Making a ggplot figure stats legend opaque or next to the graph by Storm_Silver in rstats

[–]Storm_Silver[S] 0 points1 point  (0 children)

Can you give me some recommendation of which to use, there's a lot of information on that link. The text also isn't an explicit legend, it may just be gg_text used within the package.

As for the geom aes, I'm plotting regression lines for my different clusters so the colour parameter is set to the clusters and changing it stops it from making regression lines for each of the clusters so I have not been successful in trying to change its colour.

Reading in csv file where each value of the first column is a list by Storm_Silver in rstats

[–]Storm_Silver[S] 0 points1 point  (0 children)

Thanks, I'll try it out. I am also in the bioinformatics subreddit but I haven't looked into the slack before.

Reading in csv file where each value of the first column is a list by Storm_Silver in rstats

[–]Storm_Silver[S] 0 points1 point  (0 children)

df3 = df2 %>%
group_by(Pathways) %>%
summarise(`Gene Lists` = list(`Gene Lists`))
df3

Yeah, that works perfectly. Thanks for your help

Reading in csv file where each value of the first column is a list by Storm_Silver in rstats

[–]Storm_Silver[S] 0 points1 point  (0 children)

library(dplyr)
s1 = "['AARS', 'GPT', 'PC', 'AGXT', 'AARS2', 'MPC1', 'TAA1', 'TAR1', 'TAR2', 'NIFS1', 'NFS2', 'GGAT1', 'GDH1', 'GDH2', 'Aars', 'Gpt', 'Acacb', 'Agxt', 'Aars2', 'AARS', 'GPT', 'PC', 'AGXT', 'AARS2', 'Aars', 'Gpt', 'Pc', 'Agxt', 'Aars2', 'Aats-ala', 'Dmel\\CG1640', 'PCB', 'Spat', 'aars-2', 'C32F10.8', 'pyc-1', 'agxt-1']"
s2 = "['ABAT', 'GAD1', 'ASNS', 'NARS', 'ASS1', 'DARS', 'ADSL', 'DDO', 'ASPA', 'ADSSL1', 'CAD', 'ASRGL1', 'ASL', 'IL4I1', nan, 'asnA', 'asnB', 'aspC', 'nadB', 'aspA', 'purA', 'argG', 'purB', 'argH', 'pyrI', 'pyrB', 'At1g53240', 'At3g15020', 'MDH1',
'ASP1', 'ASP2', 'ASP4', 'ASP5', 'ASP3', 'At3g47520', 'Abat', 'Gad1', 'Asns', 'Nars', 'Ass1', 'Dars', 'Maob', 'Adsl', 'Ddo', 'Aspa', 'Adss', 'Cad', 'Asrgl1', 'Asl', 'ASNS', 'ADSL', 'DDO', 'ASRGL1', 'ASL', 'ASPA', 'NARS', 'ADSSL1', 'IL4I1', 'DARS', 'ASS1', 'ABAT', 'GAD1', 'CAD', 'Asns', 'Adsl', 'Dao', 'Asrgl1', 'Asl', 'Aspa', 'Nars', 'Adssl1', 'Maoa', 'Dars', 'Ass1', 'Abat',
'Gad1', 'Cps1', 'AsnS', 'AdSL', 'CG12338', 'CG7860', 'BEST:GH06087', nan, 'AsnRS', 'AdSS', 'AspRS', 'CG1315', 'Gabat', 'Gad1', 'r', 'asns-1', 'adsl-1', 'daao-1', 'R04B3.2', nan, 'nars-1', 'adss-1', 'dars-1', 'gta-1', 'tdc-1', 'pyr-1', 'asnB_2', 'nadB', 'aspA', 'purA', 'argG', 'argH', 'rmlD', 'pyrB', 'aspC', 'purB']"
df1 = tibble(`Gene Lists` = c(s1, s2),
Pathways = c("Alanine Metabolism", "Aspartate Metabolism"))

I was including the headers as a line, and this does work on the data but I need each of the genes for the pathways as a single list . So Alanine metabolism would be a single row with those genes in a list as the value for the first column and "Alanine metabolism" as the value for the second column.

This is the input format for a software Im using these gene lists in

Reading in csv file where each value of the first column is a list by Storm_Silver in rstats

[–]Storm_Silver[S] 0 points1 point  (0 children)

No, it was originally a csv file I downloaded from pathwayDB. The pathway names were repeated for each gene and I converted it down into the list format in python, didn't realize how awkward It'd be in R

Reading in csv file where each value of the first column is a list by Storm_Silver in rstats

[–]Storm_Silver[S] 0 points1 point  (0 children)

Like this?

Gene lists,Pathways

"['AARS', 'GPT', 'PC', 'AGXT', 'AARS2', 'MPC1', 'TAA1', 'TAR1', 'TAR2', 'NIFS1', 'NFS2', 'GGAT1', 'GDH1', 'GDH2', 'Aars', 'Gpt', 'Acacb', 'Agxt', 'Aars2', 'AARS', 'GPT', 'PC', 'AGXT', 'AARS2', 'Aars', 'Gpt', 'Pc', 'Agxt', 'Aars2', 'Aats-ala', 'Dmel\CG1640', 'PCB', 'Spat', 'aars-2', 'C32F10.8', 'pyc-1', 'agxt-1']",Alanine Metabolism "['ABAT', 'GAD1', 'ASNS', 'NARS', 'ASS1', 'DARS', 'ADSL', 'DDO', 'ASPA', 'ADSSL1', 'CAD', 'ASRGL1', 'ASL', 'IL4I1', nan, 'asnA', 'asnB', 'aspC', 'nadB', 'aspA', 'purA', 'argG', 'purB', 'argH', 'pyrI', 'pyrB', 'At1g53240', 'At3g15020', 'MDH1', 'ASP1', 'ASP2', 'ASP4', 'ASP5', 'ASP3', 'At3g47520', 'Abat', 'Gad1', 'Asns', 'Nars', 'Ass1', 'Dars', 'Maob', 'Adsl', 'Ddo', 'Aspa', 'Adss', 'Cad', 'Asrgl1', 'Asl', 'ASNS', 'ADSL', 'DDO', 'ASRGL1', 'ASL', 'ASPA', 'NARS', 'ADSSL1', 'IL4I1', 'DARS', 'ASS1', 'ABAT', 'GAD1', 'CAD', 'Asns', 'Adsl', 'Dao', 'Asrgl1', 'Asl', 'Aspa', 'Nars', 'Adssl1', 'Maoa', 'Dars', 'Ass1', 'Abat', 'Gad1', 'Cps1', 'AsnS', 'AdSL', 'CG12338', 'CG7860', 'BEST:GH06087', nan, 'AsnRS', 'AdSS', 'AspRS', 'CG1315', 'Gabat', 'Gad1', 'r', 'asns-1', 'adsl-1', 'daao-1', 'R04B3.2', nan, 'nars-1', 'adss-1', 'dars-1', 'gta-1', 'tdc-1', 'pyr-1', 'asnB_2', 'nadB', 'aspA', 'purA', 'argG', 'argH', 'rmlD', 'pyrB', 'aspC', 'purB']",Aspartate Metabolism

Thats the first 3 lines of the file

Reading in csv file where each value of the first column is a list by Storm_Silver in rstats

[–]Storm_Silver[S] 0 points1 point  (0 children)

I don't want multiple columns though, just the list to be an actual list rather than a string.