Posts

Showing posts from May, 2019

How Could I Reply To "sorry"?

It's okay. Don't worry about it. Don't sweat. Not a big deal. Don't be. Or, slightly more formally,  'not at all' . It also depends on whether or not it is ok.  Situation 1:  Someone ran you over and broke your leg. Maybe you forgive them and accept their apology, but it's still a major problem for you.  In this case you could say "I appreciate your apology." Situation 2: A friend stepped on your toe. "Please don't worry about it in the slightest." "Don't give it another thought." "That's very kind of you, but an apology is not necessary." "No actually, I like having my toe stepped on. Please do it again." (OK, maybe not this.) never mind no problem it's okay no biggie (slang) ( correct please if there is any mistake )

Plasmid Pooled Libraries

Image
An Introduction to Pooled Libraries Pooled libraries represent a powerful tool for forward genetic screening, or identifying previously unknown genes that contribute to a phenotype. At their simplest level, pooled libraries are single preparations of many different plasmids. Plasmids within a given library have the same backbone, but they express or target different genes. Some libraries cover the majority of the genome, while others are restricted to certain gene sets. In  cDNA  libraries, each plasmid contains a unique cDNA. In  shRNA  or  gRNA  libraries, each plasmid contains a unique gene targeting sequence, but there are multiple sequences targeting each gene in the overall library.  Barcoding  libraries contain plasmids with unique, semi-random sequences that can be used for applications like lineage tracing or parsing the effects of expressing multiple genes at once. A well-designed screen can help you begin to understand what genes are important to a certain phenotype, a

Courses to learn

MIT 7.013 Introductory Biology, Spring 2011 https://www.youtube.com/playlist?list=PLUl4u3cNGP60xwJdwhP6Ado1IbQjvLsPD

Q&A about MAGECK from MAGECK google group

When to use RRA or MLE in MAGECK?  The short answers is, if you compare with 2 conditions, use RRA. If you want to compare multiple conditions, use MLE. RRA generally give you better estimation of p values, but MLE is really powerful in terms of multiple condition comparisons. Reference: https://groups.google.com/forum/#!msg/mageck/91Jm6vOPFi8/w9TeuJ2-sVYJ How does MAGECK work?  MAGeCK-VISPR usually calculates beta scores with 0-day as baseline. In other words, if you have 0-day, drug treated, and control samples, you will get two beta scores in mageck-vispr, one with drug treated samples, the other with control samples. MAGeCKFlute further tells you the difference between (drug-treated beta scores) vs (control beta scores).  You can model the difference directly in MAGeCK-VISPR as well, by setting up the corresponding design matrix. However that is not a common approach and sometimes it's hard to interpret. MAGeCKFlute further gives you a more straightfor

How do I respond to an email, which was sent to me by a very senior person with an apology for replying me late?

He has followed the right email etiquette, and you must thank him for being so humble to you. Write briefly, no need to be unnecessarily verbose. You may write back something like, "Thank you very much for taking your precious time to reply my email. Please do not apologize. I can well understand your busy schedule, and appreciate the effort you have taken for writing back." ...and then come to your actual purpose of sending the email to him. Reference: https://www.quora.com/How-do-I-respond-to-an-email-which-was-sent-to-me-by-a-very-senior-person-with-an-apology-for-replying-me-late

Extract p-value from ANOVA summary

Extract p-value from ANOVA summary res.aov <- aov(expr ~ Label, data = new_df) summary(res.aov)[[1]][["Pr(>F)"]][1]

What happens to H1B status if there is 2 week gap between jobs?

Sunny Duetsch , Humble beginnings to greatness Answered Feb 11, 2017 After reading all the answers, I think I am most qualified to answer since I have been in this situation. I had a 2 week gap when I switched jobs. When my green card was initiated 3 years later, I was worried if the 2 week gap might cause issues. However, the immigration team from my company assured me that a 2 week gap won't be a problem. Sure enough it wasn't a problem and I crossed all stages of green card - PERM, I-140 and I-485 - without any RFEs and got my green card. From what I've researched, including immigration lawyers’ consultation, uscis will overlook ‘small’ gaps in employment since that is partially beyond a person's control. For e.g. If a person is laid off, finding a job,  next day , on H1B visa is nearly impossible. Best case scenario, it takes at least a week or 2 so USCIS gives some wiggle room to the candidate. Small gap is a

python/django - “Cannot use ImageField because Pillow is not installed”

I was having this problem on a Mac with Python 3.6.4. The solution was to uninstall Pillow 5.1.0 and instead install 5.0.0. pip uninstall Pillow pip install Pillow == 5.0 . 0

Sending email by using QQ smtp service in Django

Image
* How to configure QQ smtp * How to configure Django  EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST_USER = "327696170@qq.com" EMAIL_HOST = 'smtp.qq.com' EMAIL_PORT = 25 EMAIL_USE_TLS = True EMAIL_HOST_PASSWORD = "ymlb****c" Here I masked the PASSWORD. Run  python manage.py shell : from django.core.mail import send_mail email_title = 'from hester' email_title = 'from hester' email_body = 'password reset' email = 'email_you_want_to_send_to' send_mail(email_title,email_body,'327696170@qq.com',[email]) If it return 1, it means that the email has been sent to the target email.

Medical School Pathology

Medical School Pathology from ROCK LAB:  https://medicalschoolpathology.com/

R tips: Use R to draw figures like Exel drew

Image
Although Excel is easy to use to generate charts, R is better suited to the task of data analysis. You can load any data into R. You can load CSV files, read JSON, ececute SQL queries, or scrape a website. You can even handle big data in R through Hadoop. I like the default colors that Excel used for chart. So how to generate Excel-like charts in R in terms of color? Here is an example: The figure below gives the default RGB colo r table.

Working copy XXX locked and cleanup failed in SVN

I get this error when I do an  svn update : Working copy XXXXXXXX locked Please execute "Cleanup" command When I run cleanup, I get Cleanup failed to process the following paths: XXXXXXXX How do I get out of this loop? One approach would be to: Copy edited items to another location. Delete the folder containing the problem path. Update the containing folder through Subversion. Copy your files back or merge changes as needed. Commit Another option would be to delete the top level folder and check out again. Hopefully it doesn't come to that though. http://stackoverflow.com/questions/127932/working-copy-xxx-locked-and-cleanup-failed-in-svn

NGS: How to use Stacks to remove low quality reads from RNA-seq data

Stacks is a software pipeline for building loci from short-read sequences, such as those generated on the Illumina platform.  bedtools   bamtofastq  is a conversion utility for extracting FASTQ records from sequence alignments in BAM format.

gspread error:gspread.exceptions.SpreadsheetNotFound

Error message: Traceback (most recent call last):   File "read_google_sheet.py", line 20, in <module>     wks = gc.open_by_key("1jUJOlICOH6VnyuALdU2VAc_Ci_ZVwdW-xc5kr_qkJHY")   File "/usr/lib/python2.7/site-packages/gspread/client.py", line 113, in open_by_key     raise SpreadsheetNotFound gspread.exceptions.SpreadsheetNotFound Solved : In the json file, there is a "client_email". You need to share your file with this email. 

面试经验

共四个面试人。位置是大学的Bioinformatician 共四个面试人(不同方向)。 第一个是个白人阿姨,偏学术。不过没有问太多学术的问题。 认为自己最大的优势是什么?What’s you biggest strength? 认为自己最大的劣势是什么?What’s you biggest strength? 在职业生涯中遇到的问题是什么?What’s the biggest challenge you ever  encountered?  为什么要找新的位置?Why do you want to find a new position?  职业的长期规划? 第二个是个白人兄弟,偏技术。问了不少技术细节。 如何进行实验设计,如果有人做RNA-seq问需要几个重复,如何回答? 为什么? 如果有人只想做两个生物学重复,如何建议? 如果有人只想做一个生物学重复(三个重复混样),应如何建议? RNA-seq数据中会不会混有DNA序列?为什么? 有没有做过生物实验?为什么后来转行? 什么是batch effect? 第三个是个白人兄弟,偏技术。不过没问太多偏技术的东西。问了很多偏项目管理方面 的事情: 如何对code做version control? 如何管理时间? 如果遇到没有做过的项目,怎么做? 最大的优势? 遇到的最大的困境? 职业的长期规划? 工资期望 第三个是个印度阿姨,偏管理。之前聊过,就没问特别难的问题。 向我介绍了工作的管理模式 问我工资期望 四个人都问题的问题是:你对我们有什么问题没有?

Web: integrate R into Meteor

2016-07-11-Hello-Meteor http://jaehyeon-kim.github.io/2016/08/Introduction-to-LabKey-and-R-Integration.html Introduction-to-LabKey-and-R-Integration

Video subtitle & translation

Auto-generated subtitles for any video:  https://github.com/agermanidis/autosub

Practical machine learning examples in biology

Classification of Lung cancer slide images using deep-learning:  https://github.com/ncoudray/DeepPATH \ CANDLE: REVOLVER - Repeated Evolution in Cancer: https://github.com/caravagn/revolver Markerless tracking of user-defined features with deep learning: https://github.com/AlexEMG/DeepLabCut