diff --git a/.vscode/settings.json b/.vscode/settings.json index 1d360a7..404bcd2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,7 @@ { "cSpell.words": [ - "cowusda" + "BIOMV", + "cowusda", + "numcols" ] } \ No newline at end of file diff --git a/main.sh b/main.sh index 19ba5de..27b7cfa 100644 --- a/main.sh +++ b/main.sh @@ -23,14 +23,14 @@ module load r # Metaxa2 uses 4 cpus, we need to make sure that each instance has # enough cpus to run echo "--^-- X: Reading FASTQ sequences..." -find . -maxdepth 1 -name "*R1_001.fastq.gz" | \ +find . -maxdepth 1 -0 -name "*R1_001.fastq.gz" | \ xargs -L1 -P"$SLURM_NTASKS" srun -n1 -N1 --exclusive ./fastq-to-taxonomy.sh echo "--^-- X: Reading FASTQ sequences...Done!" # Compile those pesky individual taxonomic tables into a single # OTU feature table echo "--^-- X: Compiling feature table..." -metaxa2_dc -i *.level_7.txt -o metaxa-feature-table.tsv +metaxa2_dc -i ./*.level_7.txt -o metaxa-feature-table.tsv echo "--^-- X: Compiling feature table...Done!" # Rearrange the feature table to something QIIME likes a little bit better @@ -49,29 +49,33 @@ MINRAREFACTION=$(