Friday, January 19, 2018

how to download fastq files from sra website

Take
SRR1051536
 as an example


1. go visit https://www.ncbi.nlm.nih.gov/sra/SRX393264
2. click on the SRR1051536 to go to the sra site
3. find the experiment ID SRX393264, copy it
4. move curser over the "Download" on the  upper panel  and click "FASTA/FASTQ"
5. paste the experiment ID, click "show runs"
6. choose "FASTQ" as the format of data you want to download, click the "download" on the bottom right.

Thursday, January 11, 2018

ERROR: A required extension module could not be imported because it is incompatible with your system. A quick fix is to recompile the extension modules with the following command:

got errors like this one:
https://github.com/marcelm/cutadapt/issues/196


pip uninstall cutadapt

pip install --user --upgrade cutadapt

It solved the problem.

Friday, January 5, 2018

How to extract color identity from an image

Only this website works with .png so far:

https://html-color-codes.info/colors-from-image/

Tuesday, January 2, 2018

Macbook: Bluetooth not available

Solution:
1. Open Finder
2. Hold option and click GO -> Library
3. In the folder Library, Navigate to Preferences
4. Delete the file com.apple.Bluetoothfileexchange.plist

You may or may not have to restart your computer


Adapted from : https://www.howtoturnitoffandonagain.com/2016/03/01/how-to-fix-bluetooth-not-available-mac-os-x-problem/

Saturday, December 30, 2017

Overture 已停止运作


overture 4.0 停止運作 終於找到解決辦法
只要按住ENTER鍵不放點開OVERTURE即可(不需要改相容性)


Reference: http://bbs.popiano.org/thread-429985-1-1.html

Saturday, December 23, 2017

how to check the location of .iso file that your VirtualBox is dependent on

I've installed a VirtualBox inside which a Windows was installed.

Now I need that .iso file to install on another machine.

Steps:

1. Open Virtual Box and click on the system (Win8.1) icon
2. Click "Details" on the right
3. Move curser onto the "Storage" box and click
4. move curser onto the [Optical Drive] then the path will be shown on Mac

Tuesday, December 19, 2017

how to let sed recognize \t

Not all versions of sed understand \t. Just insert a literal tab instead (press Ctrl-V then Tab).

reference: https://stackoverflow.com/a/2610121/3020740