Skip to content

Commit af1f9e6

Browse files
committed
Update unchanged protein output format
1 parent cd75f8b commit af1f9e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PrecisionProDB_Sqlite.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ def runPerChomSqlite(file_sqlite, file_mutations, threads, outprefix, protein_ke
165165
if len(mutated_samples) >= len(all_individuals):
166166
continue
167167
samples_to_write = [i for i in all_individuals if i not in mutated_samples]
168-
header = '{}\tunchanged\t{}'.format(protein_id_fasta, ','.join(samples_to_write))
168+
# header = '{}\tunchanged\t{}'.format(protein_id_fasta, ','.join(samples_to_write))
169+
header = '{}\tunchanged'.format(protein_id_fasta)
169170
fout_proteins_all.write('>{}\n{}\n'.format(header, str(AA_seq)))
170171

171172
conn.close()

0 commit comments

Comments
 (0)