added mutate.py script for msa generation
This commit is contained in:
parent
ab541aa3de
commit
e7f2a3aada
2 changed files with 190 additions and 0 deletions
11
meta_data_analysis/run_mutate.sh
Executable file
11
meta_data_analysis/run_mutate.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# make sure there is no new line at the end of the mutation file (snps.csv)
|
||||
#python3 Mutate.py -v -o /home/tanu/git/Data/pyrazinamide/input/output.fasta mut_map.csv 3pl1.fasta.txt
|
||||
python3 mutate.py -v -o /home/tanu/git/Data/pyrazinamide/output/pnca_msa.txt /home/tanu/git/Data/pyrazinamide/output/pnca_all_muts_msa.csv /home/tanu/git/Data/pyrazinamide/input/3pl1.fasta.txt
|
||||
|
||||
# remove fasta style header lines in the output i.e
|
||||
# lines beginning with '>' so the file is just the mutated seqs
|
||||
sed -i '/^>.*$/d' /home/tanu/git/Data/pyrazinamide/output/pnca_msa.txt
|
||||
printf 'No. of lines after cleaning: '
|
||||
cat /home/tanu/git/Data/pyrazinamide/output/pnca_msa.txt | wc -l
|
Loading…
Add table
Add a link
Reference in a new issue