Saturday, September 7, 2019

CellRanger cutadapt failed error raised

This is likely that your fastq files are truncated

grep show line number

grep -n

Wednesday, September 4, 2019

[solved]Jupyter notebook not displaying ggplot object generated in a custom function

Instead of GenerateGGplot(input),
do print(GenerateGGplot(input)) inside your function script

HCA Sanger Sample Tracker Information Query

Retrieve information from the Sample Tracker Database:
SampleTracker(strmatch('5841STDY7991475',SampleTracker{:,'SangerSampleID'}),{'adult_fetal','sampleID','use'})

Thursday, August 29, 2019

[Solved] Cambridge University St Edmund's college Circuit laundry card invalid card number

You might want to register/top up your Circuit laundry card but it always gives you an error saying that your card number is invalid.

Here are potential fixes:

1. Add a "0" to the head of your 8-digit number
My card number has the format of : LXXXX ESD YYYYYYYY X/XX
So my card number should be 0YYYYYYYY

2. Make sure you choose the right laundry room site
a. You can figure out the site by visiting the laundry room and find out the "site number" on the wall, and then call 01422820026 to ask which site it is
b. For St. Edmund's College there are two sites :
      b1. Cambridge -> St. Edmund's College -> Mount Pleasant Halls
      b2. Cambridge -> Cambridge University -> St. Edmund's College
   If you use the one in the old buildings please choose b2.


Friday, August 16, 2019

How to set up Cambridge University email on Outlook

I'm using my outlook (version 16.16.10) on my Mac (Mojave 10.14.3)

Cambridge UIS didn't provide a working tutorial for me. So I'm writing down the correct version in case someone needs it:



1. Open outlook -> Tools --> Accounts
2. Click the + on bottom left -> new account
3. Type your XXX@cam.ac.uk email, click continue , then quickly click "choose the provider"
4. Select IMAP/POP . (Don't select Exchange or 365)
5. Then fill the form based on these instructions:

  • Email address: Your CRSid@cam.ac.uk email address – e.g. xyz123@cam.ac.uk
  • User name: Your CRSid – e.g. xyz123
  • Password: Your password for Hermes (this might not be the same as your Raven password)
  • Incoming Server: imap.hermes.cam.ac.uk
  • Port: 993
  • Security/Encryption: SSL
  • Outgoing Server: smtp.hermes.cam.ac.uk
  • Port: 587
  • Security/Encryption: STARTTLS (optional)
Then it's done!