From 0c1ba0470b87907a5a56219fe02b23de26e2725a Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Wed, 2 Jun 2021 08:29:01 -0500 Subject: [PATCH] Basic cleanup --- fastq-to-taxonomy.sh | 4 ++-- main.sh | 2 +- manipulatefeaturetable.R | 4 ++-- sample-classifier.sh | 2 +- sample-regression.sh | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fastq-to-taxonomy.sh b/fastq-to-taxonomy.sh index 4ecc1f7..97d4ad5 100644 --- a/fastq-to-taxonomy.sh +++ b/fastq-to-taxonomy.sh @@ -1,5 +1,5 @@ #!/bin/bash -#SBATCH --account=cowusda2016 +#SBATCH --account=ACCOUNT #SBATCH --nodes=1 #SBATCH --ntasks-per-node=4 #SBATCH --cpus-per-task=4 @@ -14,7 +14,7 @@ R1filename=${1%} R2filename="${R1filename/R1/R2}" Samplename="${R1filename/_R1_001.fastq.gz/}" Samplename="${Samplename/\.\//}" - + # Extract rRNA to files metaxa2 -1 "$R1filename" -2 "$R2filename" -o "$Samplename" -f q -cpu 4 \ --summary F --graphical F --fasta F --taxonomy T diff --git a/main.sh b/main.sh index 21eb7dc..0954ade 100644 --- a/main.sh +++ b/main.sh @@ -1,5 +1,5 @@ #!/bin/bash -#SBATCH --account=cowusda2016 +#SBATCH --account=ACCOUNT #SBATCH --cpus-per-task=4 #SBATCH --mem=8G #SBATCH --ntasks=32 diff --git a/manipulatefeaturetable.R b/manipulatefeaturetable.R index 6dc6000..f96a627 100644 --- a/manipulatefeaturetable.R +++ b/manipulatefeaturetable.R @@ -1,10 +1,10 @@ # Read the inital feature table in feature_table <- read.table("metaxa-feature-table.tsv", - header=TRUE, + header=TRUE, sep="\t", quote="", strip.white=TRUE, - check.names=FALSE) + check.names=FALSE) # Get the dimensions of the table numSamples <- ncol(feature_table) - 1 diff --git a/sample-classifier.sh b/sample-classifier.sh index 1f3e8f7..ebe32df 100644 --- a/sample-classifier.sh +++ b/sample-classifier.sh @@ -1,5 +1,5 @@ #!/bin/bash -#SBATCH --account=cowusda2016 +#SBATCH --account=ACCOUNT #SBATCH --ntasks=1 #SBATCH --cpus-per-task=4 #SBATCH --mem=8G diff --git a/sample-regression.sh b/sample-regression.sh index e7dd013..b4a113b 100644 --- a/sample-regression.sh +++ b/sample-regression.sh @@ -1,5 +1,5 @@ #!/bin/bash -#SBATCH --account=cowusda2016 +#SBATCH --account=ACCOUNT #SBATCH --ntasks=1 #SBATCH --cpus-per-task=4 #SBATCH --mem=8G