Posts

Showing posts with the label bioinformatics

What are the best ways to start learning bioinformatics for a wet lab biologist?

Image
I came across this question several times. In my real life, I also encountered this question many times. Many time, my friend asked me: “Hey, can I learn Bioinformatics with your? Can you give me some materials? ” At the beginning, I would say: “Sure. Let me know if you need any help.” Then mostly nothing happened after I sent them the web links or e-books. Now if someone ask me the same question, I usually will say: “Are you sure? If you take it seriously, I’ll teach you.” My point here is take it seriously. What is Bioinformatics? Bioinformatics is the science of collection and analyzing complex biological data such as genetics codes. This is the definition given by the first result in Google search. Maybe it’s too abstract to understand. Based on my understanding, I want to talk about Bioinformatics in the following aspects: Software development Maybe the most popular tool is blast . When I was in college, I selected a course called “生物信息学”. The english name is “Bioinformati...

NGS software tips: SICER for ChIP-seq

Tip: Do NOT need to move SICER anymore. For SICER, if you are going to the original code, you have to copy the source code to your working directory. This is because the PATHTO variable varies when you’re doing different work. To avoid this, you can modify the code to: PATHTO="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #SICER=$PATHTO/SICER SICER=$PATHTO PYTHONPATH=$SICER/lib export PYTHONPATH Tip: About duplicate reads One step of SICER is to remove duplicate read using remove_redundant_reads.py. “-t 1” is the default cutoff when doing duplicate reads removal. See line 60 of remove_redundant_reads.py . Solved: Error Report.   File "/depot/bioinfo/Projects/Kal/bean_GHvsTC/software/SICER_V1.1/SICER/src/remove_redundant_reads.py", line 84     print chrom, "\tPlus reads:",p_total, "\tRetained plus reads:", p_retained,     ";\tMinus reads:", m_total, "\tRetained...

qsub tips: You need to know this about qsub

A PBS  server  treats all associated machines as  nodes  of one big cluster and uses  queues  to allocate their resources. Use the  pbsnodes  and  qstat  commands below to show the configuration in detail. Submit jobs with  qsub . Node info pbsnodes -a # show status of all nodes pbsnodes -a <node> # show status of specified node pbsnodes -l # list inactive nodes pbsnodelist # list status of all nodes (one per line) Queue info qstat -Q # show all queues qstat -Q <queue> # show status of specified queue qstat -f -Q <queue> # show full info for specified queue qstat -q # show all queues (alternative format) qstat -q <queue> # show status of specified queue (alt.) Job submission and monitoring qsub <jobscript> ...

Linux Tip: SORT of linux

If you want to sort a tab limited file in  ascending  order according to one column (like 5th column), you can use: sort -k5,5n input However, if you want to sort the file in descending order ccording to one column (like 5th column), you cann't use: sort -r -k5,5n input  You can use: sort -r n-k5,5 input  -n, --numeric-sort compare according to string numerical value -r, --reverse reverse the result of comparisons