-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Claudia Mengoni
committed
Mar 7, 2023
1 parent
79d5810
commit c53586b
Showing
8 changed files
with
602 additions
and
218,405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
basedir=${PWD} | ||
species=$1 | ||
faa=$2 | ||
|
||
echo ${basedir} | ||
echo $species | ||
echo ${faa} | ||
./../diamond makedb --in ${faa} -d ${basedir}/${species}/diamond_refseq | ||
|
||
mkdir -p ${basedir}/${species}/Comparison/GFs/diamond | ||
for x in $(ls ${basedir}/${species}/Comparison/GFs/fasta) | ||
do | ||
echo $x | ||
./../diamond blastx -d ${basedir}/${species}/diamond_refseq -q ${basedir}/${species}/Comparison/GFs/fasta/$x -o ${basedir}/${species}/Comparison/GFs/diamond/$x.tsv; | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
basedir=${PWD} | ||
for sp in synth_myco synth_ecoli synth_paeru; do | ||
for frag in 0.5 0.8 1; do | ||
species=${sp}/${frag} | ||
echo ${species} | ||
#conda activate ete3 | ||
ete3 compare -t ${basedir}/${species}/Comparison/GFs/CG/msa_delos/concat.tree \ | ||
${basedir}/${species}/Roary/output/core_gene_alignment_renamed.tree \ | ||
${basedir}/${species}/Comparison/GFs/CG/msa_genapi/concat.tree \ | ||
${basedir}/${species}/Comparison/GFs/CG/msa_panaroo/concat.tree \ | ||
-r ${basedir}/${sp}/1/Comparison/GFs/CG/msa_prova/${sp}.tree --unrooted > ${basedir}/${species}/Comparison/ete3.log | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
basedir=${PWD} | ||
species=$1 | ||
faa=$2 | ||
out=$3 | ||
|
||
./../FastTree -gtr -nt ${faa} > ${out} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
basedir=${PWD} | ||
species=$1 | ||
faa=$2 | ||
out=$3 | ||
|
||
echo ${basedir} | ||
echo $species | ||
echo ${faa} | ||
|
||
mafft ${faa} > ${out} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.