Posted under Computational Tidbits

  1. How to rename fastq headers i.e. remove duplicates

        [bobbieshaban@spartan-login1 analysis]$ cat hiseq_reads_R1.fastq | awk ‘{if(NR%4==1) $0=sprintf(“@1_%d”,(1+i++)); print;}’ | less [bobbieshaban@spartan-login1 analysis]$ cat hiseq_reads_R1.fastq | awk ‘{if(NR%4==1) $0=sprintf(“@1_%d”,(1+i++)); print;}’ > hiseq_R1.fastq [bobbieshaban@spartan-login1 analysis]$ …

    blogs.unimelb.edu.au/melb-int-gen/2019/05/21/how-to-rename-fastq-headers-i-e-remove-duplicates

  2. Installing R packages locally

    Installing R packages locally. Create .Revniron in your home directory Create directory /vlsci/SG000x/shared/rlibs/ – where x is your group id Add the following lines – change …

    blogs.unimelb.edu.au/melb-int-gen/2017/10/12/installing-r-packages-locally