How to adjust sequence line to 60bp?
4
0
Entering edit mode
2.7 years ago
mthm ▴ 50

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 • 1.3k views
ADD COMMENT
2
Entering edit mode
2.7 years ago

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".

ADD COMMENT
1
Entering edit mode
2.7 years ago

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

ADD COMMENT
1
Entering edit mode
2.7 years ago

unix command fold can format lines on defined length

ADD COMMENT
1
Entering edit mode
2.7 years ago
GenoMax 141k

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

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

Login before adding your answer.

Traffic: 2637 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6