#the original headers of fasta file Rhodotorula_kratochvilovae_LS11.masked.fasta is "PQDI01000001.1_Rhodotorula_kratochvilovae_strain_LS11_tig00000002_whole_genome ...
"""Rename headers in a FASTA file and save mapping to a TSV file.""" with open(input_fasta, 'r') as fasta_in, open(output_fasta, 'w') as fasta_out, open(mapfile, 'w ...
FASTA and FASTQ are basic and ubiquitous formats for storing nucleotide and protein sequences. Common manipulations of FASTA/Q file include converting, searching, filtering, deduplication, splitting, ...