From 1b1acb94dad5d645d28d7cf28158ac376111b346 Mon Sep 17 00:00:00 2001 From: linsalrob Date: Thu, 6 Aug 2026 08:11:17 +0800 Subject: [PATCH] adding the phrog command --- pawsey_shortread/README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pawsey_shortread/README.md b/pawsey_shortread/README.md index 1c1b080..a236c5a 100644 --- a/pawsey_shortread/README.md +++ b/pawsey_shortread/README.md @@ -59,7 +59,7 @@ nano DEFINITIONS.sh ``` -# 2. Check the names of your files. +## 2. Check the names of your files. We need to be consistent with the names of our files, so we start by looking at the file names. @@ -213,7 +213,19 @@ grep 'primary mapped' slurm_output/sixteen_s/*out | perl -ne 'm/(\d+\.\d+)\%/; p grep 'primary mapped' slurm_output/sixteen_s/*out | perl -ne 'm/(\d+\.\d+)\%/; print "$1\n"' | awk '{s+=$1} END {print s/NR}' ``` -## 15. VAMB +## 15. PHROGs + +We can use the mmseqs analysis to find PHROGs. We have a mapping between the UniProt IDs and the PHOG IDs which we use to map +similarities. + +First, we create a new mmseqs-derived output file with the PHROG IDs, and then we count the PHROG IDs in each sample. The output is in the `phrogs` directory. + +``` +PHROGJOB=$(sbatch --parsable --dependency=afterok:$MMSEQSJOB --array=1-$NUM_R1_READS:1 $PAWSEY_SRC/mmseqs_add_phrog_function.slurm) +sbatch --parsable --dependency=afterok:$PHROGJOB $PAWSEY_SRC/count_phrog_functions.slurm +``` + +## 16. VAMB Please note: this section of the README needs some improvement, because I have not used the different pieces in a while.