uiz Space

January 2025 term · Algorithmic Thinking in Bioinformatics · BSBT4001

Algorithmic Thinking in Bioinformatics End Term: 13 April 2025 (January 2025 term)

The IIT Madras BS Algorithmic Thinking in Bioinformatics (Algorithmic Thinking in Bioinformatics) End Term paper sat on 13 Apr 2025, in the January 2025 term: 19 questions for 50 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
19
Marks
50
Duration
180 min
Written
2
Numerical
8
MCQ
8
MSQ
1

Updated

Official paper: IIT M IMPROVEMENT AN EXAM QIM3 13 Apr 2025 · No negative marking.

Question 1

+4 marksWritten answer

Your lab has bought a new mass spectrometer and you are asked to test the accuracy of the same. You use the machine to generate the spectrum for the peptide Peptide=WIL\mathit{Peptide} = \mathit{WIL}. The spectrum generated is given below:

0 113 186 226 299 299 412 415

Use Figure 1 given below to calculate the percentage of error of the machine.

GASPVTCILNDKQEMHFRYW
5771879799101103113113114115128128129131137147156163186

Figure 1: Masses of different amino acids

(Error is calculated by dividing the total number of missing and false masses, by the length of the theoretical spectrum.)

Round up the answer to 2 decimal places.

Show answer

Correct answer: 0.25 or 25

Question 2

+4 marksNumerical answer

An evil warlord wants to mutate a human chromosome into the DNA sequence of a dangerous virus and implant it in cyborgs to create his robotic army. The synteny blocks of the two species are given below:

Human DNA:−5−1−2−4+3Virus:−5+4+1−2−3\begin{aligned} \mathit{Human\ DNA} &: -5 -1 -2 -4 +3 \\ \mathit{Virus} &: -5 +4 +1 -2 -3 \end{aligned}

The most sophisticated machines available require 1 hour to apply a single 2-break operation. Use breakpoint graphs to determine the minimum number of hours needed by the evil warlord to complete the transformation.

Show answer

Correct answer: 4

Question 3

+4 marksOne correct option

In a soft K-means clustering process, a dataset is clustered into two groups. A data point has distances d1=3d_1 = 3 and d2=6d_2 = 6 from the two cluster centroids. Using the soft K-means formula with β=1\beta = 1, compute the probabilities of the data point belonging to each cluster.

After assigning probabilities, update the centroid μ1\mu_1 given that the current centroid is μ1=4\mu_1 = 4 and this data point's value is x=5x = 5. Assume no other points are assigned to cluster 1. Use the centroid update formula:

μknew=∑iP(Ck∣xi)xi∑iP(Ck∣xi)\mu_k^{\text{new}} = \frac{\sum_i P(C_k \mid x_i) x_i}{\sum_i P(C_k \mid x_i)}

where P(Ck∣x)P(C_k \mid x) is computed using the softmax-like probability formula:

P(Ck∣x)=e−βdk∑j=1Ke−βdjP(C_k \mid x) = \frac{e^{-\beta d_k}}{\sum_{j=1}^{K} e^{-\beta d_j}}

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 4

+4 marksOne correct option

Recall the color coding algorithm to compute a kk-length path (connecting the regulators and receptors) with maximum weight. We had the following optimal substructure:

W[v,X]=max⁡u∣c(u)∈X∖{c(v)}W[u,X∖{c(v)}]+w(u,v),1<∣X∣≤kW[v, X] = \max_{u \mid c(u) \in X \setminus \{c(v)\}} W[u, X \setminus \{c(v)\}] + w(u, v), \qquad 1 < |X| \le k

Consider a set of proteins T={T1,…,Tm}T = \{T_1, \ldots, T_m\}. You are asked to compute the path with maximum weight such that there are at least xx and at most yy proteins from TT. To accommodate the same the DP matrix is modified as follows:

Instead of a 2-D matrix, we use a 3-D DP matrix WW such that W[v,X,p]W[v, X, p] stores the maximum weight of a path of length ∣X∣|X| ending at vv containing a vertex of each color in XX and exactly pp proteins from TT. Which among the following is the correct optimal substructure for the algorithm?

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 5

+4 marksOne correct option

The number of occurrences of the four nucleotides in the genome sequence of some virus is given in Table 1. The suffix array of the genome sequence

ACGT
Frequency2314

Table 1: Frequency of the Nucleotides

is: [10,3,4,9,8,6,1,2,7,5,0][10, 3, 4, 9, 8, 6, 1, 2, 7, 5, 0]. Assume $ is present at the end of the original genome sequence for all computations. Which of the following represents the correct genome sequence?

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 6

+4 marksOne or more correct options

Recall that in order to construct an overlap graph, we need to determine which k-mers are overlapping. But if the k-mers are error-prone, then it would be difficult to determine the same. An overlap alignment is used in such scenarios.

Overlap alignment of sequence v=v1…vnv = v_1 \ldots v_n to sequence w=w1…wmw = w_1 \ldots w_m is a type of sequence alignment that maximizes the global alignment score between a suffix of vv and a prefix of ww.

Recall that the two sequences vv and ww are of lengths nn and mm respectively. Consider the alignment graph for the global alignment problem (vv is along the rows and ww is along the columns). What zero-weight extra edge/s (free taxi rides) should be added to the same so as to compute the overlap alignment between the two sequences?

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • C
  • D

Question 7

+2 marksNumerical answer

The overlap graph of some linear (i.e., non-circular) genome Dna has 138 nodes. Answer the given subquestions about the de Bruijn graph constructed on the same set of k-mers. Remember that Dna can be reconstructed by using both the graphs when answering these questions.

What is the number of edges in the de Bruijn graph? Enter the value as a single integer.

Show answer

Correct answer: 138

Question 8

+2 marksNumerical answer

The overlap graph of some linear (i.e., non-circular) genome Dna has 138 nodes. Answer the given subquestions about the de Bruijn graph constructed on the same set of k-mers. Remember that Dna can be reconstructed by using both the graphs when answering these questions.

What is the maximum number of nodes possible in the de Bruijn graph? Enter the value as a single integer.

Show answer

Correct answer: 139

Question 9

+3 marksOne correct option

Answer the given subquestions.

What is the Burrows Wheeler Transform of the string ‘AACAAG$’?

  1. A

    GCAAAA$

  2. B

    G$CAAAA

  3. C

    $GCAAAA

  4. D

    $AACAAG

Show answer

Correct answer

  • B

    G$CAAAA

Question 10

+1 markOne correct option

Answer the given subquestions.

Is the transformed string more compressible using run-length encoding than the original string ?

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • A

    Yes

Question 11

+2 marksNumerical answer

Scientists of an alien world have used the UPGMA algorithm to construct the following Ultrametric tree (Figure 2) on six different species. The green nodes in the tree represent current-day species, while the red nodes represent their extinct ancestors. The numbers next to the red nodes represent the age of the node in million years.

Based on the above data, answer the given subquestions.

During the construction of the phylogeny using the UPGMA algorithm, what was the average distance between the species represented by the nodes “N4” and “E”? Enter the value as a single integer.

Show answer

Correct answer: 4

Question 12

+2 marksWritten answer

Scientists of an alien world have used the UPGMA algorithm to construct the following Ultrametric tree (Figure 2) on six different species. The green nodes in the tree represent current-day species, while the red nodes represent their extinct ancestors. The numbers next to the red nodes represent the age of the node in million years.

Based on the above data, answer the given subquestions.

How many million years ago did the species marked at the “N1” node diverge to form the descendants? Enter the value as a single integer.

Show answer

Correct answer: 2 or 2000000

Question 13

+2 marksNumerical answer

Based on the above data, answer the given subquestions.

Calculate the entropy for the fifth column? Round up the answer to 3 decimal places.

Show answer

Correct answer: 1.65 (accepted within ±0.05)

Question 14

+2 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 0

Question 15

+2 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 420

Question 16

+1 markOne correct option

Based on the above data, answer the given subquestions.

The pooling layer in the DeepBIND model reduces the dimensionality of its input.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 17

+1 markOne correct option

Based on the above data, answer the given subquestions.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • A

    TRUE

Question 18

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

How many 6-mers in the sequence GCTAGTCCATTGGA have a nonzero probability of binding to the TF according to the PWM in the given table? Enter the answer as an integer.

Show answer

Correct answer: 7

Question 19

+3 marksOne correct option

Based on the above data, answer the given subquestions.

Which of the following substrings is least likely to be bound by the TF? Enter the answer as an integer.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • D