:78 Function create_function() is deprecated [8192]

adding a couple of auxiliary files to download publically available data for Tetrahymena Thermophila and Oxytricha trifallax: one for GFF3 files and another for INPUT/IP files from ChIP-seq files

Marcelo Ponce [2019-06-28 14:39:48]
adding a couple of auxiliary files to download publically available data for Tetrahymena Thermophila and Oxytricha trifallax: one for GFF3 files and another for INPUT/IP files from ChIP-seq files
Filename
datasets/get_GFF3-files.sh
datasets/get_OXYchIPseq-files.sh
diff --git a/datasets/get_GFF3-files.sh b/datasets/get_GFF3-files.sh
new file mode 100644
index 0000000..96170e4
--- /dev/null
+++ b/datasets/get_GFF3-files.sh
@@ -0,0 +1,48 @@
+#!/bin/bash
+
+#
+# This script is part of
+# RACS v1.0 (2018/2019) -- Open source tools for Analizing ChIP-Seq data
+#
+# Shell script provided to obtain dataset for:
+#
+# Tetrahymena Thermophila
+#	GFF3:	http://www.ciliate.org/system/downloads/T_thermophila_June2014.gff3
+#	FASTA:	http://www.ciliate.org/system/downloads/T_thermophila_June2014_assembly.fasta
+# and
+#
+# Oxytricha Trifallax"
+#	GFF3:	http://oxy.ciliate.org/system/downloads/Oxytricha_trifallax_022112.gff3
+#	FASTA:	http://oxy.ciliate.org/system/downloads/Oxytricha_trifallax_022112_assembly.fasta
+
+
+###
+# Tetrahymena Thermophila
+TT_gff3_URL="http://www.ciliate.org/system/downloads/T_thermophila_June2014.gff3"
+TT_fasta_URL="http://www.ciliate.org/system/downloads/T_thermophila_June2014_assembly.fasta"
+#
+# Oxytricha Trifallax
+OXY_gff3_URL="http://oxy.ciliate.org/system/downloads/Oxytricha_trifallax_022112.gff3"
+OXY_fasta_URL="http://oxy.ciliate.org/system/downloads/Oxytricha_trifallax_022112_assembly.fasta"
+###
+
+# select tool for downloading data...
+CMD=`which curl`
+
+if [ -z "$CMD" ]
+then
+	CMD=`which wget`
+else
+	CMD=$CMD" -L -O"
+fi
+
+echo "using $CMD..."
+
+# Specify datasets for Tetrahymena Thermophila and Oxytrichia ....
+datasets=" ${TT_gff3_URL} ${TT_fasta_URL} ${OXY_gff3_URL} ${OXY_fasta_URL} "
+
+# download data...
+for i in $datasets; do
+	echo $i;
+	$CMD $i;
+done
diff --git a/datasets/get_OXYchIPseq-files.sh b/datasets/get_OXYchIPseq-files.sh
new file mode 100644
index 0000000..92b82f2
--- /dev/null
+++ b/datasets/get_OXYchIPseq-files.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# Tool for download Oxytrichia data from NCBI_SRA
+# This script is part of
+# RACS v1.0 (2018/2019) -- Open source tools for Analizing ChIP-Seq data
+
+# It requires the "NSBI SRA toolkit" to download the data
+
+# set PATH to add "SRA toolkit"
+PATH=$PATH:/scratch1/mponce/RESEARCH/Tetrahymena_Ryerson/TOOLS/NCBI_SRA_toolkit/sratoolkit.2.9.6-1-ubuntu64/bin
+
+# Oxytricha files:
+srxFiles="SRX483016 SRX483017"
+
+# download fastq files
+for i in $srxFiles; do
+	fastq-dump -I --split-files $i
+done
+
+# generate fastq.gz files
+for i in *fastq; do
+	echo $i ;
+	gzip -c $i > $i.gz ;
+done
+
ViewGit