mirror of
https://github.com/MillironX/cowcalf-rumen-metagenomic-pipeline.git
synced 2024-11-21 05:56:04 +00:00
Basic cleanup
This commit is contained in:
parent
bbc3f91d56
commit
0c1ba0470b
5 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
2
main.sh
2
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
#SBATCH --account=cowusda2016
|
||||
#SBATCH --account=ACCOUNT
|
||||
#SBATCH --ntasks=1
|
||||
#SBATCH --cpus-per-task=4
|
||||
#SBATCH --mem=8G
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
#SBATCH --account=cowusda2016
|
||||
#SBATCH --account=ACCOUNT
|
||||
#SBATCH --ntasks=1
|
||||
#SBATCH --cpus-per-task=4
|
||||
#SBATCH --mem=8G
|
||||
|
|
Loading…
Reference in a new issue