This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to adjust sequence line to 60bp?

I have a rather primitive question

After importing my sequence alignments to either "Geneious" or "BioEdit", I cannot export them in the same 60pb per line format, does anyone know how to do that to avoid the manual line adjusting? Alternatively if there is a web-based line width convertor (e.g. 80 to 60 or 100 to 60 or infinite to 60,..) to solve the problem quickly, please let me know

alignment bioedit geneious

4 answers

The FASTX-Toolkit is a collection of command line tools for Short-Reads FASTA/FASTQ files preprocessing. You may install them and use them locally.

Alternatively, its ability to modify FASTA width is available on Galaxy under the name "FASTA Width formatter".

This one might do it, not sure:

https://www.ebi.ac.uk/Tools/sfc/emboss_seqret/

or in Galaxy there is a tool called: FASTA Width formatter

unix command fold can format lines on defined length

reformat.sh from BBMap suite. Set NN to desired number.

reformat.sh -Xmx2g in=your.fa out=reformat.fa fastawrap=NN

Log in to answer this question.