Notice : http instead of http
source("http://bioconductor.org/biocLite.R")
biocLite("DESeq2")
python subsampleBam.py old.bam new.bam 0.5
gdrive download --recursive 0B6t4h9kX59LaTXVKeE9GSEl2WEk
for f in *; do new=$(echo $f | sed 's/mapped_//' | sed 's/-V//'); mv $f $new;done
- On the culster
https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
- On the git hub page
https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
Miscellaneous scripts for hoffman2
Am example how to run copy2gDrive.sh
~/code2/misc-scripts-hoffman2/copy2gDrive.sh *sam 0Bx1fyWeQo3cOWk8ybjNkd1VPMTg sam
while read line; do echo ". /u/local/Modules/default/init/modules.sh">run_${line}.sh; echo "module load samtools">>run_${line}.sh; echo "samtools view -bS ${line}.sam | samtools sort - ${line}.bam">>run_${line}.sh;done<sample.xt
- Example
run.sh :
/u/home/s/serghei/code/cmd/runTophat_PE_FASTQ.GZ.sh /u/home/k/kwesel/scratch/new_fastq_PE/data/ $PWD/tophat/ /u/home/s/serghei/project/Homo_sapiens/Ensembl/GRCh37/Sequence/Bowtie2Index/genome "-G /u/home/s/serghei/project/Homo_sapiens/Ensembl/GRCh37/Annotation/Genes/genes.gtf"
qsub -cwd -V -N prepare -l h_data=8G,time=5:00:00 run.sh