Skip to content

Commit 534898e

Browse files
committed
update
1 parent 070fe19 commit 534898e

20 files changed

Lines changed: 1615 additions & 5 deletions
173 Bytes
Binary file not shown.
17.9 KB
Binary file not shown.
124 KB
Loading

docs/_build/html/_images/SCH9.png

126 KB
Loading

docs/_build/html/_images/stats.png

47 KB
Loading

docs/_build/html/_sources/pm-doc.rst.txt

Lines changed: 142 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,16 @@ Note that the prefix 'test' entered with the -o (output) argument became the pre
9191

9292
Parent-map can also bypass the sequence analysis and just colorize an existing -par.txt file into a -par.html file. This is useful when the user is not satisfied with the default colors and wants to try different color schemes. In this case, the -C argument is used followed by the name of the -par.txt file. Also, the -p argument must be used followed by a list of parent color pairs. Example::
9393

94-
python -m parent-map -d -C test-par.txt -p 'AAV1 lavender, AAV2 cyan, AAV3B gold, AAV5 crimson, AAV8 lime, AAV9 coral, AAV6 tan'
94+
python -m parent-map -d -C test-par.txt -p 'AAV2 turquoise, AAV3B tomato, AAV5 lavender, AAV8 gold, AAV9 crimson, AAV6 lime'
9595

9696
The following output will be generated, while the newly created html file is automatically displayed (thanks to option -d) in the default web browser::
9797

9898
Colorized version of parental map file saved into file: test-par.html
9999

100+
A portion of the generated html file is shown here:
101+
102+
.. image:: _static/SCH9.png
103+
100104

101105
Arguments
102106
*********
@@ -199,11 +203,58 @@ The -stats.txt file shows a summary of the variant sequences main features, in t
199203
#. **Other**:
200204
Number of sequence positions that could not be matched to any parent and could not be considered as a variation of one particular parent.
201205

206+
Example of a -stats.txt file:
207+
208+
.. image:: _static/stats.png
202209

203210
Parental mapping
204211
****************
205212
In the -par.txt file, each variant complete sequence is displayed along its contributing parental fragments. The parental mapping is simplified as much as possible, so that the variant is completely described using as few parents as possible and as few fragments as possible. Only the necessary parents are shown. If a fragment can be mapped equally to more than one parent, the parent that has the highest overall coverage is chosen. Identities are displayed in the parent lines using an identity symbol ('.' by default). If a mismatch occurs between 2 fragments mapped to the same parents or at a sequence end, it is considered a variation of the parent next to it and displayed as the parent sequence (substitution) or using the gap symbol ('-' by default) in the parent line for insertions or in the variant line for deletions. The -par.txt file is most useful for variant sequences selected from shuffled libraries. Two files are generated: a black and white text file (name ending with -par.txt) and a colorized html version of the same file (name ending with -par.html). In the html file, each parent name and its corresponding identity fragments are colorized using a different color (whenever possible). The default color scheme uses 12 different colors. If the number of parents in the file is greater than 12, the same set of 12 colors is used on the 12 next parents and so on. If the user wishes to apply specific colors, the :ref:`-p argument <colors>` needs to be used followed by a list of parent color pairs, either at the time of the sequence analysis or later with the -C argument to specify the -par.txt file to be colorized again.
206213

214+
Example of a -par.txt file (showing AAV-DJ only)::
215+
216+
Parental composition of sequence AAV-DJ
217+
218+
10 20 30 40 50 60 70 80 90 100 110
219+
AAV-DJ MAADGYLPDWLEDTLSEGIRQWWKLKPGPPPPKPAERHKDDSRGLVLPGYKYLGPFNGLDKGEPVNEADAAALEHDKAYDRQLDSGDNPYLKYNHADAEFQERLKEDTSF
220+
AAV2 ..............................................................................................................
221+
AAV8
222+
AAV9 .........................
223+
224+
120 130 140 150 160 170 180 190 200 210 220
225+
AAV-DJ GGNLGRAVFQAKKRLLEPLGLVEEAAKTAPGKKRPVEHSPVEPDSSSGTGKAGQQPARKRLNFGQTGDADSVPDPQPIGEPPAAPSGVGSLTMAAGGGAPMADNNEGADG
226+
AAV2 .............. ................................................... .............
227+
AAV8 ...................
228+
AAV9 ..................................... ........................
229+
230+
230 240 250 260 270 280 290 300 310 320 330
231+
AAV-DJ VGNSSGNWHCDSTWMGDRVITTSTRTWALPTYNNHLYKQISNSTSGGSSNDNAYFGYSTPWGYFDFNRFHCHFSPRDWQRLINNNWGFRPKRLSFKLFNIQVKEVTQNEG
232+
AAV2 .........................................
233+
AAV8 .. .........................................................
234+
AAV9 ..............................................................................
235+
236+
340 350 360 370 380 390 400 410 420 430 440
237+
AAV-DJ TKTIANNLTSTIQVFTDSEYQLPYVLGSAHQGCLPPFPADVFMIPQYGYLTLNNGSQAVGRSSFYCLEYFPSQMLRTGNNFQFTYTFEDVPFHSSYAHSQSLDRLMNPLI
238+
AAV2
239+
AAV8 ..............................................................................................................
240+
241+
450 460 470 480 490 500 510 520 530 540 550
242+
AAV-DJ DQYLYYLSRTQTTGGTTNTQTLGFSQGGPNTMANQAKNWLPGPCYRQQRVSKTSADNNNSEYSWTGATKYHLNGRDSLVNPGPAMASHKDDEEKFFPQSGVLIFGKQGSE
243+
AAV2 .........................................................................
244+
AAV8 ................A..................................
245+
246+
560 570 580 590 600 610 620 630 640 650 660
247+
AAV-DJ KTNVDIEKVMITDEEEIRTTNPVATEQYGSVSTNLQRGNRQAATADVNTQGVLPGMVWQDRDVYLQGPIWAKIPHTDGHFHPSPLMGGFGLKHPPPQILIKNTPVPADPP
248+
AAV2 ...........................................................................................................
249+
AAV8 ...............................
250+
251+
670 680 690 700 710 720 730
252+
AAV-DJ TTFNQSKLNSFITQYSTGQVSVEIEWELQKENSKRWNPEIQYTSNYYKSTSVDFAVNTEGVYSEPRPIGTRYLTRNL
253+
AAV8 .............................................................................
254+
255+
Same map from the corresponding -par.html file, using default colors:
256+
257+
.. image:: _static/AAV-DJ.png
207258

208259
Sequence definitions
209260
********************
@@ -220,10 +271,100 @@ The -def.txt file shows comprehensive definitions of variant sequences in terms
220271
#. **Parent sequence**:
221272
In the case of substitutions or deletions, the corresponding parental sequence is displayed here.
222273

274+
Here is an example of a -def.txt file::
275+
276+
Variant name: OLIG001
277+
Variant region Parent/feature Parent region Variant sequence Parent sequence``
278+
1-124 AAV2 1-124
279+
86-156 AAV9 86-156
280+
136-178 AAV6 136-178
281+
165-262 AAV9 165-262
282+
234-341 AAV8 235-342
283+
333-373 AAV2 331-371
284+
343-531 AAV8 344-532
285+
532 substitution 533 K E
286+
533-725 AAV8 534-726
287+
726 unmatched H
288+
727-737 AAV6 726-736
289+
290+
Variant name: AAV2i8
291+
Variant region Parent/feature Parent region Variant sequence Parent sequence
292+
1-584 AAV2 1-584
293+
582-590 AAV8 585-593
294+
591-735 AAV2 591-735
295+
296+
Variant name: rAAV2-retro
297+
Variant region Parent/feature Parent region Variant sequence Parent sequence
298+
1-381 AAV2 1-381
299+
382 substitution 382 D N
300+
383-587 AAV2 383-587
301+
588-597 insertion 587/588 LADQDYTKTA
302+
598-717 AAV2 588-707
303+
718 substitution 708 I V
304+
719-745 AAV2 709-735``
223305

224306
Alignments
225307
**********
226308
The -aln.txt file consists of two parts: the first concerns sequences derived from a single parent, while the second part is about sequences derived from multiple parents. In each part, variants derived from the same main parents are aligned together against their main parent. Only regions that differ from the parent in any of the variants are shown, and the region position is indicated by a number (numbering is the one defined in the parental sequence file as explained in :ref:`parents <parents>`). Sequence identity is shown using the identity symbol (default: '.'), gaps are shown using the gap symbol (default: '-'). Insertions are indicated by a gap in the parent sequence, deletions by a gap in the variant sequence. For substitutions, the actual sequence is shown. Increasing the region area (using the -e argument) allows to show more sequence context and to combine neighboring regions. The -aln.txt file is most useful for variants derived from a single parent (such as from insertion or targeted substitution libraries), as it allows to compare variants in discrete regions, which can be much larger in number and size when variants are derived from multiple parents (as in shuffled libraries).
309+
Example of -aln.txt file::
310+
311+
Alignment of variant sequences against their main parental sequence - single parent
312+
313+
239 251 262 271 381 443 449 458 491 498 506 587 699 703 707 729
314+
AAV2 VIT TYN SQS HYF NNG YYL NTPSGTT SRLQF TSADN SEYSWTG TKY N----------R QYT NYN SVN RYL
315+
LI-A ... ... .A. ... ... .F. .SEGSL. .S.G. .DGE. .DF.... ... .----------. ... ... ... ...
316+
LI-C ... ... .A. ... ... ... ....... ..... ..... ..F..P. .T. .----------. ... ... ... ...
317+
AAV2-sept-Y-F ... .F. ... .F. ... .F. ....... ..... ..... ..F.... ... .----------. .F. .F. ... .F.
318+
7m8 .T. ... ... ... ... ... ....... ..... ..... ....... ... .LALGETTRPA. ... ... .I. ...
319+
rAAV2-retro ... ... ... ... .D. ... ....... ..... ..... ....... ... .LADQDYTKTA. ... ... .I. ...
320+
321+
322+
588
323+
AAV9 Q-------A
324+
AAV-F .FVVGQSY.
325+
AAV-PHP.B .TLAVPFK.
326+
327+
328+
329+
Alignment of variant sequences against their main parental sequence - multiple parents
330+
331+
332+
124 134 161 167 178 187 197 204 232 261 270 309 326 339 371 409 448 455
333+
AAV2 RVL EPVK KAG ARK DADS PLGQP GLGTNT ATGSG STWMG S-SQS-GAS NHY KRLNF NDGTTT TVQ MVP FTFSY TNTPSG TTQSRLQF
334+
AAV2i8 ... .... ... ... .... ..... ...... ..... ..... .-...-... ... ..... ...... ... ... ..... ...... ........
335+
AAV-DJ .L. .AA. ... ... .... .I.E. .V.SL. .A.G. ..... .N.T.G.S. .A. ...S. .E..K. .I. .I. .Q.T. .Q.TG. .NTQT.G.
336+
NP84 ... .... .T. .K. .SE. ...E. ...... ..... .Q.L. .-...-... ... .K.S. ...... ... ... ..... ...... ........
337+
338+
464 531 584 655 661 704 712
339+
AAV2 QAGASDIRDQSRN EKF QRGNRQAA ANPST FSAAKFAS YNKSVNV FTVDTNG
340+
AAV2i8 ............. ... .QQ.TAP. ..... ........ ....... .......
341+
AAV-DJ .G.PNTMAN.AK. ... ........ .D.P. .NQS.LN. .Y..TS. .A.N.E.
342+
NP84 ............. .E. .G...... ..... ........ ....... .......
343+
344+
345+
1 12 29 33 49 54 59 65 75 101 114 580
346+
AAV5 MSFVDHPP E-EVGEGLREFLGLEAG PKP PNQQHQDQAR YNY PGN DRG NRADEVARE DISYNEQLEAG EKLADD GKA PAT
347+
AAV2.5T .AADGYL. .DTLS..I.QWWK.KP. .P. .AER.K.DS. .K. .F. .K. .E..AA.L. .KA.DR..DS. .R.KE. .R. .T.
348+
349+
350+
13 20 28 66 80 91 104 124 134 147 151 157 162 168 179 188 200 205 211 233 342 532 726
351+
AAV8 DNL REWWAL GAPKPKANQQKQDDGR NAA DQQLQAG LRY LQE RVL EGA EPS QRSP STG KKG ARK DSE PLG GPNT AAG PMA STW TIQ DEE PRP
352+
OLIG001 .T. .Q..K. .P.P..PAERHK..S. .E. .R..DS. .K. .K. .L. .A. .Q. .-E. .S. .T. .K. .T. .I. .SL. .S. .V. .Q. .V. .K. .H.
353+
354+
736
355+
AAV8 RNL
356+
OLIG001 .P.
357+
358+
359+
23 30 37 55 91 104 124 313 326 341 415 448 482 490
360+
AAV9 WAL PQP QHQDNAR PGN LKY LKE RLL LNF TDNNGVK TVQ YEFENV SKTINGSG-QNQQTLKFSVAGPSNMAVQGRNYIP PSY STTVTQN
361+
SCH2 .D. .K. .K..DG. .F. .R. .Q. .V. .S. .Q.E.T. .I. .T..D. .R.NTP..TTT.SR.Q..Q..A.DIRD.S..WL. .C. .K.SAD.
362+
SCH9 .D. .K. .K..DG. .F. .R. .Q. .V. .S. .Q.E.T. .I. ...... ........-......................WL. .C. .K.SAD.
363+
364+
500 514 528 536 547 554 561 566 575
365+
AAV9 EFAWPGASSWAL RNSLMN KEGEDRF PLSGSL GTGRDN DADK TNE IKT ESYGQVATNHQSAQAQAQTGWVQNQGIL
366+
SCH2 .YS.T..TKYH. .D..V. .DD.EK. .Q..V. .SEKT. .IE. .D. .R. .Q..S.S..L.RGNR..A.AD.NT..V.
367+
SCH9 .YS.T..TKYH. .D..V. .DD.EK. .Q..V. .SEKT. .IE. .D. .R. .Q..S.S..L.RGNR..A.AD.NT..V.
227368

228369
|
229370
Examples
124 KB
Loading

docs/_build/html/_static/SCH9.png

126 KB
Loading

docs/_build/html/_static/stats.png

47 KB
Loading

0 commit comments

Comments
 (0)