Thanks Joe! This was super useful.
I added some quotes to make it work for me:
for file in *.gbk ; do
python -c "from Bio import SeqIO; SeqIO.convert('$file', 'genbank', '${file%.*}.fasta', 'fasta');"
done
• 0 views
•
link
If you know python you can use
SeqIOto read the gbk and write in gasta formatwanted to put to read several gbk files in a folder
A for loop then? Where did you get the data from? Are you sure there aren't fasta files available?