<p>Have you had a look at your alignment? I personally use Jalview but any alignment viewer should work. Colour &gt; Percentage Identity (or Nucleotide) should help with visualization.</p>
<p>Does the alignment look reasonable (and gaps are just inserted at the end for some reason), or is it pretty messy? If it looks messy, is it just a few outlier sequences that cause the problem, or does it look like you have two main groups of sequences that align between themselves but not with the other? In the latter case, could it be possible that some of your initial sequences were inputed in the reverse orientation? I'm not sure about the command line implementation of Clustal Omega, but I know that at least the versions I use don't automatically reverse-complement sequences to be aligned.</p>

CC BY-SA 4.0
2022-01-18T15:12:54.057Z
This is the right answer, I personally would avoid Jalview but its a matter of opinion.
M__
CC BY-SA 4.0
2022-01-16T09:35:06.790Z
2022-01-18T15:32:38.640Z
2022-01-18T15:32:38.640Z
Laura
<p>Firstly its good you've done some proofing of your output wherein you spotted,</p>
<blockquote>
<p>75000</p>
</blockquote>
<p>The alignment output is approximately double the genome size, just over double the input.</p>
<p>An off-question point, I assume the computer you are working on has at least 8-cores because thats what you are requesting.</p>
<p>Clustal omega is a very solid algorhithm and has been around for a long time in its current omega version. The error you are encountering is an input sequence bug. @Laura's suggest is correct and is formal practice: you must manually verify bioinformatics output and in this case an alignment viewer is the correct proceedure.</p>
<p>Thereafter I suspect you would find the answer, such as omitting carriage returns in the fasta format, seeing taxa names caught up post 30K.</p>
<p>If you run,</p>
<pre><code>wc ./myclustalv3.fasta # output file
wc ./Allseq.fasta  # input file
wc ./testgenome.fasta
</code></pre>
<p>You will probably find that the number lines per file does not agree between the input and output format OR the number of lines of both input and output is &lt;&lt;600 or &lt;&lt;1200 (600 x2 ), i.e. the expected number of sequences. This points to parsing errors within the input data. Fasta has a line for the sequence identifier and a line for the sequence. It is using &gt; for the sequence identifier, but will use a carriage return for sequence.</p>
<p>Again manually assessing an alignment is baseline proceedure regardless of output.</p>
<p>An example (guess) about what might have happened is that every other input has omitted &quot;&gt;&quot;, omega will then see the first &quot;&gt;&quot; then read everything until it sees another &quot;&gt;&quot; as sequence data. Thus its doubled the sequence length and dragged a sequence identifier exactly in the centre of the doubled up genomes.</p>
<hr />
<p>An issue with fasta is there is no internal proofing of the format. In other formats the number of sequences and their length is specified within the file, so it is easy to internally verfiy the data prior a calculation. Code-wise it is known as 'setting' and you can't do that with fasta.</p>

CC BY-SA 4.0
2022-01-18T15:30:52.653Z
2022-01-19T19:24:59.223Z
2022-01-19T19:24:59.223Z
M__
<p>I am performing  multiple sequence alignment using Clustal Omega for 600 RNA covid-sequences, i.e. cDNA on Genbank, with input characters around 30574 characters for each sequence.</p>
<p>I am running it on windows cmd.
I defined parameters in input of maxseqle = 37000, however, the output each time gives duplicated length around 75000 charcters per each sequence.</p>
<pre><code>clustalo.exe -i Allseq.fasta --is-profile --use-kimura --seqtype DNA --maxseqlen 37000 --threads 8 -o myclustalv3.fasta
</code></pre>
<p>How can I solve this problem, what will I define in input parameters. This problem occurs with large no of sequences 600 sequences. In test of 40 seq, it gave me normal output length around 32000 characters but when align all 600 sequences together, it gave this duplicated length results.</p>

CC BY-SA 4.0
2022-01-19T19:31:12.507Z
Same question here https://www.researchgate.net/post/Problem_in_Clustal-Omega_alignment
M__
CC BY-SA 4.0
2022-01-19T19:33:04.583Z
HEre's your response on Researchgate: "I concern the length because I am doing comparative analysis betweem Muscle,Mafft and ClustalOmega and the length of clustal is totally different than the others which made the analysis of alignment is totally different"
M__
<phylogenetics><multiple-sequence-alignment>
ClustalOmega alignment
# ClustalOmega alignment

(Asked by: username_0 on 2022-01-15)

I am performing  multiple sequence alignment using Clustal Omega for 600 RNA covid-sequences, i.e. cDNA on Genbank, with input characters around 30574 characters for each sequence.
I am running it on windows cmd.
I defined parameters in input of maxseqle = 37000, however, the output each time gives duplicated length around 75000 charcters per each sequence.
clustalo.exe -i Allseq.fasta --is-profile --use-kimura --seqtype DNA --maxseqlen 37000 --threads 8 -o myclustalv3.fasta

How can I solve this problem, what will I define in input parameters. This problem occurs with large no of sequences 600 sequences. In test of 40 seq, it gave me normal output length around 32000 characters but when align all 600 sequences together, it gave this duplicated length results.

**Tags:** phylogenetics, multiple-sequence-alignment
> **Comments:**
> **username_1**: Same question here https://www.researchgate.net/post/Problem_in_Clustal-Omega_alignment  
> **username_1**: HEre's your response on Researchgate: "I concern the length because I am doing comparative analysis betweem Muscle,Mafft and ClustalOmega and the length of clustal is totally different than the others which made the analysis of alignment is totally different"  

---

## 2 answers

### Answer by username_2 on 2022-01-16. Score: 2

Have you had a look at your alignment? I personally use Jalview but any alignment viewer should work. Colour > Percentage Identity (or Nucleotide) should help with visualization.

Does the alignment look reasonable (and gaps are just inserted at the end for some reason), or is it pretty messy? If it looks messy, is it just a few outlier sequences that cause the problem, or does it look like you have two main groups of sequences that align between themselves but not with the other? In the latter case, could it be possible that some of your initial sequences were inputed in the reverse orientation? I'm not sure about the command line implementation of Clustal Omega, but I know that at least the versions I use don't automatically reverse-complement sequences to be aligned.

> **Comments:**
> **username_1**: This is the right answer, I personally would avoid Jalview but its a matter of opinion.  

---

### Answer by username_1 on 2022-01-18. Score: 0

Firstly its good you've done some proofing of your output wherein you spotted,

75000

The alignment output is approximately double the genome size, just over double the input.
An off-question point, I assume the computer you are working on has at least 8-cores because thats what you are requesting.
Clustal omega is a very solid algorhithm and has been around for a long time in its current omega version. The error you are encountering is an input sequence bug. @Laura's suggest is correct and is formal practice: you must manually verify bioinformatics output and in this case an alignment viewer is the correct proceedure.
Thereafter I suspect you would find the answer, such as omitting carriage returns in the fasta format, seeing taxa names caught up post 30K.
If you run,
wc ./myclustalv3.fasta # output file
wc ./Allseq.fasta  # input file
wc ./testgenome.fasta

You will probably find that the number lines per file does not agree between the input and output format OR the number of lines of both input and output is <<600 or <<1200 (600 x2 ), i.e. the expected number of sequences. This points to parsing errors within the input data. Fasta has a line for the sequence identifier and a line for the sequence. It is using > for the sequence identifier, but will use a carriage return for sequence.
Again manually assessing an alignment is baseline proceedure regardless of output.
An example (guess) about what might have happened is that every other input has omitted ">", omega will then see the first ">" then read everything until it sees another ">" as sequence data. Thus its doubled the sequence length and dragged a sequence identifier exactly in the centre of the doubled up genomes.

An issue with fasta is there is no internal proofing of the format. In other formats the number of sequences and their length is specified within the file, so it is easy to internally verfiy the data prior a calculation. Code-wise it is known as 'setting' and you can't do that with fasta.


---

