This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| axt * | chainToAxt (struct chain *chain, struct dnaSeq *qSeq, int qOffset, struct dnaSeq *tSeq, int tOffset, int maxGap, int maxChain) |
| struct axt* chainToAxt | ( | struct chain * | chain, | |
| struct dnaSeq * | qSeq, | |||
| int | qOffset, | |||
| struct dnaSeq * | tSeq, | |||
| int | tOffset, | |||
| int | maxGap, | |||
| int | maxChain | |||
| ) | [read] |
Definition at line 91 of file chainToAxt.c.
References axtFromBlocks(), chain::blockList, cBlock::next, cBlock::qStart, slAddHead, slReverse(), and cBlock::tStart.
00099 { 00100 struct cBlock *startB = chain->blockList, *a = NULL, *b; 00101 struct axt *axtList = NULL, *axt; 00102 00103 for (b = chain->blockList; b != NULL; b = b->next) 00104 { 00105 if (a != NULL) 00106 { 00107 int dq = b->qStart - a->qEnd; 00108 int dt = b->tStart - a->tEnd; 00109 if ((dq > 0 && dt > 0) || dt > maxGap || dq > maxGap || (b->tEnd - startB->tStart) > maxChain) 00110 { 00111 axt = axtFromBlocks(chain, startB, b, qSeq, qOffset, tSeq, tOffset); 00112 slAddHead(&axtList, axt); 00113 startB = b; 00114 } 00115 } 00116 a = b; 00117 } 00118 axt = axtFromBlocks(chain, startB, NULL, qSeq, qOffset, tSeq, tOffset); 00119 slAddHead(&axtList, axt); 00120 slReverse(&axtList); 00121 return axtList; 00122 }
Here is the call graph for this function:

1.5.2