Input format: phylip
An alignment format. Truncates names at 10 characters.
Output format: fastq
FASTQ files are a bit like FASTA files but also include sequencing qualities. In Biopython, 'fastq' refers to Sanger style FASTQ files which encode PHRED qualities using an ASCII offset of 33. See also the incompatible 'fastq-solexa' and 'fastq-illumina' variants.
How to convert from phylip to fastq ?
You can also convert between these formats by using command line tools.
On Windows install WSL, on
Mac
or Linux start
terminal
Install BioPython
Run following script:
Or you can use this site as online phylip to fastq converter by selecting your formats &
file.
Sequence Converter Home page
from Bio import SeqIO
records = SeqIO.parse("THIS_IS_YOUR_INPUT_FILE.phylip", "phylip")
count = SeqIO.write(records, "THIS_IS_YOUR_OUTPUT_FILE.fastq", "fastq")
print("Converted %i records" % count)