This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| samtools faidx $fastafile -r $IDs | awk '{if ($1 !~ /^ *>/) { gsub("U", "T"); print $0 } else { print $0 }}' | gzip - -c > $fastafile_dna_space |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| condaPackages <- function(x){ | |
| lapply(names(x$otherPkgs), function(y){ | |
| if ("git_url" %in% names(x$otherPkgs[[y]])){ | |
| repo = "bioconductor-" | |
| } else { | |
| repo = "r-" | |
| } | |
| paste(repo, y, sep ="") | |
| }) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(data.table) | |
| library(curl) | |
| # Download using curl | |
| curl::curl_download(url = "https://downloads.thebiogrid.org/Download/BioGRID/Release-Archive/BIOGRID-3.5.170/BIOGRID-ALL-3.5.170.tab2.zip", destfile = "~/BIOGRID-ALL-3.5.170.tab2.zip") | |
| # unzip | |
| unzip("~/BIOGRID-ALL-3.5.170.tab2.zip") | |
| # import data from local server into R Studio Server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| suppa.py joinFiles --file-extension tpm\ | |
| --input-files RNA-Seq/suppa/GRCm38_ensembl93_ERCC/NB501086_0219_TSoboleva_JCSMR_RNAseq/WT_18_38/abundance.tpm RNA-Seq/suppa/GRCm38_ensembl93_ERCC/NB501086_0219_TSoboleva_JCSMR_RNAseq/WT_37_39/abundance.tpm RNA-Seq/suppa/GRCm38_ensembl93_ERCC/NB501086_0219_TSoboleva_JCSMR_RNAseq/WT_46_47/abundance.tpm\ | |
| --output RNA-Seq/suppa/pooled/GRCm38_ensembl93_ERCC/NB501086_0219_TSoboleva_JCSMR_RNAseq/WT/abundance.tpm | |
| suppa.py joinFiles --file-extension tpm\ | |
| --input-files RNA-Seq/suppa/GRCm38_ensembl93_ERCC/NB501086_0219_TSoboleva_JCSMR_RNAseq/KO_19_26/abundance.tpm RNA-Seq/suppa/GRCm38_ensembl93_ERCC/NB501086_0219_TSoboleva_JCSMR_RNAseq/KO_24_25/abundance.tpm RNA-Seq/suppa/GRCm38_ensembl93_ERCC/NB501086_0219_TSoboleva_JCSMR_RNAseq/KO_44_45/abundance.tpm\ | |
| --output RNA-Seq/suppa/pooled/GRCm38_ensembl93_ERCC/NB501086_0219_TSoboleva_JCSMR_RNAseq/KO/abundance.tpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(RUVSeq) | |
| library(tximport) | |
| library(data.table) | |
| library(EDASeq) | |
| library(RColorBrewer) | |
| library(ggplot2) | |
| library(sleuth) | |
| library(GenomicRanges) | |
| # comments: remove KO_19_26 & WT_46_47 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "insertSize" : "<=120" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bamtools filter -in KO_01_K36me3.bam -script filter120.json -out KO_01_K36me3.filtered.bam |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(data.table) | |
| library(edgeR) | |
| # this part is just setting up local working directory and sample annotation information from config.json | |
| pathPrefix <- "~" | |
| if (!dir.exists(file.path(pathPrefix, "Data/Tremethick/Hodgkins-Lymphoma/RNA-Seq/necklace_results/R_analysis"))) { | |
| dir.create("R_analysis") | |
| setwd(file.path(pathPrefix, "Data/Tremethick/Hodgkins-Lymphoma/RNA-Seq/necklace_results/R_analysis")) | |
| } else { | |
| setwd(file.path(pathPrefix, "Data/Tremethick/H |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(rhdf5) | |
| library(sleuth) | |
| library(biomaRt) | |
| library(tidyr) | |
| library(rtracklayer) | |
| library(BiocParallel) | |
| library(tximport) | |
| library(readr) | |
| library(RUVSeq) | |
| library(data.table) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parallel md5sum {} ">" {}.md5 ::: *.gz |