1 Introduction

Though the SARS Cov-2 initially originated from the Wuhan market, there is still no confirmed proof. To find drugs against a particular disease, discovering the characteristics of the corresponding disease-causing factor is very important [1, 2].

Protein plays numerous roles in the biological world, such as transporting nutrients and constructing the structures of living things. It will perform its functions by interacting with other molecules such as DNA or RNA proteins and small molecules. So, by discovering and disturbing/destroying the particular protein, we can reduce/stop the entire disease spread process.

Amino acids are the monomers that encode proteins. The protein comprises twenty different amino acids and has a polypeptide backbone with attached side chains. The protein structures are determined by the sequence of amino acids that compose the proteins and how the protein folds into more complex shapes. Each amino acid has the same fundamental structure and comprises a core carbon atom renowned as the alpha (\(\alpha \)) carbon, which is attached to an amino group (NH2), a carboxyl group (COOH) and a hydrogen atom. Thus, it acts as the point of attachment for the side chains of 19 of the 20 amino acids and is vital in protein folding.

The complete structure of a protein can be described by four levels of complexity, namely primary, secondary, tertiary, and quaternary.

Primary

The sequence of amino acids in a polypeptide chain

Secondary

Indicates the local interactions of polypeptide chain stretches that can form -helices and -sheets via hydrogen bonding interactions

Tertiary

It is the overall three-dimensional arrangement of its polypeptide chain in space

Quaternary

This is formed by assembling several protein chains or subunits into a densely packed array

Different visual representations of proteins can provide visible clues about the protein. The ternary (3D) structure of a protein is the three-dimensional shape of the protein chain, which aids in the elucidation of protein function, structure-based drug design and molecular docking. This tertiary structure is obtained using Nuclear magnetic resonance (NMR) spectroscopy/protein X-ray crystallography. Basically, these shapes are determined by the characteristics of the amino acids making up the chain. Moreover, the function of many proteins relies on their three-dimensional shapes.

Comprehending biological structures are not that much easy for everyone except biologist. But many researchers can understand the geometrical view of biological structures. Geometric structures are typically investigated using Euclidean and differential geometry. Since the conformation of protein molecules is exceedingly irregular, we cannot use them to analyse the geometrical structure of proteins. In this scenario, using different graph interpretations of proteins can aid with protein analysis.

In general, researchers perform a change detection analysis to observe the difference between the images. These are done on the basis of principal components, edge detection and some of the operations of images, etc [3]. Similarly, normalized correlation and cosine similarity are the measures used in template matching, a technique for identifying occurrences of a pattern or item inside an image.

A visually insignificant modification in the examined object can significantly impact its fractal measure. Consequently, fractals are aiding in numerous protein research to reveal the protein’s characteristics and distinguish defective proteins. Some researchers have computed the fractal dimension using invariant parameters such as fluorescence energy transfer [4], dihedral angles [5] and provided globally acceptable results. However, few researchers have simply discovered any fractal dimension for the backbone images or the 3D view of the proteins and protein surfaces [6]. Though these are unique, their shapes are variants under rotation. This shape variation is reflected in their fractal dimension since some of the dimensions like box dimension [7] and mass dimension [8] are calculated based on the shape of the images. In that case, the gathered results would be authentic only locally rather than globally. So, we must adhere to the invariant graph interpretations of proteins to standardize the conclusion.

This work aids the few invariant and precise graph representations, namely backbone, \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of proteins. Then, find their fractal dimension using the opted fractal dimension method for the structural proteins of distinct corona viruses belonging to the same family.

Moreover, we discovered a similarity between the structural proteins. Typically, computer-based classification techniques or mathematical criteria are used to evaluate the similarity. Though Euclidean distance, structural similarity index, mean squared error and correlation are a few mathematical measures to evaluate the similarity of images, we assure the similarity with the employment of well recognized mathematical parameters, namely normalized cross-correlation and cosine similarity. As they are the normalized values and the time-minimized user-friendly methods, they provide elegant outputs compared with other methods [9, 10]. Researchers get the idea of developing a drug against SARS Cov-2 by identifying similarities between SARS SARS Cov-2 and other proteins because a drug against these structural proteins has already been developed for the well-known virus.

For fast computational purposes, we employ the following software, namely, SWISS-MODEL, NAPS, MATLAB R2021a and ImageJ. In short, this work reveals the complexity and similarity of structural proteins and enriches pathological studies. Consequently, this study leads us to drug development and brings us one step closer to gain a depth knowledge.

2 Prologue

2.1 Structural proteins of virus

The Structural proteins act a fundamental role in forming cells, tissues and organisms. Structural proteins have a characteristic amino acid sequence that repeats to form a higher-order structure via intermolecular and intramolecular hydrogen bonding [11,12,13]. All the viruses that belong to the Coronaviridae family have four structural proteins (\(\mathcal{S}\mathcal{P}\)): Spike (S), Envelope (E), Membrane (M), and Nucleocapsid (N).

\(\mathcal{S}\mathcal{P}_1\):

The S protein is a crucial multifunctional and clover-shaped protein that interacts with particular cellular receptors to indicate the host-specificity of different coronaviruses. Furthermore, it occasionally causes fusion between the viral envelope and host-cell membranes, as well as cell-to-cell fusion. The S protein in SARS Cov-2 has 76%, 97.4% and 29.8% sequence identity with the S protein of SARS CovBat Cov RaTG13 and MERS Cov respectively.

\(\mathcal{S}\mathcal{P}_2\):

The E protein is a tiny membrane protein that encourages virion formation and viral pathogenicity. Virions are considered necessary for viral assembly and viral release. The sequence identity between SARS Cov-2 and SARS Cov is 94.7%. Similarly with Bat Cov RaTG13 and MERS Cov are 100% and 37.33%.

\(\mathcal{S}\mathcal{P}_3\):

The M protein is indispensable for viral assembly in infected cells. Also, it transports and releases the virus from host cell organelles. The sequence identity of SARS Cov-2 with SARS Cov, Bat Cov RaTG13 and MERS Cov are 99.5%, 90.5% and 42.3% respectively.

\(\mathcal{S}\mathcal{P}_4\):

The N proteins are indicated in host samples at the prior stage of infection. It improves viral entry and carries out post-fusion cellular processes required for viral survival in the host. The N protein in SARS Cov-2 has 90.5% and 95.9% sequence identity with the N protein of SARS Cov and Bat Cov RaTG13.

2.2 Raw data description

The raw data of protein sequences used in this manuscript are rooted from the NCBI website https://www.ncbi.nlm.nih.gov where the data are submitted by various researchers and are officially published by NCBI under the NCBI Viral RefSeq Project with an open license. The relevant NCBI accession numbers for the raw data are already presented in table 1. With the help of these numbers, you can directly copy or download the protein sequences in easily accessible file formats. Since a part of this study exploits the 3D structures of structural proteins, the raw protein sequences are converted into 3D proteins using homology modelling.

2.3 Homology modelling

Homology modelling, also known as comparative modelling is one of the computational structure prediction approaches used to identify a protein’s 3D structure from its amino acid sequence. Since the protein structures are modeled using a template of a well-known experimental structure of a homologous protein, it is recognized as one of the most accurate structure prediction approaches.

Several techniques are available to make homology modelling. Hither, a web-based service named SWISS-MODEL [14] (https://swissmodel.expasy.org/) is exploited to make the homology model of the considered proteins. The process of creating a SWISS-based model consists of the following five significant steps:

\(S_1\):

Input data: The input/target protein sequences are gathered from various sources. We have compiled the data from the NCBI data in FASTA format. The corresponding IDs related to the raw data are detailed in Table 1.

\(S_2\):

Template searching: Searching for the appropriate template is essential to obtain a precise homology model in which the templates are sought based on the maximum sequence similarity with the target sequence.

\(S_3\):

Template fixing: Users have the option for fixing a template. It is done through parameters such as GMQE [15] (Global Model Quality Estimate) and QSQE [16] (Quaternary Structure Quality Estimate) with the values ranging from [0, 1]. Selecting the template with GMQE and QSQE values closer to 1 will provide the exact template.

\(S_4\):

Model building: The 3D protein model is instinctively created for fixed templates by first transferring conserved atom coordinates defined by the target template alignment. Then the loop modelling generates residual coordinates corresponding to insertions and deletions in the alignment. It is done via the ProMod3 [17] modelling engine since the SWISS-MODEL depends on the OpenStructure computational structural biology framework.

\(S_5\):

Model quality estimation: In this step, the parameter QMEAN [18] defined in the range [0, 1] is often used to identify the highly reliable 3D model. Finally, the appropriate 3D model is downloaded in the .pdb format.

3 Implementation of chaotic measures on the various interpretation of structural proteins

The 3D proteins can be examined using various portrayals. Accordingly, not only at the image level but also mathematically and statistically the 3D proteins can be analysed. Though the 3D proteins look like images, we can decode the hidden pieces of information with software help and make various representations.

However, this work considered three different kinds of graph representation to analyse structural proteins as shown in Fig. 1, where the first two graphs are different interpretations of 3D proteins while the third one is designed based on the protein sequences. Further, the construction of the different graphs of structural proteins are explained, followed by describing the appropriate fractal dimension approach to uncover the characteristics of the graphs since they followed a fractal-like nature. Finally, the statistical tests are performed to identify the similarity between the various graph interpretations.

Fig. 1
figure 1

Flowchart for a fast overview of the technical processes used in this study

3.1 Zig–zag curve representation

It is a simplistic indication of 3D proteins, enabling the polymer chain structure to be formed by connecting the alpha carbons of the proteins [7]. The MATLAB molviewer [19] (https://in.mathworks.com/help/bioinfo/ref/moleculeviewer-app.html) acquired the zig-zag curve by taking the homology modelled .pdb file as input.

Method 3.1   Fractal dimension

The fractal dimension is depicted for a structure with a self-similar characteristic that is invariant under a scale transformation. Since proteins are unbranched polymers, they have a statistically self-similar property.

In this method [20], the protein molecule is considered a function of the fineness or coarseness of the scale r. This is similar to the walker dimension method. Herewith, the zig-zag curve is acquired by connecting the alpha atoms of the proteins with the interval of r residues starting from the alpha atoms of the N-terminal residue. Continue the process until spot the less residues to make the next move. Repeat the process with different residues r.

The length of the protein molecule on a scale of r (i.e.,\({\mathcal {L}}({r})\)) is obtained by the sum of the length of the zig-zag line \({\mathcal {L}}_z\) and the correction term \({\mathcal {C}}_t\), which are calculated using the following equations:

$$\begin{aligned} {\mathcal {L}}({r}) = {\mathcal {L}}_z + {\mathcal {C}}_t \end{aligned}$$

with

$$\begin{aligned} {\mathcal {C}}_t = \frac{N(u)}{r+1}\times {\mathcal {L}}_m \end{aligned}$$

Here N(u) indicates the number of remaining disconnected residues and \({\mathcal {L}}_m\) represents the average length of the fractional lines that make up the zig-zag lines. Then the fractal dimension is acquired using the relation

$$\begin{aligned} N=\left( \frac{{\mathcal {L}}({r})}{r}\right) ^{\text{ FracDim}_Z}, \end{aligned}$$

where N represents the total number of residues.

3.2 Protein contact map (\(\mathcal {PCM}\))

Over the last 3 decades, the research on \(\mathcal {PRN}\) have evolved. Initially, this is a kind of mathematical formulation of 3D proteins derived from graph theory. In a nutshell, \(\mathcal {PRN}\) is a way of assessing protein structure in which residues are seen as nodes and edges reflect the interaction between them. The structure and function of proteins are greatly assisted by determining the centrality of these networks. Furthermore, this \(\mathcal {PRN}\) study revealed several valuable approaches and tactics for discovering the information of proteins.

In this sequence, \(\mathcal {PCM}\) is used to explore the contact/connectivity between all possible amino acid residue pairs in a three-dimensional protein structure using a two-dimensional binary matrix. In other words, this is a kind of adjacency matrix representation of \(\mathcal {PRN}\). This can be expressed as follows.

Let \(r_m\), \(r_n\) be any two residues. The edge between any two residues are denoted by \(e_{r_m r_n}.\) Then, the \(\mathcal {PCM}\) of a 3D protein is defined as

$$\begin{aligned} \mathcal {PCM} = \left\{ \begin{array}{ll} 1 &{} \quad \text{ if }~e_{r_m r_n} ~\text{ exists }\\ 0 &{} \quad \text{ Otherwise } \end{array} \right. \end{aligned}$$

With the help of contact maps, the similarity between proteins are quickly evaluated. Moreover, the contact maps are translation and rotation invariant. As a consequence, the coordinates of proteins are reconstructed without interruption.

Both \(\mathcal {PRN}\) and \(\mathcal {PCM}\) are acquired from NAPS (Network Analysis of Protein Structures) [21], a web-based tool that provides the desired output by giving input or uploading the PDB file on the web page http://bioinf.iiit.ac.in/NAPS/index.php .

Method 3.2   Mass dimension

The mass dimension (\(FracDim_{M}\)) is like a traditional box dimension. Instead of counting the boxes (with size \({\check{\varepsilon }}\)) that covers the taken object, we count the average number of pixels \(\mu _{{\check{\varepsilon }}}\) in the boxes. It quantifies the connectivity of \(\mathcal {PRN}\) and can be calculated for each pixel in a given image and used to identify the irregularities of heterogeneous geometrical objects. The following equation can be used to calculate \(FracDim_{M}\).

$$\begin{aligned} FracDim_{M}=\lim \limits _{{\check{\varepsilon }}\rightarrow 0}\frac{ln~ \mu _{{\check{\varepsilon }}}}{ln ~{\check{\varepsilon }}}. \end{aligned}$$

3.3 Chaos game representation (\(\mathcal {CGR}\))

The \(\mathcal {CGR}\) could be used to translate the amino acid sequence into bi-dimensional real values. It helps to preserve the statistical properties of the sequences and offers information on the global and local patterns of the sequences. Each sequence member has a corresponding point representation in \(\mathcal {CGR}\). As a result, each amino sequence has a unique \(\mathcal {CGR}\) [22].

Initially, protein sequences consist of 20 different amino acids, including phenylalanine (F), histidine (H), isoleucine (I), lysine (K), leucine (L), methionine (M), threonine (T), valine (V), tryptophan (W), alanine (A), aspartic acid (D), glutamic acid (E), asparagine (N), serine (S), cysteine (C), glycine (G), proline (P), glutamine (Q), arginine (R) and tyrosine (Y). Among these, the first nine amino acids are essential, the succeeding five are non-essential amino acids and the remaining six are conditional amino acids.

These sequences can be represented as a \(\mathcal {CGR}\) graph using the HP model. It is a lattice-based model introduced in the year of 1985 in which the amino acids are categorized into four groups: the eight amino acids AILMFPW,  and V are categorized as a non-polar class; the seven amino acids NCQGST,  and Y are labeled as an uncharged polar class; the three amino acids RH,  and K are considered a positive polar class; and the remaining two amino acids D and E are designated as a negative polar class. The only premise is that two non-polar amino acids interact iff they are spatially close to each other, whereas the other techniques are based on statistically predicting interactions from the primary sequence. Thus, the HP model is more precise and that is why the HP model is widely chosen [23].

To convert a given protein’s amino acid sequence into \(\mathcal {CGR}\) coordinates, consider the given protein sequence as follows:

$$\begin{aligned} \textit{Seq} =\{S_1S_2\ldots S_N\}, \end{aligned}$$
(1)

where \(S_i, ~i=1,2,...N\) indicates the elements in the amino acid sequence and N represents the length of the sequence.

Let define

$$\begin{aligned} s_i= \left\{ \begin{array}{ll} 0 &{} \text{ if }~S_i~\text{ is } \text{ non } \text{ polar }\\ 1 &{} \text{ if }~S_i~\text{ is } \text{ negative } \text{ polar }\\ 2 &{} \text{ if }~S_i~\text{ is } \text{ uncharged } \text{ polar }\\ 3 &{} \text{ if }~S_i~\text{ is } \text{ positive } \text{ polar }\\ \end{array} \right. \end{aligned}$$

Then Eq. (1) is reconstructed as

$$\begin{aligned} {\mathcal {X}}(S)=s_1s_2...s_N,~~~~~s_i\in \{0,1,2,3\}. \end{aligned}$$
(2)

To plot the \(\mathcal {CGR},\) consider the \([0,1]\times [0,1]\) square with 4 corners that reflects the values 0, 1, 2 and 3. Then, plot the first element in the sequence \({\mathcal {X}}(S)\) by positioned the point halfway between the centre of the square. Similarly, plot the \(i^{th}\) point in the halfway between the \((i-1){th}\) point. Continuing in this way, the desired \(\mathcal {CGR}\) of the protein sequence is constructed.

The sample protein sequence and the corresponding reconstructed sequences are presented in the following figures 2 and 3. This interpretation is made via the software C-GREx (https://sites.google.com/site/cgrexonline/).

Fig. 2
figure 2

Amino acid representation of sample protein

Fig. 3
figure 3

A reconstructed sequence representation of Fig 2

Method 3.3    Box counting dimension

The fractal dimension of \(\mathcal {CGR}\) is determined using the standard box count approach, where the provided \(\mathcal {CGR}\) is covered by tiny boxes of size \(({\check{\varepsilon }}).\) The number of boxes \(({\mathcal {N}}({\check{\varepsilon }}))\) that cover the item varies depending on the box size. The following expression can be used to compute the box dimension:

$$\begin{aligned} {FracDim}_B=\lim \limits _{{\check{\varepsilon }}\rightarrow 0}- \frac{\log ~ {\mathcal {N}}({\check{\varepsilon }}) }{\log {\check{\varepsilon }}} \end{aligned}$$

4 Methods for finding similarity between proteins

This section deals with a few statistical methods that are used to investigate the changes in the \(\mathcal {PCM}\) and \(\mathcal {CGR}\) interpretation of the structural proteins. It will aid in understanding the worthiness of the fractal measures. Since \(\mathcal {PCM}\) and \(\mathcal {CGR}\) have translational and rotational invariant, the normalized cross-correlation and cosine similarity are performed to analyse the similarity between the structural proteins of SARS Cov and SARS Cov-2.

Method 4.1   Normalized cross-correlation

The normalized correlation coefficient is a number that represents the similarity of two images in terms of pixel intensity, where the two taken images \({\mathcal {A}}\) and \({\mathcal {B}}\) are converted into two distinct data sets X and Y [24]. Then the normalized cross-correlation (\(\mathcal{C}\mathcal{C}_n\)) is calculated using the forthcoming equation:

$$\begin{aligned} \mathcal{C}\mathcal{C}_n =\frac{\sum ^n _{i=1}(x_i - {\bar{x}})(y_i - {\bar{y}})}{\sqrt{\sum ^n _{i=1}(x_i - {\bar{x}})^2} \sqrt{\sum ^n _{i=1}(y_i - {\bar{y}})^2}}. \end{aligned}$$

Here, \(\mathcal{C}\mathcal{C}_n\) is the correlation coefficient and \( x_i\in X~ \& ~ y_i\in Y\). The value of \(\mathcal{C}\mathcal{C}_n\) is in the range in \([-1,1],\) where \(\mathcal{C}\mathcal{C}_n=-1\) reflect that the taken two images are negatively correlated; \(\mathcal{C}\mathcal{C}_n=0\) implies that there is no correlation between the considered images; \(\mathcal{C}\mathcal{C}_n=1\) denotes that the taken images are exactly identical. The \(\mathcal{C}\mathcal{C}_n\) calculation in this work is done through the MATLAB normxcorr2() function (https://in.mathworks.com/help/images/ref/normxcorr2.html).

Method 4.2   Cosine similarity

Cosine similarity is a mathematical metric used in many machine learning algorithms that measures the similarity between two sequences of numbers. This approach calculates the cosine similarity by taking into account the cosine of the angle between the vectors that make up the number sequence [25].

Thus, to find out the cosine similarity (\({\mathcal {S}}_{{\mathcal {C}}}\)) between the two considered images \({\mathcal {A}}\) and \({\mathcal {B}}\), they are first converted into vectors A and B. Then the cosine similarity is calculated using the following formula:

$$\begin{aligned} {\mathcal {S}}_{{\mathcal {C}}}=\frac{A.B}{\Vert A\Vert ~ \Vert B\Vert }=\frac{\sum _{i=1}^{n}A_iB_i}{\sqrt{\sum _{i=1}^{n}A_i^2}\sqrt{\sum _{i=1}^{n}B_i^2}}, \end{aligned}$$

where \(A_i\in A\) and \(B_i\in B.\) The range of \({\mathcal {S}}_{{\mathcal {C}}}\) is \([-1,1].\) It represents the similarity level between the images \({\mathcal {A}}\) and \({\mathcal {B}}.\) If the \({\mathcal {S}}_{{\mathcal {C}}}\) is 1, then the images \({\mathcal {A}}\) and \({\mathcal {B}}\) are the same, i.e., the vectors are proportional, whereas the value -1 indicates that the images are totally different. In precisely, we can consider its range in [0, 1],  since the \({\mathcal {S}}_{{\mathcal {C}}}\) reflects that there is no similarity between images, i.e., the vectors are orthogonal. As \({\mathcal {S}}_{{\mathcal {C}}}\) is based on the angles between the vectors, it is the best method to measure the similarity even if the images are of different sizes. The \({\mathcal {S}}_{{\mathcal {C}}}\) calculation is done via the Python software (https://soumilshah1995.blogspot.com/2020/07/computing-similarity-on-images-using.html).

5 Results and discussion

The fractal dimension is an elegant parameter to identify minor changes. According to this fact, visually different images can have the same fractal dimensions. However, if the virtually similar images (with the same image quality and size) have different dimensions, then there must be a minute change between the images.

Though the \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of taken structural proteins appear to be the same (refer to Appendix), their fractal dimensions vary, which means that there is a minute change between the \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of structural proteins. i.e., There is a change in the corresponding residue-residue interaction and the amino acid sequences.

Descriptively, the alpha carbons of proteins generate the zig-zag curves and \(\mathcal {PCM}\), whereas the protein sequence is used to evolve the \(\mathcal {CGR}\). As a result, even small changes in the alpha carbons and protein sequences are reflected in the fractal dimension. This allows us to detect identical proteins.

Based on the literature [13], the E protein of Bat Cov RaTG13 and SARS Cov-2 are identical, i.e., both have same type of envelope protein. We can see this reflection in the fractal dimension. In our investigation, the E protein of Bat Cov RaTG13 and SARS Cov-2 has identical fractal dimensions. This information leads us to conclude that the fractal dimensions can be used to find the identical proteins.

The obtained fractal dimension values are presented in the following Table 1.

Table 1 Various structural proteins and their associated fractal dimensions

The fractal dimension reflects the complexity of the objects. The fractal dimension increases as the thing becomes more complicated. Table 1 shows that the fractal dimension corresponding to the different representations of SARS Cov-2 structural proteins is greater than the other. As a result, we can identify that SARS Cov-2 structural proteins are more complicated than the other structural proteins where the structural complexity of proteins depends on the interactions among their residues. The acquired graph interpretation becomes denser and more complicated when the interactions are more. As the fractal dimension quantifies the small changes essentially, we said that fractals aid in finding the structural complexity of structural proteins.

The normalized cross-correlation and cosine similarity of the \(\mathcal {PCM}\) and \(\mathcal {CGR}\) explores the match up of \({SARS~Cov}-2\) with MERS CovBat Cov RaTG13,  and SARS Cov.

The \(\mathcal {CGR}\) is a kind of representation of amino acids. The acquired \(\mathcal {CGR}\)’s normalized cross-correlation values and cosine similarity index are virtually identical to the percent of sequence identity of structural proteins (refer the Sect. 2.1), where the sequence identity refers to the presence of the same nucleotide or amino acid in structural proteins. The \(\mathcal {PCM}\) reflects the residue–residue interaction of the structural proteins. Through the \(\mathcal{C}\mathcal{C}_n\) and \({\mathcal {S}}_{{\mathcal {C}}}\) of \(\mathcal {PCM}\), we can get information about how the residue–residue interaction varies between the structural proteins of virus.

Table 2 Normalized cross-correlation between \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of MERS Cov and SARS Cov-2
Table 3 Normalized cross-correlation between \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of Bat Cov RaTG13 and SARS Cov-2
Table 4 Normalized cross-correlation between \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of SARS Cov and SARS Cov-2
Table 5 Cosine similarity between \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of MERS Cov and SARS Cov-2
Table 6 Cosine similarity between \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of Bat Cov RaTG13 and SARS Cov-2
Table 7 Cosine similarity between \(\mathcal {PCM}\) and \(\mathcal {CGR}\) of SARS Cov and SARS Cov-2

From Tables 1, 2, 3, 4, 5, 6, 7, we assure that the normalized cross-correlation and cosine similarity of \(\mathcal {PCM}\) is near the sequence identity. As a result, we can utilize \(\mathcal {CGR}\) and \(\mathcal {PCM}\) to analyse sequence identity rather than the other techniques since both biologists and non-biologist researchers easily understand the \(\mathcal {CGR}\) and \(\mathcal {PCM}\) graph interpretation. Among which \(\mathcal {CGR}\)’s \(\mathcal{C}\mathcal{C}_n\) and \({\mathcal {S}}_{{\mathcal {C}}}\) provide the more appropriate sequence identity because both the sequence identity and \(\mathcal {CGR}\) are designed based on the protein sequences. In fact, compared with \(\mathcal{C}\mathcal{C}_n\), \({\mathcal {S}}_{{\mathcal {C}}}\) is closer to the sequence identity since it is based on the angle between the points rather than the distance. Therefore, a slight change is reflected in the \({\mathcal {S}}_{{\mathcal {C}}}\). Based on the obtained outcomes, we assure that SARS Cov-2 is closely related to Bat Cov RaTG13.

6 Conclusion

We have examined alternative ways to understand the protein sequences. Through the fractal dimension, we have tracked the visually minor or negligible changes and have identified that SARS Cov-2 possesses a more complex structure. In addition, with the help of normalized cross-correlation and cosine similarity, we have ensured that Bat Cov RaTG13 and SARS Cov-2 have similar structural proteins rather than other virus. Thus, we can ensure that SARS Cov-2 originated from Bat Cov RaTG13 and can utilize the Bat Cov RaTG13 drug combination ideas to develop the drugs against SARS Cov-2. This study does not need any deep biological knowledge to analyse the structural proteins. We hope this work will give a new perspective on protein analysis for researchers from non-biological backgrounds.