Debian Codegraph @

dnotes

raw
1
2 ------
3 Wed May 9 13:54:04 BST 2007
4
5 Dirk Kostewa:
6 overblend for electron density?
7
8 -----
9
10 trying to run render without render in path:
11
12 rendering ray trace number: 0
13 rendering ray trace number: 1
14 rendering ray trace number: 2
15 rendering ray trace number: 3
16 done raytrace.
17 calling render...
18 calling display...
19 ((safe_scheme_command) Error in proc: key: system-error args: (execlp ~A (No such file or directory) (..... scm_catch done
20 scm_catch returns: 20152
21
22 2)))
23 ..... scm_catch done
24 scm_catch returns: #<unspecified>
25
26 Xlib: unexpected async reply (sequence 0xb9f30)!
27 Xlib: unexpected async reply (sequence 0xb9f4a)!
28 Xlib: unexpected async reply (sequence 0xb9f4b)!
29 Xlib: unexpected async reply (sequence 0xba0b6)!
30 Xlib: unexpected async reply (sequence 0xba0f1)!
31 Xlib: unexpected async reply (sequence 0xba0f3)!
32 lt-coot-real: Fatal IO error 14 (Bad address) on X server :0.0.
33
34 Some deprecated features have been used. Set the environment
35 variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
36 program to get more information. Set it to "no" to suppress
37 this message.
38 ObjectCache: Leaked 0002 refs to <P 31 2" Nuvw = ( 240, 240, 132)>
39 ObjectCache: Leaked 0002 refs to <P 31 2">
40 47.510u 14.504s 12:56.93 7.9% 0+0k 0+0io 160pf+0w
41
42
43 interesting!
44
45
46 -----
47 Wed May 16 09:27:21 BST 2007
48
49 User pickable atoms:
50
51 a function that registers interest in n atom selections and a
52 function to call when it has them. We test in
53 graphics-info-defines whether such a function exists and has
54 all the number of picks that it needs, if it does and it
55 doesn't then collect them and pass them on when it has all
56 it needs. When the function has been called delete it from
57 the queue/vector of such functions (umm, better do the
58 deletion just before the function call so that if there is an
59 error in the scm function we don't jump away from the function
60 deletion part).
61
62 ----
63 Thu May 17 12:44:56 BST 2007
64
65 INFO::
66 use gtk_widget_get_name(widget) to find out about what the
67 name of the widget is.
68
69
70 -----
71 Fri Jun 15 13:09:53 BST 2007
72
73 [email protected]:
74
75 In real space refinement, don't move the atoms with zero occ.
76
77 ------
78
79 INFO::
80
81 old guile convert to string:
82 std::string name_target = SCM_STRING_CHARS(name_target_scm);
83 new guile convert to string:
84 std::string name_target = scm_to_locale_string(name_target_scm);
85
86 all guile convert from string:
87 SCM mess = scm_makfrom0str(a_string.c_str());
88
89
90 ------
91 Fri Jul 6 13:24:43 BST 2007
92
93 compiling guile-1.8.1
94
95 prfx=$HOME/testg
96
97 ./configure --prefix=$prfx LDFLAGS=-L$prfx/lib CFLAGS="-g -I$prfx/include"
98
99 ./configure --prefix=/lmb/wear/emsley/testg LDFLAGS=-L/lmb/wear/emsley/testg/lib CFLAGS='-O -I/lmb/wear/emsley/testg/include'
100
101 i.e. NO DEBUGGING!
102
103
104 cycle ~/compile/g/guile-gtk-2.0> ./configure --prefix=/lmb/wear/emsley/guile-1.8.1 --without-gtkgl
105
106 make
107 make install
108
109 -
110 in guile-gtk-2.0's gdk-glue.c add
111
112 #define PANGO_PIXELS_CEIL(d) (((int)(d) + 1023) >> 10)
113 #define PANGO_PIXELS_FLOOR(d) (((int)(d)) >> 10)
114
115 -
116 also need goosh:
117 ./configure --prefix=/lmb/wear/emsley/guile-1.8.1
118 make install
119 and guile-gui:
120 ./configure --prefix=/lmb/wear/emsley/guile-1.8.1
121 make install
122 and net-http:
123 ./configure --prefix=/lmb/wear/emsley/guile-1.8.1
124 make install
125
126
127 ----
128 Mon Jul 16 13:09:11 BST 2007
129
130 if the first and last non-blank characters read from the scripting
131 window are not ( and ) then add them. So
132
133 read-pdb "test.pdb"
134
135 will "work".
136
137 -----
138
139 Here's a description of the PIR format:
140
141 http://www.cmbi.kun.nl/bioinf/tools/crab_pir.html
142
143 ----
144 Tue Jul 17 13:11:20 BST 2007
145
146 Files that end in .fcf or .cif should not *first* be read as
147 MTZ files. Do the sensible thing first.
148
149 ----
150 Mon Jul 16 23:18:03 BST 2007
151
152 in creating a GTK2 gl context:
153
154
155 > WARNING:: Can't enable stereo visual - falling back
156 > INFO:: Hardware stereo widget opened successfully
157 > INFO:: switch to hardware_stereo_mode succeeded
158
159 So in gl_extras():
160
161 We need a "stereo_successful" flag set before we get to saying
162 "Hardware stereo widget opened successfully"
163
164
165 -----
166 Wed Jul 18 09:09:16 BST 2007
167
168 Hydrogens naming problem with shelx.
169
170 Shelx calls hydrogens attached to ILE CG2 HG2A HG2B HG2C,
171 whereas refmac names are HG21 HG22 HG33.
172
173 There are lots of other problems like this.
174
175
176 ----
177 Sat Jul 21 10:25:29 MDT 2007
178
179 problem with libcootaneer lib dependency when building in gtk1
180 version.
181
182 * Don't see it any more.
183
184 -----
185 Wed Aug 1 19:48:19 BST 2007
186
187 How about an Env Var to specify where to read and write
188 startup files (state, history etc) so that you can run coot
189 cleanly from the Desktop.
190
191 Good idea. Bit tedious though?
192
193 -----
194 Wed Aug 1 22:55:35 BST 2007
195
196 Add Chiral Volume Outliers to some validation graph. Geometry?
197
198 ie. make the blocks big and blue (c.f. missing atoms)
199
200 Priority Low, but cute and maybe useful.
201
202 -----
203 Thu Aug 2 03:20:36 BST 2007
204
205 add a test for overlap-ligands - quite tricky.
206
207 ----
208 Thu Aug 2 14:43:06 BST 2007
209
210 unexpanded symmetry labels have 0-indexed symm labels. It
211 should be 1-indexed - Steven Sheriff
212
213 -----
214 Thu Aug 2 14:47:07 BST 2007
215
216 How about some flexibility in file name output?
217
218 How difficult is it to create (or, maybe, How would one go about
219 creating a) naming system for output PDB files that is consonant
220 with my usage? Currently COOT gives a default of
221 input_file_name-coot-0.pdb. I typically name my files
222 model_0i.pdb for the file out of refinement (before ligand, hence
223 the zero -- yes I do it too ;-) ) and my first output file as
224 model_0o1.pdb. If I do some "editing" outside of COOT, I might
225 then create model_0i2.pdb and if I make some changes inside COOT,
226 the output file would be model_0o2.pdb, etc. After the next
227 cycle of refinement, I would come in with model_1i.pdb, etc.
228
229 -- Steven Sheriff
230
231
232
233 -----
234 Sat Aug 4 14:36:06 BST 2007
235
236 how about adding assign-pir-sequence to the state file?
237 Problem is we don't store raw input, just the decoded sequence.
238 We need both.
239 something should be std::pair<std::string, std::string (orig, seq)
240 not just std::string
241
242 Hmm... perhaps a simple class then, because we need a flag to
243 say that this molecule has a sequence assigned to it.
244
245
246 ------
247 Fri Aug 10 12:56:36 BST 2007
248
249 add a side chain flip test.
250
251 check that the OE1 was where the OE2 was
252 and vica versa.
253
254 also test torsions from running correct-nomenclature
255
256
257 -----
258 Mon Aug 13 15:43:54 BST 2007
259
260 Add a test
261
262 Use multiple wiggle ligands. Delete stuff and do it again.
263
264 -----
265 Mon Aug 13 16:52:03 BST 2007
266
267 fit SAH into 2an3.
268
269 It's really slow to converge. Why?
270
271
272 -------
273 Mon Aug 20 18:08:16 BST 2007
274
275 Add lots of tests for the space groups of shelx .res files
276 using show-spacegroup
277
278
279 ----
280 Sun Aug 5 00:29:27 BST 2007
281
282 Revisit the --as-needed patch from Donnie Berkholz
283
284 Try to apply (bits of) it and see what happens - problems on
285 feisty, I guess
286
287 ---
288 Sun Aug 5 00:30:26 BST 2007
289
290 The X11 libs dependencies need to be revisited - I had to install
291 some stuff to compile - they should be tested for in configure.
292
293 Try with a gutsy pre-release?
294
295 ----
296 Sun Aug 5 00:32:03 BST 2007
297
298 The Coot FAQ should be written as a texi (article?) document, so
299 that it has an index and toc.
300
301 ----
302 Sat Aug 11 13:15:35 BST 2007
303
304 Icons
305 http://jimmac.musichall.cz/icons.php
306
307 Think about icons for info dialog and the like.
308
309 ----
310 Sat Aug 11 15:51:42 BST 2007
311
312 Open Clip Art Notes:
313
314 world in connect-to-world is "cartoon globe" by lunanaut
315
316 crispy computer mouse for scroll wheel.
317
318 -----
319
320 http://www.itbusiness.ca/it/client/en/home/News.asp?id=44529&cid=11
321
322 The Novell SUSE Linux subscription model is considerably less painful,
323 Chevalier argues, because it doesn't hit the capital expense budget
324 and it can often be considered an operational expense, which is better
325 from a tax perspective.
326
327
328 --------
329
330 Tue Aug 21 14:26:00 BST 2007
331
332 Thoughts for a tutorial or some such.
333
334 "Assessing structure quality with Coot"
335 (in response to EJD's comments on CCP4bb 2hr0)
336
337 Structure with 0 occupancy
338
339 What is a good (bad) Ramachandran?
340
341 What is a bad Kleywegt plot?
342
343 Good (bad) geometry graph.
344
345 Chiral volume outliers
346
347 Cis-peptides, planar peptide restraints
348
349 Good density fit graph (and how to scale it)
350
351 Nomenclature errors in rotamers - and how to fix them
352 Missing atoms
353
354 How to use with Molprobity (web output and local exes)
355
356 B-factor variance. What's good and bad.
357
358 Priority: Low
359
360
361 -----
362 Tue Aug 21 14:44:14 BST 2007
363
364 Note to self:
365
366 B factor average, variance vs resolution for each residue type.
367
368 Probably best to have a shell script to provide the pdb files
369
370 c++ program reads pdbs and does b-factor analysis,
371
372 on completion appends to files "ARG.tab" "ASP.tab" etc
373 with average and variance for each residue of that type in
374 that pdb file. Also the resolution.
375
376 only do 1 chain of each pdb file.
377
378 use Coot libs - make it a Coot program.
379
380
381 Priority: Low
382
383
384 -------
385 Tue Aug 21 16:50:52 BST 2007
386
387 ionic waters:
388
389 http://biochem.wustl.edu/~enrico/
390
391 e.g. WASP
392 Reference: Nayal, M., & Di Cera, E. (1996) J. Mol. Biol. 256: 228-234
393
394 Nayal M and Di Cera E. Valence screening of water in protein
395 crystals reveals potential Na+ binding sites. J Mol Biol 256:
396 228–234, 1996
397
398 Looks straightforward. Except symmetry must be used to find neighbours.
399
400 GSoC project?
401
402
403 -----
404 Tue Aug 21 18:15:47 BST 2007
405
406 blender's iksolver for inverse kinemetic (loop fitting).
407 Source code not obviously in 2.44.
408
409 But see this
410 http://www.koders.com/cpp/fid45A6AC666E04B001C8A397CC9CEA3A46D801EB30.aspx?s=cdef%3aparser
411 Hmm.
412
413
414 ------
415 Fri Aug 24 15:40:17 BST 2007
416
417 electron_density_gradient_at_point() in simple-restraint.cc used
418 template type double. Would things be faster with a float?
419
420 clipper::Grad_orth<double>
421 coot::restraints_container_t::electron_density_gradient_at_point(const clipper::Coord_orth &ao);
422
423
424 ----
425 Thu Aug 30 10:15:37 BST 2007
426
427 From reading JED mail
428
429 Do some speed tests on regularizing with and without peptide plane restraints.
430
431
432 Interface to change the weight of the peptide plane restraint
433
434 Interface to turn on peptide plane restraints for refinement (or regularizing) only?
435
436 Allow the display of anisotropic atoms per molecule - from the
437 scripting layer at least.
438
439
440 -----
441 Fri Aug 31 16:28:42 BST 2007
442
443 Do a NCS ghosts for a blue map,
444
445 Do it again for the difference map.
446
447 Does it recalculate the NCS operators?
448
449 It shouldn't.
450
451
452 ------
453 Tue Aug 28 14:31:25 BST 2007
454
455 And if the display manager would automatically resize itself when
456 more objects are loaded, would be great.
457
458 Marko Hyvönen
459 Department of Biochemistry
460 University of Cambridge
461
462 Priority: Low, Difficulty: Medium.
463 A thing for GSoC.
464
465
466 -----
467 Tue Aug 28 14:48:50 BST 2007
468
469 http://blog.mithis.net/
470 lython and SchemePy
471
472 ------
473 From: Matthew Wilce <[email protected]>
474 To: [email protected]
475 Subject: Coot and polynucleotide
476 Date: Tue, 17 May 2005 10:39:44 +1000 (01:39 BST)
477
478 Functionality for both RNA and DNA
479
480 the ability to change RNA into DNA and visa versa
481
482 mutation of bases
483
484 rotamer flipping (manual and automated)
485
486 fragment library for each nucleotide
487
488 a version of baton would be useful - either base to base and/or
489 phosphate to phosphate
490
491 o is that still needed?
492
493 insertion of nucleotides
494
495 addition of a nucleotide at 3' or 5' end of polynucleotide
496
497 o Done?
498
499 -----
500
501 Venki Ramakrishnan:
502
503 "CA mode" for nucleic acids should draw a P and C1' trace.
504
505 -----
506
507 Write a FAQ for sucking of metal ligands into metal density.
508
509 -----
510
511 make dist runs a scsh script. configure should check for scsh?
512 (not easy to convert to guile)
513
514
515 -----
516 Sun Sep 16 00:33:44 BST 2007
517
518 Suggestion on the coot list in the last week:
519
520 o Better algorithm to find picked atoms (prefer atoms at the front).
521
522 * Done.
523
524 o "Reverse" chi angle fragment tail/dog
525
526 * Done.
527
528 o Cache libcheck results for faster "Get Monomer"
529
530 * Done.
531
532 -----
533 Sun Sep 16 01:25:09 BST 2007
534
535
536 texi2html ../../coot/doc/user-manual.texi
537 *** Undefined node of menu_entry (Dictionary): * Dictionary::
538 *** Undefined node of menu_entry (Planar Peptide Restraints): * Planar Peptide Restraints::
539 *** Undefined node of menu_entry (The <TT>UNK</TT> residue type): * The @t{UNK} residue type::
540
541 Priority: Medium: Difficulty: Low
542
543 ----
544 Sun Sep 16 12:31:03 BST 2007
545
546 refine-zone, regularize-zone, auto-refine-zone all ignore the
547 alt-conf specifier. They should not.
548
549 Priority: Medium.
550
551 ------
552 Wed Sep 19 17:20:41 BST 2007
553
554 doing a flexible ligand fit in a ligands without flexible
555 bonds - e.g. SO4 gives non-optimal message ("Did you forget to
556 read the dictionary?").
557
558 -----
559 Tue Sep 18 12:01:13 BST 2007
560
561 Interesting/useful?
562 OpenBabel:
563 http://openbabel.sourceforge.net/wiki/Main_Page
564
565 pygtk-openbabel - A PyGTK frontend to OpenBabel A PyGTK
566 frontend to OpenBabel that utilizes the power of
567 python. Included is a graphical frontend to PubChem
568
569 PubChem:
570 http://pubchem.ncbi.nlm.nih.gov/
571
572
573 Priority: Medium: Difficulty: Low
574
575 ----
576 Tue Sep 18 16:12:29 BST 2007
577
578 Mischa
579
580 if pick centering on an atom fails, can you fall back to test
581 against having clicked on the intermediate atoms?
582
583 Indeed. Why not.
584
585
586 -----
587 Fri Sep 21 18:17:52 BST 2007
588
589
590 When there is a sytax error in ~/.coot, is it obvious what has
591 happened?
592
593
594 -----
595
596 RSR when map is ambiguous cancels rsr. It should not.
597
598 ----
599 Wed Sep 26 13:12:24 BST 2007
600
601
602 Regularize residue A 11, 2izq
603
604 Crashes in recently touched (well, the replace type has been
605 changed) replace_coords()
606
607 (gdb) where
608 #0 molecule_class_info_t::replace_coords (this=0x87bfc7c, asc=@0x866b518, change_altconf_occs_flag=false)
609 at ../../coot/src/molecule-class-info.cc:4564
610 #1 0x080c4a9f in graphics_info_t::accept_moving_atoms (this=0xbf8b8463) at ../../coot/src/graphics-info.cc:1364
611 #2 0x0815d612 in accept_regularizement () at ../../coot/src/c-interface-build.cc:5093
612 #3 0x08218ae2 in on_accept_reject_refinement_accept_button_clicked (button=0x90a88e8, user_data=0x0)
613 at ../../coot/src/callbacks.c:2283
614 #4 0xb6e009d9 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
615 #5 0xb6df362b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
616 #6 0xb6e04103 in ?? () from /usr/lib/libgobject-2.0.so.0
617
618
619 ----
620 Wed Sep 26 14:52:14 BST 2007
621
622 read junk*.pdb in order (starting at junk.pdb) and it crashes on junk2.
623
624 note that model 0 is not a valid model.
625
626
627
628 -------
629
630
631 A168 on 1A0F fails to properly find the right rotamer, even
632 though we select the rotamer by hand and do rigid body refine
633 it works fine.
634
635 Bug?
636
637
638 -------
639
640 Residue 13 of 1UBQ fails to Rigid body refine after chi1 was
641 rotated by 180.
642
643 Bug?
644
645 In fact, it looks like nothing with Rigid body refine. Hmmm!
646
647 ------
648
649 What about interactions with PISA?
650
651 * Scheduled for 0.6.
652
653 ------
654
655
656
657 Peter's talk:
658
659 need to set the ccp4 project from the start script.
660
661 - Done. Needs testing. Also, the correct ccp4 project should
662 selected on creation of file-selection. This may be a bit harder.
663
664 -----
665
666 Frank:
667
668 add test peptide flips cf a database
669
670 This is quite important.
671
672 -----
673 Sat Sep 29 20:04:56 BST 2007
674
675 [email protected]
676
677 Also, when I reverse direction of a chain, if I use Reverse
678 Direction followed by Ca Zone-> Mainchain, a few CAs will remain
679 without a chain. If I delete the preexisting residues and try to
680 Rotate/Translate them myself they are automatically reversed back
681 to their original direction once I try to Regularize Zone. Is
682 there a reason for this or a way to overwrite or go around this?
683
684
685 ----
686 Thu Sep 27 09:27:26 BST 2007
687
688 Ramachandran plot from atom selection (no need for a gui for
689 this just yet).
690
691 ---
692 Thu Sep 27 09:30:20 BST 2007
693
694 John Berrisford complains about OXT refinement.
695
696 Make sure Coot properly refines OXT at some stage (by
697 correctly handling modifications).
698
699 -----
700 Tue Oct 2 09:05:25 BST 2007
701
702 A must-do for 1.0:
703
704 *****
705
706 Put backrub into minimizer for auto-fit-rotamer - as an
707 alternative.
708
709 *****
710 ----
711 Wed Oct 3 12:23:09 BST 2007
712
713
714 NCS Ligands
715
716 Make the NCS ghost matrices available at the scripting layer
717
718 (let ((rtop ((get-ncs-matrix imol "A" "B"))))
719
720 ;; now apply rtop to the ligand "C" in the "A" pocket to
721 ;; make "D" in the "B" pocket
722
723 ----
724 Wed Oct 3 18:59:34 BST 2007
725
726 write a triv app with latest glade with icons and libglade
727
728 ----
729 Sat Oct 6 08:04:36 BST 2007
730
731
732 pkg-config libglade-2.0 --cflags
733
734 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
735
736 pkg-config libglade-2.0 --libs
737
738 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
739
740
741 ----
742 Tue Oct 9 22:19:02 BST 2007
743
744 GSOC project?
745 nice graphic output of SSM results.
746 hari jayaram <[email protected]>
747
748
749 -----
750 Thu Oct 11 23:20:47 BST 2007
751
752 convert axes.scm to axes.py for Paolo.
753
754
755 ----
756 Mon Oct 29 09:36:34 GMT 2007
757
758 Clemens:
759
760 Add function that does
761 copy_residue_range_from_ncs_master_to_others(int imol, const char *master_chain_id,
762 int residue_range_start, int residue_range_end)
763 but to a specific chain only:
764
765 i.e.:
766
767 copy_residue_range_from_ncs_master_to_chain(int imol, const char *target_chain_id,
768 int residue_range_start, int residue_range_end)
769
770 which looks up the master_chain_id from the ghost of the target_chain_id
771
772
773 ------
774
775 I would like to report a bug in the 0.4 pre-release. In the clash
776 panel generated by probe, the vertical bar doesn't work anymore.
777 Could you fix it?n
778
779 Jianghai
780
781
782 ------
783
784
785 I don't need anything, but it said I should send this to you.
786
787 Thanks,
788 Adam Okerlund
789
790 ----------------------------------------------
791
792 Using host libthread_db library "/lib64/libthread_db.so.1".
793 Core was generated by `/usr/local/coot/bin/coot-real'.
794 Program terminated with signal 11, Segmentation fault.
795 #0 0x081acbad in lookup_widget (widget=0x33203a66,
796 widget_name=0x84a151c "geometry_distance_togglebutton") at support.c:33
797 in support.c
798 #0 0x081acbad in lookup_widget (widget=0x33203a66,
799 widget_name=0x84a151c "geometry_distance_togglebutton") at support.c:33
800 #1 0x080d31ec in graphics_info_t::unset_geometry_dialog_distance_togglebutton
801 (this=0xffc0e7cb) at graphics-info.cc:5328
802 #2 0x0811fdda in graphics_info_t::check_if_in_geometry_range_defines (
803 this=0xffc0e7cb, event=0x8662118) at graphics-info-defines.cc:393
804 #3 0x081232c6 in graphics_info_t::check_if_in_range_defines (this=0xffc0e7cb,
805 event=0x8662118, state=@0xffc0e7bc) at graphics-info-defines.cc:201
806 #4 0x081aab02 in glarea_button_press (widget=0xab91428, event=0x8662118)
807 at globjects.cc:3344
808 #5 0x55f24f64 in gtk_marshal_BOOL__POINTER (object=0xab91428,
809 func=0x81aa812 ,
810 func_data=0x0, args=0xffc0e938) at gtkmarshal.c:28
811 #6 0x55f594d2 in gtk_handlers_run (handlers=0xc4cc200, signal=0xffc0e8b8,
812 object=0xab91428, params=0xffc0e938, after=0) at gtksignal.c:1917
813 #7 0x55f5bba3 in gtk_signal_real_emit (object=) at gtksignal.c:1477
814 #8 0x55f5c1e8 in gtk_signal_emit (object=) at gtksignal.c:552
815 #9 0x55f975a1 in gtk_widget_event (widget=0xab91428, event=0x8662118)
816 at gtkwidget.c:2864
817 #10 0x55f230b8 in gtk_propagate_event (widget=0xab91428, event=0x8662118)
818 at gtkmain.c:1378
819 #11 0x55f241ee in gtk_main_do_event (event=0x8662118) at gtkmain.c:803
820 #12 0x55fdf71b in gdk_event_dispatch (source_data=0x0,
821 current_time=0xffc0ed50, user_data=0x0) at gdkevents.c:2139
822 #13 0x56012bc9 in g_main_dispatch (dispatch_time=0xffc0ed50) at gmain.c:656
823 #14 0x5601345d in g_main_iterate (block=) at gmain.c:877
824 #15 0x5601365f in g_main_run (loop=0x8a054e0) at gmain.c:935
825 #16 0x55f2463f in gtk_main () at gtkmain.c:524
826 #17 0x080d233b in c_inner_main (closure=0x0, argc=1, argv=0xffc0f144)
827 at c-inner-main.c:217
828 #18 0x556258c0 in invoke_main_func () from /usr/local/coot/lib/libguile.so.12
829 #19 0x5562586d in scm_boot_guile_1 () from /usr/local/coot/lib/libguile.so.12
830 #20 0x5562556c in scm_boot_guile () from /usr/local/coot/lib/libguile.so.12
831 #21 0x080d2018 in c_wrapper_scm_boot_guile (argc=1, argv=0xffc0f144)
832 at c-inner-main.c:237
833 #22 0x080cd46e in main (argc=) at main.cc:402
834 Current language: auto; currently c
835
836
837 -----
838 Fri Oct 19 21:46:34 BST 2007
839
840 Message from EJD.
841
842 Check that the skeleton colour works correctly.
843
844 -----
845 Thu Oct 25 11:09:07 EDT 2007
846
847 reading in a minimal state file:
848
849 Bad view quaternion
850
851 ----
852 Thu Oct 25 18:23:31 BST 2007
853
854 Can we fit the helix at residue 122 in the CSHL Au Lysozyme
855 dataset?
856
857 -----
858 Tue Oct 30 15:24:25 GMT 2007
859
860 crash from EJD, not much to report:
861
862
863 #4 0x089626e6 in gtk_canvas_re_unrealize (item=0x1b5ad798) at gtk-canvas-rect-ellipse.c:598
864 #5 0x0895a74d in gtk_canvas_group_unrealize (item=0x1a68e428) at gtk-canvas.c:1796
865 #6 0x0895bb39 in gtk_canvas_unrealize (widget=0x1b330028) at gtk-canvas.c:2568
866
867 validation graph open, then molecule closed?
868
869 validation graph open, and graph is updated? residue deleted?
870 residue generated (add terminal residue) then graph is asked to be
871 updated?
872
873
874 ----
875 Tue Oct 30 15:49:12 GMT 2007
876
877 On starting up coot, if imol_refinement_map() is undefined, then
878 set insensitive the map fitting functions (e.g. refine zone,
879 autofit rotamer).
880
881 When it is set, we can activate those buttons (and menu items?).
882
883
884 ----
885 Tue Oct 30 15:52:39 GMT 2007
886
887 CSHL CRASH:
888
889 on calculating a skeleton after deleting a map (and skeleton) and
890 reading in a new map.
891
892
893 ----
894 Tue Oct 30 15:53:49 GMT 2007
895
896 Remove probability limit when using Richardson Rotamers.
897
898 * Done.
899
900 ----
901 Tue Oct 30 15:54:27 GMT 2007
902
903 Editing chi angles on a reduced pdb file failed to rotate the
904 hydrogens (maybe a dictionary/version 3.0 problem).
905
906 Also (set-find-hydrogen-torsions 1) fails. Same cause?
907
908 ---
909 Mon Nov 5 11:49:30 GMT 2007
910
911 Maria Solà Vilarrubias:
912
913 I want to display ILE, LEU, VAL residues with just sidechains (in a
914 different colour), the rest with Mainchain CAs.
915
916
917 ----
918 Tue Nov 13 23:30:57 GMT 2007
919
920 what is read_number in cif reading for.
921
922 try to get rid of it.
923
924 examine read_number_in usage here:
925
926 coot::protein_geometry::init_refmac_mon_lib(std::string ciffilename, int read_number_in)
927
928
929 ----
930 Tue Nov 13 23:42:21 GMT 2007
931
932 coot --recover
933
934 reads history file (history file needs to be written when commands
935 executed - not at exit time) to get maps.
936
937 reads most recent saved files in coot-backup.
938
939 recover those written < 5 mins ago (or some such).
940
941
942 ----
943 Tue Nov 13 23:30:57 GMT 2007
944
945 Gregory C. Benison NMR program:
946 http://oregonstate.edu/~benisong/software/burrow-owl/
947 now at
948 http://sourceforge.net/projects/burrow-owl
949
950 -----
951 Fri Nov 16 20:23:19 GMT 2007
952
953 How do I change my residue to have insertion code and the following
954 residues to have -1 offset and it all to be joined up?
955
956 e.g.:
957 (change-residue-number 0 "C" 86 "" 85 "A")
958 Which is fine, execpt I can't then move C/85A to the A chain.
959
960
961 ----
962 Sat Nov 17 12:14:46 GMT 2007
963
964 phosphorylate-active-residue:
965
966 what about phospholysine?
967
968 ----
969 Sun Nov 18 16:47:57 GMT 2007
970
971 update Map Transformation example in user-manual
972
973
974 -----
975 Thu Nov 22 16:28:41 GMT 2007
976
977 EJD crash:
978
979 #0 0x0844eb3a in molecule_class_info_t::intelligent_this_residue_mmdb_atom ()
980 #1 0x0834be67 in graphics_info_t::on_go_to_atom_residue_tree_selection_changed_gtk1 ()
981 #2 0x0837f6c8 in on_go_to_atom_atom_list_selection_changed_gtk1 ()
982 #3 0x089d2c26 in gtk_marshal_NONE__POINTER_INT_INT ()
983 #4 0x08a0605b in gtk_handlers_run ()
984 #5 0x08a0520b in gtk_signal_real_emit ()
985 #6 0x08a02b07 in gtk_signal_emit ()
986 #7 0x089d2a80 in gtk_marshal_NONE ()
987 #8 0x08a05118 in gtk_signal_real_emit ()
988 #9 0x08a02b07 in gtk_signal_emit ()
989 #10 0x08a2dba0 in gtk_tree_select_item ()
990 #11 0x08a2c571 in gtk_tree_button_release ()
991 #12 0x0c520378 in ?? ()
992 #13 0x00000000 in ?? ()
993
994
995
996 ------
997 texi2html ../../coot/doc/user-manual.texi
998 *** Undefined node of menu_entry (Dictionary): * Dictionary::
999 *** Undefined node of menu_entry (Planar Peptide Restraints): * Planar Peptide Restraints::
1000 *** Undefined node of menu_entry (The <TT>UNK</TT> residue type): * The @t{UNK} residue type::
1001 mkdir -p chapters ; \
1002 cd chapters ; \
1003 splitstr='-split_chapter' ; \
1004 texi2html --version ; \
1005 if [ $? = 0 ] ; then splitstr='-split=chapter' ; fi ; \
1006 texi2html $splitstr ../../../coot/doc/user-manual.texi ; \
1007 cd ..
1008 1.64
1009 *** Undefined node of menu_entry (Dictionary): * Dictionary::
1010 *** Undefined node of menu_entry (Planar Peptide Restraints): * Planar Peptide Restraints::
1011 *** Undefined node of menu_entry (The <TT>UNK</TT> residue type): * The @t{UNK} residue type::
1012
1013
1014 ----
1015 Wed Dec 5 14:13:31 GMT 2007
1016
1017 Plans for multi-stick representations
1018
1019 class line_representation {
1020 representation_type { atom_bond, CA, CA+ligand etc }
1021 bonds_container
1022 displayed_flag
1023 bond_thickness
1024 colour_rotation
1025 atom_selection_description { residue_type, residue_range_type, chain_type
1026 chain_id
1027 resno_1
1028 resno_2;
1029 insode_1;
1030 insode_2;
1031 }
1032 };
1033
1034 We shall use a std::vector<line_representation> line_rep_vec;
1035 New items are pushed back. You can't delete an item from this
1036 vector, mearly not display it (the handles are passed back - and
1037 we don't want them to go out of date).
1038
1039 Particular alt confs cannot be selected for.
1040
1041 Questions: How shall we create new representations for this molecule?
1042
1043 // return
1044 int add_representation imol representation-spec
1045
1046 // used by GUI
1047 undisplay_representation imol respresentation-number
1048
1049 undisplay_representation imol residue_spec
1050 which needs to be unambiguated. Test in this order:
1051
1052 o Was there a line_representation that has that residue_spec?
1053 o Was there a residue_range line_representation that encompassed that residue_spec?
1054 o Was that residue in a chain that has a line_representation?
1055
1056
1057 ----
1058
1059 Tested/Not Tested:
1060
1061 green_box on rama plot, on edit backbone angles crashed because
1062 canvas items were not being generated properly (not assigned to a
1063 canvas item before being pushed back into vector).
1064
1065 -----
1066 Wed Dec 12 13:20:33 GMT 2007
1067
1068 Make nice images for nucleic acid base chooser.
1069
1070 The buttons don't need to be small.
1071
1072
1073 -----
1074 Thu Dec 13 17:48:24 GMT 2007
1075
1076 write a test for fix-nomenclature-errors
1077
1078 -----
1079 Sat Dec 15 12:18:46 GMT 2007
1080
1081 1OHY is good for displaying NCS skipping NCS jumping
1082
1083 as is 2x2h
1084
1085 79, 137
1086
1087 as is 3vhn 3fold with some sugar
1088
1089 -----
1090 Sat Dec 15 13:12:08 GMT 2007
1091
1092 Randy Read:
1093
1094 (copy-residue-range-from-ncs-master-to-others 0 "A" 1 5) needs to
1095 work if residues 1 to 5 are not in the B and C chains (because
1096 I've just built them in the A chain).
1097
1098 * Done.
1099
1100 ----
1101 Sat Dec 15 13:13:45 GMT 2007
1102
1103 Randy Read:
1104
1105 I want a tool for applying symmetry operator to a fragment
1106
1107 How about this then:
1108
1109 Other Modelling Tools -> Apply Symmetry to fragment
1110 [click on a atom]
1111
1112 Coot finds fragment by selecting residues that have contiguous residue
1113 numbering (does minimol do that?)
1114
1115 -> Intermediate atoms
1116
1117 Now pop up a gui
1118
1119 A box of symmetry ops:
1120 X, Y, Z,
1121 -X+1/2, -Y, Z+1/2
1122 (etc)
1123
1124 X: - +
1125 Y: - +
1126 Z: - +
1127
1128 + "I'm feeling lucky", which should try to find the best packing
1129 itself (somehow)
1130
1131 ----
1132 Mon Dec 17 12:50:36 GMT 2007
1133
1134 save_stat_file_name() returns a char * - yeuch. It should return a SCM
1135 and be renamend save_stat_file_name_scm(). Also save_stat_file_name_py().
1136
1137 Priority: Low
1138 Difficulty: Trivial
1139
1140 * Done.
1141
1142 -----
1143 Mon Dec 17 16:52:20 GMT 2007
1144
1145 Steven Sheriff:
1146
1147 On calculating blobs from a difference map:
1148
1149 10.44 (10.44 sigma) at xyz = ( 22.62, 4.526, 70.71)
1150 10.40 (10.40 sigma) at xyz = ( 22.35, 3.493, 70.95) # 1.06 A separated from one above;
1151 10.31 (10.31 sigma) at xyz = ( 22.6, 4.587, 70.69) # # 0.07 A separated from two above; 1.15 A separated from one above
1152
1153 "My view is that I don't want to see all 3 of these in the list, one would do. "
1154
1155 One can see something similar if you peak search the difference
1156 map, I think. Tweak the difference map algorithm to filter out
1157 sub-sites that are close to already found sites.
1158 Weighted average, maybe?
1159
1160
1161 ------
1162 Tue Dec 18 13:41:58 GMT 2007
1163
1164 in
1165 void
1166 graphics_info_t::execute_rotate_translate_ready() { // manual movement
1167
1168 CAtom *atom1 = molecules[imol_rot_trans_object].atom_sel.atom_selection[rot_trans_atom_index_1];
1169 CAtom *atom2 = molecules[imol_rot_trans_object].atom_sel.atom_selection[rot_trans_atom_index_2];
1170
1171 Which can be a crash of atom1 is deleted between its click and the second rt-zone click.
1172 Hmm...
1173
1174 ----
1175 Tue Dec 18 16:45:06 GMT 2007
1176
1177
1178 fill_close_option_menu_with_all_molecule_options() does not use
1179 GINT_TO_POINTER(). It should.
1180
1181
1182 ----
1183 Tue Dec 18 16:46:52 GMT 2007
1184
1185 separate out the widget parts of c-interface.h into
1186 c-interface-gui.hh (or should it be .h? - Yes I think it should be
1187 because those functions will also be called by callbacks.c)
1188
1189 -----
1190 Thu Dec 20 20:25:45 GMT 2007
1191
1192 JED: What I want is function to remove alt confs of atoms in a
1193 residue which only have one atom of that type in the residue.
1194 And set the occupancy to 1 at the same time.
1195
1196 Give me a key binding to run this function on the active
1197 residue. And re-display the residue-info dialog.
1198
1199 * Done: (sanitise-alt-confs)
1200
1201 ---
1202 Fri Dec 21 13:51:31 GMT 200
1203
1204 c-interface.cc:
1205 * Copyright 2004, 2005, 2006, 2007 by Bernhard Lohkamp
1206 coot_utils.py:
1207 # Copyright 2004, 2005, 2006, 2007 by Bernhard Lohkamp
1208
1209 Remove that - unless there is good reason not to.
1210
1211 -----
1212 Fri Dec 21 14:08:25 GMT 2007
1213
1214 Bill report of starting up with GUI, but no scripting window available:
1215
1216
1217
1218
1219 Latest coot, I am getting this when I try to open the python scripting
1220 window (used to work):
1221
1222 Traceback (most recent call last):
1223 File "<string>", line 1, in <module>
1224 NameError: name 'coot_gui' is not defined
1225
1226
1227 I think everyting loaded:
1228
1229 DEBUG:: stating pydirectory /sw/share/coot/python
1230 INFO:: loading coot.py from /sw/share/coot/python/coot.py
1231 Running python script /sw/share/coot/python/coot.py
1232 INFO:: coot.py loaded
1233 INFO loading coot python modules
1234 Running python script /sw/share/coot/python/coot_load_modules.py
1235 Loading: coot_utils.py
1236 Loading: filter.py
1237 Loading: coot_lsq.py
1238 Loading: shelx.py
1239 Loading: get_ebi.py
1240 Loading: local_code.py
1241 Loading: hello.py
1242 Good Evening Wgscott, Welcome to Coot.
1243 (set-display-intro-string "Good Evening Wgscott, Welcome to Coot.")
1244 Loading: mutate.py
1245 Loading: refmac.py
1246 Loading: libcheck.py
1247 Loading: gap.py
1248 Loading: fitting.py
1249 Loading: raster3d.py
1250 Loading: povray.py
1251 Loading: generic_objects.py
1252 Loading: ncs.py
1253 Loading: cns2coot.py
1254 Loading: tips.py
1255 Loading: americanisms.py
1256 Loading: group_settings.py
1257
1258
1259 Note that it is not starting up in python_gui mode.
1260
1261 Note also that pygtk is not needed for the python gui.
1262
1263 Priority: Important.
1264 Bernhard to fix.
1265 (It doesn't happen to me, I get good results on searching for pygtk in configure).
1266
1267 Try compile without pygtk.
1268 We should get python scripting window without pygtk.
1269
1270 * Discussed this with Bernhard. He will try to untangle it.
1271
1272 -----
1273 Fri Dec 21 15:11:40 GMT 2007
1274
1275 A valgrind thing to think about:
1276
1277 ==15565== 496 (160 direct, 336 indirect) bytes in 1 blocks are definitely lost in loss record 264 of 402
1278 ==15565== at 0x4C220C5: operator new[](unsigned long) (vg_replace_malloc.c:199)
1279 ==15565== by 0x65F7293: Bond_lines_container::make_graphical_bonds() const (Bond_lines.cc:1642)
1280 ==15565== by 0x4AD80C: graphics_info_t::flash_selection(int, int, std::string, int, std::string, std::string, std::string) (graphics-info-modelling.cc:757)
1281 ==15565== by 0x4B3CE2: graphics_info_t::refine_residue_range(int, std::string const&, std::string const&, int, std::string const&, int, std::string const&, std::string const&, short) (graphics-info-modelling.cc:918)
1282 ==15565== by 0x4B44DD: graphics_info_t::refine(int, short, int, int) (graphics-info-modelling.cc:842)
1283 ==15565== by 0x53122B: refine_zone_with_full_residue_spec (c-interface-build.cc:5165)
1284 ==15565== by 0x531308: refine_zone (c-interface-build.cc:5143)
1285 ==15565== by 0x83E0EBB: _wrap_refine_zone(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*) (coot_wrap_guile.cc:12815)
1286 ==15565== by 0x8FF5107: scm_gsubr_apply (in /home/paule/x64/lib/libguile.so.17.1.1)
1287 ==15565== by 0x8FDE10C: scm_dapply (in /home/paule/x64/lib/libguile.so.17.1.1)
1288 ==15565== by 0x8FE2801: deval (in /home/paule/x64/lib/libguile.so.17.1.1)
1289 ==15565== by 0x8FE2F44: deval (in /home/paule/x64/lib/libguile.so.17.1.1)
1290 ==15565==
1291
1292 -----
1293 Mon Dec 24 16:48:47 GMT 2007
1294
1295 BL has introduced split in on_open_coordinates1_activate. Needs
1296 rationalizing.
1297
1298 -----
1299 Sun Dec 30 10:29:43 GMT 2007
1300
1301 Google for this from the office:
1302
1303 The Lancet : Ten pieces of free software every doctor should have
1304
1305 -----
1306 Mon Dec 31 16:44:49 GMT 2007
1307
1308 on doing a refinement:
1309
1310 INFO:: graphics_info_t::clear_up_moving_atoms...
1311 clearing intermediate object...
1312 c-interface clear_up_moving_atoms...
1313 INFO:: graphics_info_t::clear_up_moving_atoms...
1314 WARNING:: attempting to delete NULL moving_atoms_asc.atom_selection
1315 Ignoring.
1316 attempting to delete NULL moving_atoms_asc.mol
1317 ignoring
1318 clearing intermediate object...
1319
1320 (ugliness)
1321
1322 -----
1323 Mon Dec 31 16:53:00 GMT 2007
1324
1325 For 0.5:
1326
1327 o Tests for chi angles:
1328 Make some residue that you know the chi angles of.
1329 Generate values, compare.
1330 Chi angles of a Water
1331 Chi angles of 3GP
1332
1333 Where should this code go? In a new testing.cc/testing.hh?
1334 test_chi_angles(imol_3gp, imol_ref, imol_water);
1335 and the actual target values are embedded in the test code.
1336 Hmm... Well, I could try it.
1337
1338 Note to self: Write the test first!
1339
1340 * Done. In test-ligand
1341
1342 ----
1343 Fri Dec 28 17:12:58 GMT 2007
1344
1345 how do I test torsion general?
1346
1347 I can use test-ligand, for sure.
1348
1349 maybe, I'll libify the test, so coot main can use it.
1350 Hmm...
1351
1352 So we make molecules every n*10 degress
1353
1354 rotate the bond the other -n*10.
1355
1356 Overlap results.
1357 Test for closeness.
1358
1359 -----
1360 Mon Dec 31 19:48:09 GMT 2007
1361
1362 interesting?
1363 FBSS:
1364 http://cisrg.shef.ac.uk/projects/fbss//man_contents.html
1365
1366 -----
1367 Mon Dec 31 23:08:32 GMT 2007
1368
1369 molecule_info_class_other.cc has:
1370 do_accept_reject_dialog("Alt Conf Split", coot::refinement_results_t());
1371 Yeuuuuucch!
1372
1373 I see why I did it I think - it was cheap :)
1374 It is in split_residue_internal(), so the resulting value from this
1375 function needs to be propogated back up through split_residue()
1376
1377 -----
1378 Wed Jan 2 18:57:42 GMT 2008
1379
1380 Funny shapped protein?
1381
1382 1l7l
1383
1384 -----
1385 Mon Jan 7 08:48:31 GMT 2008
1386
1387 Export chi angles for a residue spec to scripting layer.
1388 Can test from there.
1389
1390 ---
1391 Tue Jan 8 04:12:57 GMT 2008
1392
1393 Make a test for alt conf split a residue?
1394 What is the test? There is not functions at the scripting layer:
1395 add_alt_conf( [residue spec] )
1396 or
1397 split_residue ( [residue spec] )
1398
1399 Hmmm...
1400
1401 -----
1402 Tue Jan 8 07:57:19 GMT 2008
1403
1404 Transfer transpose matrix to Coot from Chart.
1405 Use it, like Bernhard does on the nudge view buttons.
1406
1407 * Done
1408
1409 ----
1410 Tue Jan 8 09:40:44 GMT 2008
1411
1412 A graph tool to represent NCS differences
1413
1414 * Done.
1415
1416 ----
1417 Tue Jan 8 09:41:15 GMT 2008
1418
1419 Rewrite sequence view (from scratch)
1420
1421 ----
1422 Tue Jan 8 10:42:12 GMT 2008
1423
1424 this needs filling
1425 set_monomer_restraints().
1426 and the function should be in c-interface-build.cc I think.
1427
1428
1429 ---
1430 Tue Jan 8 11:56:22 GMT 2008
1431
1432 A script that identifies badly fitting residues,
1433 (by density fit and geometry and rotamer say - these residue
1434 attributes need to be exported to scripting surface)
1435
1436 make a list of residues
1437 view to residue
1438 rotate view
1439 try rotamer search
1440 does it fit now?
1441 if not
1442 delete residue
1443 add-terminal-residue
1444 mutate to previous residue type
1445 rotate view
1446
1447 Do it in scripting
1448
1449 ----
1450
1451 PSK18 has tunnel for C16, long chain fatty acid
1452 Ruckmini 2004
1453 Might be fun to do an annimatation of this.
1454
1455 Priority: (Fun), Low
1456
1457
1458 ----
1459 Tue Jan 8 13:06:56 GMT 2008
1460
1461 Testing fixed atoms:
1462
1463 need to:
1464 create a bad rotamer
1465 refine residue
1466 {generates intermediate atoms}
1467 fix a wrongly positioned atom
1468 drag another atom
1469 {fixed atom doesn't move}
1470 {continue refinement}
1471 accept refinement
1472 get atom attributes for fixed atom
1473 check that it is where it should be (fixed position)
1474
1475
1476 ----
1477 Tue Jan 8 13:14:48 GMT 2008
1478
1479 Rotamer funtion:
1480 set_rotamer_at_residue(imol, chain_id, resno, ins_code, alt_conf, rotamer_name);
1481 where rotamer name is "t" or "tpp" etc.
1482
1483 -----
1484 Wed Jan 9 00:30:49 GMT 2008
1485
1486 For 0.5:
1487
1488 Do a validation on a fitted 3GP. Is the most deviant geometry the
1489 one shown in the tooltip?
1490
1491 Priority: High.
1492
1493 ---
1494 Wed Jan 9 07:03:22 GMT 2008
1495
1496
1497 Look up the "Ramachandran" plot for torsions around the glycosidic
1498 bond in carbohydrate linkages
1499
1500 phi vs psi
1501
1502 (-90, 60) is the big peak
1503
1504 around c2-o and o-xxx on the other subunit
1505
1506 Look For The Database analysis of Glycosylation
1507
1508 1f31 has axial carbohydrate in ganglioside, a mistake maybe?
1509
1510 -----
1511
1512 molecule_class_info_ncs: has this construction:
1513
1514 for(unsigned int ighost=0; ighost<ncs_ghosts.size(); ighost++) {
1515
1516 if (ncs_ghosts_have_rtops_flag == 0) {
1517 // std::cout << " %%%%%%%%% calling fill_ghost_info from "
1518 // std::cout << make_dynamically_transformed_maps "
1519 // << std::endl;
1520 fill_ghost_info(1, homology_lev); // fill the rtops and set the flag
1521 }
1522
1523 is that right?
1524
1525 -----
1526 Thu Jan 10 08:19:19 GMT 2008
1527
1528 write a testing.cc test for
1529 std::vector<std::pair<int, int> >
1530 coot::util::pair_residue_atoms(CResidue *a_residue_p,
1531 CResidue *b_residue_p) {
1532
1533 passing different residue types
1534
1535 ----
1536 Thu Jan 10 10:43:33 GMT 2008
1537
1538 Aspirin and paracetamol are simple.
1539
1540 See if coot can fit them (do they exist in the EDS?). Add to test
1541 suite?
1542
1543 ----
1544 Fri Jan 11 08:40:05 GMT 2008
1545
1546 Look at fitting strands at low resolution.
1547 an OMP pore protein perhaps.
1548
1549 One for the test suite?
1550
1551 -----
1552 Fri Jan 11 08:51:06 GMT 2008
1553
1554 Make the default bond thickness thicker!
1555
1556 * Done.
1557
1558 ----
1559 Fri Jan 11 10:40:28 GMT 2008
1560
1561 Transfer map functions to molecule-class-info-maps.cc
1562
1563 * Done.
1564
1565 -----
1566 Sun Jan 13 14:50:19 GMT 2008
1567
1568 A function to return the density fit score of a residue. Can be
1569 done in scripting of course, now (not sure if that is for the
1570 best)
1571
1572 ---
1573 Sun Jan 13 14:51:14 GMT 2008
1574
1575 In ligand fitting, I want to see the scores and the positions of
1576 the best fits in the other orientations. The B factors should be
1577 set to the ligand fit score for this testing. Perhaps the ligand
1578 fitting should return a vector of std::pair<name, mol>s. Best fit,
1579 ori1, ori2, etc.
1580
1581 So maybe set a developer option to do this.
1582
1583 ---
1584 Sun Jan 13 15:11:30 GMT 2008
1585
1586 Residue info should also contain phi psi values and a percentile
1587 (like molprobity)
1588
1589 How about a graph of Ramachandran percentile?
1590
1591
1592 ----
1593 Sun Jan 13 15:36:10 GMT 2008
1594
1595 Test that skip-to-next-ncs-chain works with a2b2 hemoglobin.
1596
1597
1598 ----
1599 Sun Jan 13 18:42:32 GMT 2008
1600
1601 How To Add Another Geometry Graph
1602
1603 in geometry_graphs.hh:
1604 --------------------------
1605 Add new type to geometry_graph_type
1606
1607 in geometry_graphs.cc
1608 --------------------------
1609 In the coot::geometry_graphs::geometry_graphs(...) constructor, add title
1610
1611 in graphics-info-graphs.cc
1612 --------------------------
1613 graphics_info_t::update_geometry_graphs(...)
1614 Add a function to update new graph.
1615
1616 coot::geometry_graphs *gr =
1617 geometry_graph_dialog_to_object(residue_density_fit_graph[imol_moving_atoms]);
1618 std::vector<coot::geometry_graph_block_info_generic> dv =
1619 geomtry_graph_xxx_from_mol(moving_atoms_asc_local,
1620 imol_moving_atoms,
1621 Imol_Refinement_Map());
1622 gr->update_residue_blocks(dv);
1623
1624 Create a function:
1625 void graphics_info_t::xxx_graphs(int imol)...
1626
1627
1628 in c-interface-xxx.cc
1629 ----------------------
1630 void validation_graph_XXX_mol_selector_activate (GtkMenuItem *menuitem,
1631 gpointer user_data);
1632 in main.cc
1633 ----------
1634 Add create_initial_validation_graph_submenu_generic
1635 The menu name (the first string) must match the names generated by the glade
1636
1637 in callbacks.c
1638 --------------
1639 char *type = "density-fit";
1640 GtkWidget *menu = lookup_widget(GTK_WIDGET(menuitem), "density_fit_analysis1");
1641 if (menu) {
1642 add_on_validation_graph_mol_options(menu, type);
1643 } else {
1644 printf("failed to get menu in on_density_fit1_activate\n");
1645 }
1646
1647 in c-interface-validate.cc
1648 -------------------------
1649
1650 Add another option to add_on_validation_graph_mol_options()
1651
1652 The validation_type must match that from callbacks.c
1653 The sub_menu_name must match that from main.cc
1654 create_initial_validation_graph_submenu_generic()
1655
1656 Also unset_geometry_graph(GtkWidget *dialog) needs to know about the new graph
1657
1658 in graphics_info_graphs.cc
1659 --------------------------
1660 set_validation_graph need to know about the new graph
1661
1662
1663 -----
1664 Mon Jan 14 13:22:33 GMT 2008
1665
1666 testdbmain is broken.
1667
1668
1669 ----
1670 Mon Jan 14 13:22:48 GMT 2008
1671
1672 Really test out Ca Zone -> Mainchain.
1673
1674 It seems to me that most of the time it works well, but there are
1675 regions where it does not. e.g. CA - N bonds of less than 0.5A.
1676 I am thinking that that can only be coming from a bug.
1677
1678 Think about how to test that.
1679
1680 Very few reference structures?
1681
1682 We need to know how many fragment are contributing to each
1683 position.
1684
1685
1686 -----
1687
1688 configure should check for scsh.
1689 only if it has it should it be used for the documentation.
1690
1691 ----
1692 Thu Jan 17 09:50:46 GMT 2008
1693
1694 think about user-defined bond, as seen on Phenix list recently:
1695 e.g.:
1696
1697 add-user-defined-bond(int imol, atom_spec atom1, atom_spec_atom2, float dist_ideal, float sigma);
1698
1699 ----
1700 Thu Jan 17 10:14:18 GMT 2008
1701
1702 Tinker with a libglade project.
1703
1704 -----
1705 Thu Jan 17 11:56:57 GMT 2008
1706
1707 ubuild, ie. without python out the box please.
1708 i.e. coot_wrap_python.cc needs to be not compiled somehow.
1709
1710 Priority: Important.
1711
1712
1713 ----
1714 Sat Jan 19 11:35:01 GMT 2008
1715
1716 Build GTk2 on YSBL.
1717
1718 chihiro fails: no GL include files.
1719 dewinter fails: in mmdb: C++ compiler can't compile
1720
1721 bubbles fails: gtk2 version is 2.0.6, needs 2.2.0
1722 bragg3 fails: can't compile a working guile 1.8.3
1723
1724 ----
1725 Sat Jan 19 11:56:58 GMT 2008
1726
1727 Molprobity interaction dots around a ligand.
1728 Surely that would be super cool?
1729
1730 Yes it would.
1731
1732 -----
1733 Sat Jan 19 16:09:27 GMT 2008
1734
1735 Read charges from dict and calculate and display diapole moments
1736
1737 ----
1738 Mon Jan 21 13:04:37 GMT 2008
1739
1740 Now I am compiling gtk2+ becuase the system gtk2+ on cycle (FC4)
1741 is too old to complile Coot.
1742
1743 I am doing it on cycle in ~/compile
1744 I created setup pango-glib-gtk2 with PKG_CONFIG settings.
1745 ./configure --prefix=$HOME/autobuild/Linux/Coot-0.4
1746
1747 glib 2.12.13 straightforward
1748 pango 1.16.4 straightforward
1749 fine.
1750 Oh for gtk2 though, cairo is not an option. It is a must. Baah.
1751 That was not clear in www.gtk.org.
1752
1753 So get cairo 1.4.14 from http://cairographics.org/releases/
1754
1755 which means get glitz from http://cairographics.org/snapshots/
1756 (gotta have glitz, right?)
1757
1758 glitz-0.5.6
1759 ./configure --prefix=$HOME/autobuild/Linux/Coot-0.4
1760 Compiles OK.
1761
1762 back to cairo
1763 ./configure --prefix=$HOME/autobuild/Linux/Coot-0.4 --enable-glitz
1764 This displays a warning about using glitz, but configures OK.
1765 Compiles OK.
1766
1767 back to pango:
1768 now with cairo in place, pango's configure finds cairo
1769 ./configure --prefix=$HOME/autobuild/Linux/Coot-0.4
1770 Compiles OK.
1771
1772 back to Gtk2+:
1773 glib version test failed, so need to add LD_LIBRARY_PATH too (to the setup file)
1774 ./configure --prefix=$HOME/autobuild/Linux/Coot-0.4
1775 Compiles OK.
1776
1777 Fine. But Coot configure fails on gtlglExt
1778
1779 http://downloads.sourceforge.net/gtkglext/gtkglext-1.2.0.tar.gz?modtime=1139081517&big_mirror=1
1780 back to GtkGLExt:
1781 ./configure --prefix=$HOME/autobuild/Linux/Coot-0.4
1782 Compiles OK.
1783
1784 Coot now compiles OK. And runs! Great.
1785 But - it doesn't load svgs.
1786
1787 OK, back-up.
1788
1789 config.log for cairo tells us we need a newer librsvg:
1790 http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.20/
1791 http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.20/librsvg-2.20.0.tar.gz (2 days old at
1792 time of writting)
1793
1794 ./configure --prefix=$HOME/autobuild/Linux/Coot-0.4
1795 Warns us that we are not compiling with libcroco.
1796 Oh well.
1797
1798 OK, now librsvg is in place configure finds it.
1799 Rebuilding cairo
1800 Install.
1801
1802 Fine. Now coot loads its svgs. Yay!
1803
1804 PyGtk needs pycairo
1805
1806
1807 Correct build order:
1808 glitz
1809 glib
1810 librsvg
1811 cairo
1812 pango
1813 gtk+-2
1814 glkglext
1815
1816 Hmm...
1817
1818
1819 checking for LIBRSVG... configure: error: Package requirements ( gdk-pixbuf-2.0 >= 1.3.7 glib-2.0 >= 2.12.0 libxml-2.
1820 0 >= 2.4.7 pangoft2 >= 1.2.0 pangocairo >= 1.2.0 cairo >= 1.2.0 cairo-png >= 1.2.0 fontconfig >= 1.0.1
1821 freetype2) were not met:
1822
1823 Requested 'pangoft2 >= 1.2.0' but version of Pango FT2 is 1.1.1
1824
1825 http://www.linuxfromscratch.org/blfs/view/svn/x/cairo.html
1826
1827 Note that the GTK, Poppler and librsvg packages are circular in that
1828 using them for test suite coverage requires installing cairo first,
1829 then installing the desired package(s), then installing cairo again.
1830
1831 Now on to guile-gtk:
1832
1833 A new guile: 1.8.3:
1834
1835 ./configure --prefix=/lmb/wear/emsley/guile-1.8.1 CFLAGS="-I/lmb/wear/emsley/guile-1.8.1/include -O" LDFLAGS=-L/lmb/wear/emsley/guile-1.8.1/lib
1836
1837 if I use -g instead of -O, I get:
1838
1839 $ guile
1840 Backtrace:
1841 In unknown file:
1842 ...
1843 ?: 123 [list apply ...
1844 ?: 124* [list lambda (syntmp-dummy-3 syntmp-name-4 syntmp-rules-5) ...
1845 ?: 125* [syntmp-chi-151 #(syntax-object # #) (# # # # ...) ...
1846 ?: 126* [syntmp-make-binding-wrap-132 (# # #) ("i" "i" "i") (())]
1847 ?: 127 (if (null? syntmp-ids-949) syntmp-w-951 ...)
1848 ?: 128 [cons () ...
1849 ?: 129* [cons ...
1850 ?: 130* (let* ((syntmp-labelvec-952 #)) (let* (#) (let # #)))
1851 ?: 131 (let* ((syntmp-n-953 #)) (let (# #) (begin # #)))
1852 ...
1853 ?: 132 (begin # #)
1854 ?: 133* [syntmp-f-956 (# # #) 0]
1855 ?: 134 (if (not #) (call-with-values # #))
1856 ...
1857 ?: 135 [call-with-values #<procedure #f ()> #<procedure #f #>]
1858 ?: 136 (@call-with-values (producer consumer))
1859 ?: 137* [#<procedure #f ()>]
1860 ?: 138* [syntmp-id-sym-name&marks-116 #(syntax-object dummy #) (())]
1861 ?: 139 (if (syntmp-syntax-object?-101 syntmp-x-980) (values # #) ...)
1862 ?: 140* [syntmp-syntax-object?-101 #(syntax-object dummy (# # # shift ...))]
1863 ?: 141 (and (vector? syntmp-x-1008) (= (vector-length syntmp-x-1008) 3) ...)
1864 ?: 142* (vector? syntmp-x-1008)
1865
1866
1867 guile-gtk-2.1:
1868
1869 ./configure --prefix=$HOME/autobuild/Linux/Coot-0.4 --without-gtkgl
1870
1871 -----
1872 Mon Jan 21 15:49:32 GMT 2008
1873
1874 reference for EDS:
1875
1876 Title: The Uppsala Electron-Density Server
1877 Author(s): Kleywegt GJ, Harris MR, Zou JY, Taylor TC, Wahlby A, Jones TA
1878 Source: ACTA CRYSTALLOGRAPHICA SECTION D-BIOLOGICAL CRYSTALLOGRAPHY 60: 2240-2249 Part 12 Sp. Iss. 1, DEC 2004
1879
1880 * This is in the manual already.
1881
1882
1883 ----
1884 Mon Jan 21 17:07:30 GMT 2008
1885
1886 Refinement (with chiral volumes) on a residue that does not have
1887 the atoms for a chiral centre fails with E_NO_PROGRESS.
1888
1889 Priority: Critical
1890
1891
1892 ----
1893 Sat Jan 26 14:14:39 GMT 2008
1894
1895 Don't forget to distribute val.pdb. Else the tests will fail.
1896
1897 ----
1898 Sat Jan 26 15:49:27 GMT 2008
1899
1900 o Copy fragment (new-molecule-by-atom-selection) does not
1901 calculate the NCS. Maybe it should.
1902
1903
1904 -----
1905 Sat Jan 26 20:49:44 GMT 2008
1906
1907 for scroll wheel map template see cinterface.cc:1003
1908
1909 set the scroll wheel map correctly from a cns map.
1910 molecule-class-info-other.cc:6288
1911
1912 set the scroll wheel map correctly from a phs map.
1913 molecule-class-info.cc:3203
1914
1915 set the scroll wheel map correctly from a sfcalc map
1916 molecule-class-info.cc:3538
1917
1918 set the scroll wheel map correctly from a cif nfofc map
1919 molecule-class-info.cc:3896
1920
1921 set the scroll wheel map correctly from a cif phs
1922 molecule-class-info.cc:4018
1923
1924 add tests for reading phs and cif files,
1925 test that they return sensible molecule numbers.
1926
1927 add a test for creating a new molecule from water fitting.
1928 using void find_waters(imol_for_map, imol_for_protein, new_waters_mol_flag,
1929 sigma_cut_off, show_blobs_dialog);
1930
1931
1932 add a test that, when a map is made with refmac params, the refmac
1933 params are correct. May need an accessor function (return a SCM)
1934
1935 add a test for both a map and a molecule that the new molecule
1936 number is correct (should match graphics-n-molecules, I think).
1937
1938 test try setting an atom attribute of a bugus (-1, 888) molecule number
1939
1940
1941 think about what to do with:
1942 graphics_info_t::expand_molecule_space()
1943
1944 why in this function:
1945 handle_cns_data_file_with_cell(const char *filename, int imol..)
1946 is imol passed?
1947
1948 ------
1949 Tue Jan 29 14:49:39 GMT 2008
1950
1951 Expose overlap ligands to the gui.
1952
1953 -----
1954 Wed Jan 30 13:57:25 GMT 2008
1955
1956 Randy Read:
1957
1958 "I've just run across what seems like a bug for proteins with
1959 hydrogens, in coot 0.4.1. I've just been refitting something
1960 refined with all hydrogens on. If I choose a new rotamer for some
1961 of them (e.g. Lys), it seems everything is fine. However, if I
1962 choose a new rotamer for Arg, Asn, Val or Leu, it looks fine until
1963 I click "Accept", and then (at least some of) the hydrogens get
1964 left behind in their old positions"
1965
1966 Hmmm... Hydrogen name problem, I'd guess
1967
1968 Need to test on a protein that comes from molprobity.
1969
1970 * Randy Agrees.
1971
1972 -----
1973
1974 pygtk needs pycairo:
1975
1976 http://cairographics.org/releases/pycairo-1.4.12.tar.gz
1977
1978 If you build your own pkg-config, you need to add
1979 /usr/lib/pkgconfig to PKG_CONFIG_PATH environment variable.
1980
1981
1982 ----
1983 Wed 30 Jan 2008 14:12:55 GMT
1984
1985
1986 on compiling freeglut on impala:
1987
1988
1989 -o CallbackMaker-CallbackMaker.o `test -f CallbackMaker.c || echo './'`CallbackMaker.c
1990 /bin/sh ../../../libtool --mode=link gcc -I/usr/X11R6/include -o CallbackMaker -export-dynamic ../../../src/
1991 libglut.la CallbackMaker-CallbackMaker.o
1992 mkdir .libs
1993 gcc -I/usr/X11R6/include -o .libs/CallbackMaker CallbackMaker-CallbackMaker.o -L../../../src/.libs -lglut -lm
1994 -L/usr/X11/lib -lGL -lGLU -lXxf86vm -lXext -lX11 -lXdmcp -lXau
1995 ld: cycle in dylib re-exports with /usr/X11/lib/libGL.
1996
1997 http://www.mail-archive.com/[email protected]/msg16105.html
1998
1999 Problem solved - I have it working.
2000 To the ConfigureParams section of the info file I added:
2001
2002 LDFLAGS="-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
2003
2004 PE: This worked for me too:
2005
2006
2007 ./configure --prefix=/Users/paule/autobuild/Darwin/coot-pre-release-gtk2 --disable-warnings LDFLAGS=-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
2008
2009 for OpenGL (in gtkglext building)
2010
2011 ./configure --prefix=/Users/paule/autobuild/Darwin/coot-pre-release-gtk2 --disable-warnings LDFLAGS="-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
2012
2013 ------
2014 Wed 30 Jan 2008 14:50:08 GMT
2015
2016 cairo depends on freetype
2017
2018 (but it fails during compile, not cofigure, baah)
2019
2020 http://download.savannah.gnu.org/releases/freetype/
2021
2022 * Done. in build-it-gtk2 now.
2023
2024
2025 ------
2026 Thu Jan 31 00:48:53 GMT 2008
2027
2028 Alice Dawson:
2029
2030 1:
2031 > I can't set the occupancy to a number greater than 1 in the
2032 > residue info box. This is quite annoying when fiddling with
2033 > disordered residues - e.g. when I delete CA, B for a residue the
2034 > remaining CA still has occupancy -21 which I can't alter in
2035 > Coot.. Also when I add any molecules (waters, ligands) they are
2036 > added with an occupancy of 1 not 11.
2037
2038 2:
2039 > An item for a wishlist: my protein has 1000 residues in the
2040 > asymmetric unit and it's very difficult to keep track of the free
2041 > variables. Including the FVAR number and value in the Residues
2042 > with Alt confs box would be really helpful.
2043
2044 1: Priority High
2045
2046 2: Priority Medium
2047
2048 ----
2049 Thu Jan 31 00:49:48 GMT 2008
2050
2051 Francis Reyes:
2052
2053 > I'm trying to merge / append two molecules. However, when I click
2054 > on Merge, I get ... INFO:: adding molecule 6 to merging list
2055
2056 > ... and that's it..
2057
2058 > Yet the residue does not appear as a new chain in the molecule
2059 > into which I'm merging? Earlier versions of coot actually show
2060 > INFO:'s telling you which chain it made, etc.
2061
2062 ----
2063 Thu Jan 31 07:49:51 GMT 2008
2064
2065 command line tool to get OS version on Mac?
2066
2067 These of use?
2068
2069 /bin/arch = unknown
2070 /usr/bin/arch -k = unknown
2071 /usr/convex/getsysinfo = unknown
2072 /usr/bin/hostinfo = unknown
2073 /bin/machine = unknown
2074 /usr/bin/oslevel = unknown
2075 /bin/universe = unknown
2076
2077 ------
2078 Thu Jan 31 08:32:26 GMT 2008
2079
2080 Select rotamer button box has an OK button that needs to be homogenized.
2081
2082 Priority: High
2083
2084 ----
2085 Thu Jan 31 20:12:56 GMT 2008
2086
2087 Clemens (on density fit graphs):
2088
2089 Since I find it easier to ask others for those mental gymnastics
2090 (aka Paul in this case) than doing it myself: how about having all
2091 those graphs always starting at number 1 - or at the lowest residue
2092 number of any chain?
2093
2094 Yes the lowest number in any chain. That is, if the difference is
2095 not too large (like 100 or so)
2096
2097 Priority: Medium. Do before 0.6.
2098
2099 -----
2100 Fri Feb 1 19:03:34 GMT 2008
2101
2102 Need a test for merging molecules.
2103 merge-molecules is used in the rna test.
2104 But let's make more of a torture test and test the resulting molecule
2105
2106 ------
2107
2108 look in ejd/2a4d something and residue
2109 218A rotamers, fails.
2110 But works after regularization
2111
2112 -----
2113 Wed Feb 6 14:05:16 GMT 2008
2114
2115 cc-interface-build.cc has the following bit of code:
2116
2117 if (p.size() > 0) {
2118 // install new molecule(s) that has been rotated.
2119 }
2120
2121 Should fix/fill.
2122
2123
2124
2125 -----
2126 Wed Feb 6 14:58:14 GMT 2008
2127
2128 Dave Schuller:
2129
2130 In Coot 0.4.1, I have a molecule displayed as "Ca + ligands." After
2131 I ran some regularisation, the color of my molecule changed! I
2132 switched the molecule display mode to bonds, then back to Ca +
2133 ligands and everything was OK again. Interesting "feature."
2134
2135 Priority: High:
2136 Difficulty: Easy.
2137
2138 -----
2139 Wed Feb 6 16:15:31 GMT 2008
2140
2141 On mutate and insert residue we can additionally set the seg-id of
2142 the new atoms (given that the current/previous residue is sensible).
2143
2144 Priority: Medium:
2145 Difficulty: Medium/Easy
2146
2147
2148 ----
2149 Wed Feb 6 16:17:51 GMT 2008
2150
2151 Doug Kuntz:
2152
2153 Make a method to save the symmetry colour.
2154
2155 Priority: High. Do it for 0.5
2156 Difficulty: Easy
2157
2158
2159 ---
2160 Thu Feb 7 12:24:59 GMT 2008
2161
2162 Doug Kuntz:
2163
2164 > > > 2) The selection of active molecules seems screwed up.
2165 > > >
2166 > > > I can now only have one active molecule. Even though all the active
2167 > > > boxes are nice and pink in the Display Manager window. To move a
2168 > > > molecule I have to ensure all the others are turned to inactive. But
2169 > > > there seems no way to make more than one molecule active at a time. If
2170 > > > I want to compare two superimposed molecules for distances between
2171 > > > them at a particular atom I can no longer pick both atoms
2172
2173 Ingo Korndoefer reported something similar.
2174
2175
2176 -----
2177 Wed Feb 6 23:18:23 GMT 2008
2178
2179 After graphs moved over to molecules class,
2180
2181 Need to test Ramachandran plot and sequence view for molecules
2182
2183
2184 -----
2185 Thu Feb 7 00:00:14 GMT 2008
2186
2187 Why is there a delete plot in
2188 void
2189 graphics_info_t::set_dynarama_is_displayed(GtkWidget *dyna_toplev, int imol)
2190
2191 ---
2192 Fri Feb 8 20:37:43 GMT 2008
2193
2194 If you are going to edit restraints, wouldn't it be a good idea to
2195 write a restraints file (mmdb write mmCIF interface).
2196
2197
2198 ---
2199 Sat Feb 9 22:40:38 GMT 2008
2200
2201
2202 A FC3 machine:
2203
2204
2205 bunyip ~> pkg-config --modversion gtk+-2.0
2206 2.4.14
2207
2208 A FC4 machine:
2209
2210 cycle ~> pkg-config --modversion gtk+-2.0
2211 2.6.7
2212
2213 -----
2214 Mon Feb 11 08:26:02 GMT 2008
2215
2216 GDK_PIXBUF_MODULE_FILE=$HOME/autobuild/Linux-bragg1.chem.york.ac.uk-pre-release-gtk2/etc/gtk-2.0/gdk-pixbuf.loaders
2217
2218 export GDK_PIXBUF_MODULE_FILE
2219
2220 ----
2221 Mon Feb 11 13:02:51 GMT 2008
2222
2223 There was a problem of left-over muddled gtk libs and dependencies
2224 in coot-Linux-fedora-5-gtk.
2225
2226 Which caused problems in startup. If I ran the slim function by
2227 hand to a clean directory, it worked (woop!)
2228
2229 diagnosed by using
2230 diff -r dir-1 dir-2
2231
2232 Now rebuilding fc5 (bragg3) from scratch.
2233
2234 Need to test that there are no dependencies on
2235 autobuild/Linux-bragg3-pre-release-gtk2 when its done.
2236
2237 Question: are pygobject and pycairo needed for pygtk 2.6.3?
2238
2239
2240 -----
2241 Tue Feb 12 01:37:53 GMT 2008
2242
2243 coot-real from kalypso ~/Projects/build-coot-fc4-gtk2/src> ./coot-real
2244
2245 Try to open an mtz file from tutorials,
2246
2247 on changing to "tutorials" in the ccp4i project option menu:
2248
2249 ** (lt-coot-real:32355): WARNING **: Widget not found: map_name_fileselection1
2250 WARNING:: failed to find filesection in option_menu_refmac_ccp4i_project_signal_func
2251
2252
2253
2254 ------
2255 Wed Feb 13 10:48:53 GMT 2008
2256
2257 The flatland thing on NCS happened without drawing NCS ghosts first.
2258
2259 So, is an NCS matrix being applied when it shouldn't? NCS ghost are
2260 marked as filled, but they are not?
2261
2262 -----
2263 Thu Feb 14 20:55:59 GMT 2008
2264
2265 handle_symmetry_colour_change(int mol, gdouble* col)
2266
2267 is the same functionality as
2268
2269 set_symmetry_colour().
2270
2271 Rationalize it.
2272
2273 Also get_map_colour and get_map_color_gdkcolor needs rationalizing.
2274
2275
2276 -----
2277 Thu Feb 14 21:02:39 GMT 2008
2278
2279 I am on a symmetry related atom. I want a "go to atom (relative
2280 main molecule atom)"
2281
2282
2283 g_signal_connect ((gpointer) map_colorbutton, "color_set",
2284 G_CALLBACK (on_map_colorbutton_color_set),
2285 NULL);
2286
2287 -----
2288 Fri Feb 15 01:08:40 GMT 2008
2289
2290 When a GtkColorButton is clicked, we get a GktColorSelectionDialog
2291 (or some such). How do I control the colour selection dialog so
2292 that it work in continuous update mode, so that signals are sent
2293 continuously as the color selection change
2294
2295 ----
2296 Sun Feb 17 00:14:05 GMT 2008
2297
2298 in simple-restraint init_from_mol() we do
2299 SelHnd_atom = mol->NewSelection();
2300
2301 do we ever give SelHnd_atom back?
2302
2303
2304 -----
2305 Mon Feb 18 12:36:34 GMT 2008
2306
2307 delete-residue-range seems to do 2 backups.
2308
2309
2310 -----
2311 Mon Feb 18 12:38:02 GMT 2008
2312
2313 DEBUG:: display toggle of molecule: 0
2314 DEBUG:: display toggle of molecule: 2
2315
2316
2317 -----
2318 Wed Feb 20 04:36:04 GMT 2008
2319
2320 Read in 1qex from EDS.
2321
2322 calculate ghosts
2323
2324 density fit.
2325
2326 rescale 0.5
2327
2328 recale 0.3
2329
2330 click on first residue in water chain
2331
2332 -> crash
2333
2334 INFO:: canvas size based on 3 chains with max length 302
2335 INFO:: canvas size: 3220 270
2336 DEBUG:: min_resno: 1 max_resno: 288 chain_number 0
2337 DEBUG:: min_resno: 1 max_resno: 288 chain_number 1
2338 DEBUG:: min_resno: 1 max_resno: 302 chain_number 2
2339 INFO:: trying to centre on: 1 O
2340 (set-go-to-atom-molecule 0)
2341 Segmentation fault (core dumped)
2342
2343
2344 ----
2345 Wed Feb 20 05:27:36 GMT 2008
2346
2347 302 EPE in 1QEX. Look at the bonding to the Sulfur. One of the
2348 oxygens has a cross. Fix?
2349
2350 ----
2351 Wed Feb 20 11:27:37 GMT 2008
2352
2353 Here:
2354 void
2355 graphics_info_t::start_baton_here()
2356
2357 we do:
2358 int *imol_copy = new int;
2359 *imol_copy = imol_for_skel;
2360 gtk_object_set_user_data(GTK_OBJECT(w), (char *)imol_copy);
2361
2362 should use GINT_TO_POINTER
2363
2364 -----
2365 Thu Feb 21 03:52:58 GMT 2008
2366
2367 save symmetry coordinates and save coordinates should have an
2368 scripting history expression.
2369
2370 -----
2371 Thu Feb 21 06:52:25 GMT 2008
2372
2373 display manager should resize better.
2374 Autosize up to a certain size (ysize).
2375
2376 ----
2377 Thu Feb 21 06:53:17 GMT 2008
2378
2379 Frank says make a selection in the go to atom window and use it to
2380 make new molecules. Or cut/paste.
2381
2382 Idea needs more details.
2383
2384 ----
2385
2386 ARP/wARP peptide torsion from pseudo bonds
2387
2388 2 torsions from CA-O-CA-O-CA -> "American View of the World"
2389
2390
2391 ------
2392
2393 when the fcf file is in someone else's directory, the writing of
2394 the cif file fails.
2395
2396 -----
2397
2398 D. Gayathri
2399 [email protected], [email protected]
2400
2401
2402 ------
2403
2404 Crash by Martyn
2405
2406 do unmodeled blobs.
2407 dont close results
2408
2409 get unmodelled blobs dialog again
2410 and martyn said that he didn't click...
2411
2412 -----
2413 Fri Feb 22 08:36:20 GMT 2008
2414
2415 Note to self:
2416
2417 Redo the ligand fitting slides.
2418
2419 Easy to do
2420
2421 ----
2422
2423 Sergs' presentation:
2424 Autosolve ligand detection Mooji (?) 2006?
2425
2426
2427 Use cluster volume vs contour threshhold plot (of the difference map)
2428 to detect the cluster (volume decreases with contour level less for
2429 real ligand than noise.
2430
2431 and use the blob that is closest to the protein (Frank is sceptical
2432 about that).
2433
2434 there is some sort of shape function too (I missed how). ah, 7
2435 statistics, sufrace to volume ratio, eigen values etc.
2436
2437
2438 ------
2439 Fri Feb 22 09:31:35 GMT 2008
2440
2441 Import an ATP.
2442
2443 Regularize it.
2444
2445 furanose ring is flattened... why?
2446
2447 Bug, I'd say
2448
2449 On testing, maybe not. Is the restraints.
2450 Need to get other restraints for ATP.
2451
2452
2453 ----
2454 Fri Feb 22 09:45:25 GMT 2008
2455
2456 Get a list of ATPs from pdb to fit *this* particular ATP
2457
2458 (will do conformation search for us).
2459
2460 Report the structure that matched.
2461
2462 In fact, download the matchng structure and overlay it on the
2463 ligand.
2464
2465
2466 -----
2467
2468 Can I get to MSDchem via SOAP or some such?
2469 Don't bother - use sbase.
2470
2471
2472 ----
2473
2474 Add a water over a symmetry atom.
2475
2476 go to real space of symmetry atom.
2477
2478 move the real space atoms a bit.
2479
2480 shift left on sym water. Fails to label.
2481
2482
2483
2484 -----
2485 Sun Feb 24 09:55:35 GMT 2008
2486
2487 Try running baton mode without first making a skeleton.
2488
2489 It doesn't work properly.
2490
2491 Priority: Medium
2492 Difficulty: Medium
2493
2494
2495 -----
2496 Fri Feb 29 16:33:00 GMT 2008
2497
2498 more on compiling on impala
2499
2500
2501 If I copy the command line from configure for pygtk and pyobject
2502
2503 [this is from pygtk]
2504 ./configure --prefix=/Users/paule/autobuild/Darwin/coot-pre-release-gtk2 --with-pango --with-pangocairo PYGOBJECT_CFLAGS=-I/Users/paule/autobuild/Darwin/coot-pre-release-gtk2/include/pygtk-2.0 PYGOBJECT_LIBS=-L/Users/paule/autobuild/Darwin/coot-pre-release-gtk2/lib
2505
2506 then it configures on the command line. But not from script (glib test
2507 program problems). Grrr.
2508
2509 ----
2510 Wed Feb 27 09:18:50 GMT 2008
2511
2512 Residue Info on a residue with alt confs.
2513 Problem in CHI angles?
2514
2515 -----
2516 Wed Feb 27 15:38:28 GMT 2008
2517
2518 At the end of build-it-gtk2-simple:
2519
2520 mkdir: cannot create directory
2521 `/home/paule/autobuild/coot-Linux-i686-ubuntu-7.10-gtk2/include/python2.5':
2522 No such file or directory
2523
2524 indeed the include dir is not there.
2525
2526
2527 ----
2528 Sat Mar 1 06:11:26 GMT 2008
2529
2530 Parse USER MODs
2531 somewhere I have some code, I started on this?
2532
2533 on penelope, I guess.
2534
2535
2536 ----
2537 Wed Mar 5 17:52:08 GMT 2008
2538
2539 pick_info
2540 graphics_info_t::find_atom_index_from_goto_info(int imol)
2541
2542 very convoluted!?
2543
2544 Why not use graphics_info_t::molecules[imol].atom_to_atom_index()?
2545
2546 ----
2547 Thu Mar 6 13:31:13 GMT 2008
2548
2549 Get rid of (MyCMMDBManager *)
2550
2551 ----
2552 Fri Mar 7 13:40:51 GMT 2008
2553
2554 Test for guile-gtk is failing (i.e. guile-gtk2.1 is being built)
2555 on bragg3.
2556
2557 ----
2558 Fri Mar 7 14:48:47 GMT 2008
2559
2560 Useful fun.
2561 Write a parse for gdk/gdkkeysyms.h
2562 if field-1 is #define if NF == 3
2563 split field-2 after GDK_ and decode field-3 to decimal
2564
2565 now we can have a function gdk-key-symbol->key
2566
2567 e.g
2568 (gdk-key-symbol->number "Super_R")
2569 -> 2354 [or some such]
2570
2571 now change graphics-general-key-press-hook to test for a string,
2572 and if it is, run gdk-key-symbol->number.
2573
2574 ----
2575 Wed Mar 12 12:00:50 GMT 2008
2576
2577 revisit --as-needed, Donnie B.
2578
2579 ----
2580 Thu Mar 13 14:31:37 GMT 2008
2581
2582 consider install_name_tool when installing mac binary?
2583
2584 ----
2585 Thu Mar 13 16:15:10 GMT 2008
2586
2587 Additional representations "button" should (also?) be on the
2588 Display Control.
2589
2590 ----
2591 Sat Mar 15 09:30:11 GMT 2008
2592
2593 Herb Klei: after a superposition (LSQ say) the moving molecule
2594 should take on the cell/symmetry of the target/reference molecule.
2595
2596 When you do LSQ superpositions in COOT, can you make it so that if
2597 one does not specify residue ranges, all residues in common are
2598 assumed. It seems silly to need to type in 1 and 999 twice just
2599 to run. Also, I would make Calpha the default (can we do so
2600 through .coot file?).
2601
2602 ----
2603 Fri Mar 14 00:49:26 GMT 2008
2604
2605 poly-ala in mutate.scm is not documented. why?
2606
2607
2608 ----
2609 Fri Mar 21 10:54:01 GMT 2008
2610
2611 INFO:: Raising window e.g for display control:
2612
2613 if (widget) {
2614 // raise/uniconify (or whatever) what we have:
2615 //
2616 if (!GTK_WIDGET_MAPPED(widget))
2617 gtk_widget_show(widget);
2618 else
2619 gdk_window_raise(widget->window);
2620
2621
2622 -----
2623 Mon Mar 24 23:51:58 GMT 2008
2624
2625 NOTE to SELF:
2626
2627 1ao0: fitting ADP fits the ADPs upside-down consistently.
2628 Hmmm....
2629
2630
2631 ----
2632 Tue Mar 25 14:39:35 GMT 2008
2633
2634 clear this junk:
2635
2636 BEFORE 0x1eaea170
2637 DEBUG:: start of delete-residue-with-altconf n-atoms: 1465
2638 DEBUG:: End of delete-residue-with-altconf n-atoms: 1465
2639 failed to delete residue atoms A 88 :A:
2640 AFTER 0x1eaea170
2641 PASS: Deleting (non-existing) Alt conf and Go To Atom [JED]
2642
2643 * Done.
2644
2645
2646 ----
2647 Tue Mar 25 15:01:27 GMT 2008
2648
2649
2650 ==4411== Use of uninitialised value of size 8
2651 ==4411== at 0x1C2132DE: clipper::Util::rad2d(double const&) (clipper_util.cpp:156)
2652 ==4411== by 0x1C1FE9FC: clipper::Cell_descr::format() const (cell.cpp:81)
2653 ==4411== by 0x1BD9F301: coot::ShelxIns::debug() const (coot-shelx-ins.cc:1233)
2654 ==4411== by 0x831BEF4: molecule_class_info_t::write_shelx_ins_file(std::string const&) (molecule-class-info-other.cc:4428)
2655 ==4411== by 0x820DE1F: write_shelx_ins_file (c-interface-build.cc:6015)
2656 [snip]
2657 ==4411==
2658 ==4411== Use of uninitialised value of size 8
2659 ==4411== at 0x3B1AE12: std::ostream::operator<<(double) (in /usr/lib/libstdc++.so.6.0.4)
2660 ==4411== by 0x1C20BED5: clipper::String::String(double, int, int) (clipper_types.cpp:69)
2661 ==4411== by 0x1C1FEA30: clipper::Cell_descr::format() const (cell.cpp:81)
2662 ==4411== by 0x1BD9F301: coot::ShelxIns::debug() const (coot-shelx-ins.cc:1233)
2663
2664
2665 ==4411== Source and destination overlap in strcpy(0x1F7DBC40, 0x1F7DBC40)
2666 ==4411== at 0x1B90C51E: strcpy (mac_replace_strmem.c:210)
2667 ==4411== by 0x1C393168: CSSVertex::SetVertex(CMMDBManager*, int, int, int, char*, int, char*, int, char*) (ss_vxedge.cpp:425)
2668 ==4411== by 0x1C396354: CSSGraph::RepairSS(CMMDBManager*) (ss_graph.cpp:483)
2669 ==4411== by 0x1C396865: CSSGraph::MakeGraph(CMMDBManager*) (ss_graph.cpp:379)
2670 ==4411== by 0x1C38F61F: CSSMAlign::GetSSGraph(CMMDBManager*, int, int&) (ssm_align.cpp:147)
2671 ==4411== by 0x1C38F72B: CSSMAlign::Align(CMMDBManager*, CMMDBManager*, int, int, int, int) (ssm_align.cpp:188)
2672 ==4411== by 0x819179B: graphics_info_t::superpose_with_atom_selection(atom_selection_container_t, atom_selection_container_t, int, std::string, std::string, short) (graphics-info-superpose.cc:207)
2673 ==4411== by 0x82483F3: superpose_with_atom_selection (c-interface-superpose.cc:201)
2674
2675
2676 ==4411== Mismatched free() / delete / delete []
2677 ==4411== at 0x1B90B8CF: operator delete(void*) (vg_replace_malloc.c:155)
2678 ==4411== by 0x1C3A0A3C: CSuperpose::_superpose(CSSGraph*, CSSGraph*, int&) (ssm_superpose.cpp:2683)
2679 ==4411== by 0x1C3A1194: CSuperpose::SuperposeCalphas(CSSGraph*, CSSGraph*, int*, int*, int, CMMDBManager*, CMMDBManager*, int, int) (ssm_superpose.cpp:2424)
2680 ==4411== by 0x1C38F7C8: CSSMAlign::Align(CMMDBManager*, CMMDBManager*, int, int, int, int) (ssm_align.cpp:200)
2681 ==4411== by 0x819179B: graphics_info_t::superpose_with_atom_selection(atom_selection_container_t, atom_selection_container_t, int, std::string, std::string, short) (graphics-info-superpose.cc:207)
2682 ==4411== by 0x82483F3: superpose_with_atom_selection (c-interface-superpose.cc:201)
2683 ==4411== by 0x1BE55150: _wrap_superpose_with_atom_selection(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*) (coot_wrap_guile.cc:23440)
2684 ==4411== by 0x1BF757A0: scm_gsubr_apply (in /extra/paule/autobuild/Linux-kalypso-fc4-pre-release-gtk2/lib/libguile.so.17.1.1)
2685 ==4411== by 0x1BF66152: scm_dapply (in /extra/paule/autobuild/Linux-kalypso-fc4-pre-release-gtk2/lib/libguile.so.17.1.1)
2686 ==4411== by 0x1BF65656: deval (in /extra/paule/autobuild/Linux-kalypso-fc4-pre-release-gtk2/lib/libguile.so.17.1.1)
2687 ==4411== by 0x1BF62DE3: deval (in /extra/paule/autobuild/Linux-kalypso-fc4-pre-release-gtk2/lib/libguile.so.17.1.1)
2688 ==4411== by 0x1BF63AE3: deval (in /extra/paule/autobuild/Linux-kalypso-fc4-pre-release-gtk2/lib/libguile.so.17.1.1)
2689 ==4411== Address 0x211EACE0 is 0 bytes inside a block of size 68 alloc'd
2690 ==4411== at 0x1B90B5DA: operator new[](unsigned) (vg_replace_malloc.c:138)
2691 ==4411== by 0x1C3A0BF2: CSuperpose::_superpose(CSSGraph*, CSSGraph*, int&) (ssm_superpose.cpp:2617)
2692 ==4411== by 0x1C3A1194: CSuperpose::SuperposeCalphas(CSSGraph*, CSSGraph*, int*, int*, int, CMMDBManager*, CMMDBManager*, int, int) (ssm_superpose.cpp:2424)
2693 ==4411== by 0x1C38F7C8: CSSMAlign::Align(CMMDBManager*, CMMDBManager*, int, int, int, int) (ssm_align.cpp:200)
2694 ==4411== by 0x819179B: graphics_info_t::superpose_with_atom_selection(atom_selection_container_t, atom_selection_container_t, int, std::string, std::string, short) (graphics-info-superpose.cc:207)
2695 ==4411== by 0x82483F3: superpose_with_atom_selection (c-interface-superpose.cc:201)
2696 ==4411== by 0x1BE55150: _wrap_superpose_with_atom_selection(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*) (coot_wrap_guile.cc:23440)
2697
2698
2699
2700
2701
2702 ==4411== 30744 bytes in 10 blocks are definitely lost in loss record 452 of 509
2703 ==4411== at 0x1B90B5DA: operator new[](unsigned) (vg_replace_malloc.c:138)
2704 ==4411== by 0x1BBC6624: graphical_bonds_container::add_atom_centres(std::vector<coot::Cartesian, std::allocator<coot::Cartesian> > const&, std::vector<int, std::allocator<int> > const&) (Bond_lines.cc:2972)
2705 ==4411== by 0x1BBC69E5: Bond_lines_container::make_graphical_bonds() const (Bond_lines.cc:1656)
2706 ==4411== by 0x82D95EC: molecule_class_info_t::makebonds() (molecule-class-info.cc:2206)
2707 ==4411== by 0x82E41D4: molecule_class_info_t::install_model(int, atom_selection_container_t, std::string const&, short) (molecule-class-info.cc:392)
2708 ==4411== by 0x818C9FB: graphics_info_t::add_cb_to_terminal_res(atom_selection_container_t) (graphics-info-mutate.cc:76)
2709 ==4411== by 0x81469DE: graphics_info_t::execute_add_terminal_residue(int, std::string const&, CResidue const*, std::string const&, std::string const&, short) (graphics-info-modelling.cc:1436)
2710 ==4411== by 0x8209CD7: add_terminal_residue (c-interface-build.cc:528)
2711
2712
2713 ==4411== 8100 (7900 direct, 200 indirect) bytes in 25 blocks are definitely lost in loss record 438 of 509
2714 ==4411== at 0x1B90B39A: operator new(unsigned) (vg_replace_malloc.c:132)
2715 ==4411== by 0x1BD9E9C5: coot::ShelxIns::make_atom(coot::shelx_card_info_t const&, std::string const&, int, int, int, clipper::Cell&) const (coot-shelx-ins.cc:597)
2716 ==4411== by 0x1BDA8730: coot::ShelxIns::read_file(std::string const&) (coot-shelx-ins.cc:375)
2717 ==4411== by 0x832CDAF: molecule_class_info_t::read_shelx_ins_file(std::string const&) (molecule-class-info-other.cc:4453)
2718 ==4411== by 0x820F502: read_shelx_ins_file (c-interface-build.cc:5983)
2719 ==4411== by 0x81B8446: handle_read_draw_molecule_with_recentre (c-interface.cc:333)
2720 ==4411==
2721
2722
2723
2724 ==4411== 82576 (880 direct, 81696 indirect) bytes in 11 blocks are definitely lost in loss record 193 of 509
2725 ==4411== at 0x1B90B5DA: operator new[](unsigned) (vg_replace_malloc.c:138)
2726 ==4411== by 0x1BBC6842: Bond_lines_container::make_graphical_bonds() const (Bond_lines.cc:1644)
2727 ==4411== by 0x82D95EC: molecule_class_info_t::makebonds() (molecule-class-info.cc:2206)
2728 ==4411== by 0x82E41D4: molecule_class_info_t::install_model(int, atom_selection_container_t, std::string const&, short) (molecule-class-info.cc:392)
2729 ==4411== by 0x818C9FB: graphics_info_t::add_cb_to_terminal_res(atom_selection_container_t) (graphics-info-mutate.cc:76)
2730 ==4411== by 0x81469DE: graphics_info_t::execute_add_terminal_residue(int, std::string const&, CResidue const*, std::string const&, std::string const&, short) (graphics-info-modelling.cc:1436)
2731 ==4411== by 0x8209CD7: add_terminal_residue (c-interface-build.cc:528)
2732 ==4411== by 0x1BE52918: _wrap_add_terminal_residue(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*) (coot_wrap_guile.cc:19697)
2733
2734 ----
2735 Thu Mar 27 07:44:50 GMT 2008
2736
2737
2738 Frank:
2739
2740 "torsion general - crappy tail?" I think I meant: why can't one
2741 use torsion general to swing a whole lot of protein around a main
2742 chain bond? If I try, the mouse just clears after the 4th click.
2743 i.e., all I can move around is a miserable little tail of a
2744 sidechain, maybe. Oh wait, I see now: yes, torsion general works
2745 only inside a residue. Which is a bit anal, what if I want to
2746 swivel a whole domain or helix when it's changed from the MR model.
2747 Other place of nuisance: when modelling around in poor density at
2748 the end of a chain.
2749
2750 "Ramachandran boundaries". Ah yes: any reason why you don't have
2751 the same smooth boundaries that Richardsons use? I've seen cases
2752 just outside your boundaries, but happily inside the Richardson
2753 one.
2754
2755 "Views file: #Views". Yes, the views file coot writes out itself
2756 doesn't load back. Reason is (I remember) that the second (or
2757 third line) contains #Views, which screws up scheme.
2758
2759 "Save coords: most recently changed". Oh yes: could you populate
2760 the defaults (molecule; filename) based on the file most recently
2761 changed, and not on the one currently active? These are not always
2762 the same, and chances are I want to save what I just built at, not
2763 what I was looking at.
2764
2765 ----
2766 Fri Mar 28 10:08:09 GMT 2008
2767
2768 PRE:
2769 Use LSQ for NCS matrices.
2770
2771 ----
2772 Fri Mar 28 10:46:13 GMT 2008
2773
2774 PRE:
2775
2776 Just noticed another slightly weird thing: I mutated a couple of
2777 residues and added 3 in one NCS copy, then "NCS looped" them to
2778 the other subunit. The mutated ones in the second subunit had the
2779 right coordinates & atoms, but were still labelled with the old
2780 residue type.
2781
2782 The inserted ones were on the end of the subunit
2783
2784 Add tests for these.
2785
2786 ----
2787 Fri Mar 28 10:48:25 GMT 2008
2788
2789 PRE:
2790
2791 Somehow allow me to set that I want "Colour by Chain" on by
2792 default. (i.e. set-colour-by-chain for future molecules).
2793
2794 Same for CA mode.
2795
2796 (Pass default representation type to molecule_class_info_t's
2797 handle_read_draw_molecule?)
2798
2799 ---
2800 Fri Mar 28 10:51:31 GMT 2008
2801
2802 CNS to coot: script needs a GUI?
2803
2804 ----
2805 Fri Mar 28 22:47:43 GMT 2008
2806
2807 Randy Read:
2808 Some time back I sent you a bug report about split-screen stereo. Don't know
2809 if you've been able to reproduce it, but since then I've worked out the
2810 problems. Basically, coot doesn't like the "Side by Side (Wall Eyed)" option
2811 any more. Part of the problem is the saved state. If the saved state is
2812 Mono or normal "Side by Side", then you're fine -- coot comes up the way you
2813 left it. (Don't know about hardware, as I don't have access to an
2814 appropriate machine.) If the saved state is "Side by Side (Wall Eyed)", then
2815 Draw -> Stereo... brings up a box claiming that you're still in that mode,
2816 but the view is a mono one. The only way to get wall-eyed stereo from this
2817 state is to click "Mono" then "Side by Side" then finally "Side by Side (Wall
2818 Eyed)". If you come up in Mono mode, you also can't go directly to
2819 wall-eyed -- first you have to go into normal side-by-side mode.
2820
2821
2822 -----
2823 Sat Mar 29 23:13:39 GMT 2008
2824
2825 Documentation - including the functions should all be in one document
2826 (texi).
2827
2828 ----
2829 Sat Mar 29 23:15:20 GMT 2008
2830
2831 update the density fit graph on delete residue (e.g. water).
2832
2833 ---
2834 Sun Apr 6 22:01:39 BST 2008
2835
2836 Write a wiki script for munging/unmunging the atom names of NADP/H
2837 so that it can refine.
2838
2839 ----
2840 Mon Apr 14 09:33:36 BST 2008
2841
2842 Lothar Esser
2843
2844 I am using coot 0.5 pre 958 and noticed that after resizing the
2845 window of the ramachandran plot and possibly zooming in (with the
2846 right mouse) the scroll bars don't allow to pan over the plot. Only
2847 under extreme zoom, the scroll bars allow a little bit of
2848 adjustment. I have over 2000 residues and need to zoom and scroll a
2849 bit if I want to click on residues.
2850
2851 I do get error messages on the
2852 terminal that might help:
2853
2854 ** CRITICAL **: file gtk-canvas.c: line 3518
2855 ** (gtk_canvas_set_pixels_per_unit): a ssertion `n >
2856 ** GTK_CANVAS_EPSILON' failed.
2857
2858 The same message repeats presumably every
2859 time I scroll(?) or perphas zoom.
2860
2861 Also, I noticed after a long search that the -key zooms out after I
2862 had zoomed in with the right-mouse. Could zooming out be added to the
2863 mouse perhaps like Shift-right-mouse ?
2864
2865 Another feature of coot would be good: Show ramachandran plots by
2866 chains that the user select i.e. a plot with one chain at a time.
2867
2868 ---
2869 Fri Apr 18 17:43:12 BST 2008
2870
2871 There is a EM software wiki (scripps?)
2872
2873 -----
2874 Mon Apr 14 09:41:32 BST 2008
2875
2876 can findligand be use to find just blobs (no input model?). If
2877 not, make it so.
2878
2879 ----
2880 Mon Apr 14 09:42:28 BST 2008
2881
2882 There is a server with uremediated files - from Kim?
2883 Use this to validate new software.
2884
2885 -----
2886
2887 PISA:
2888
2889 Buried surface area (average in pdb is about 40%).
2890
2891 Test for connected crystal
2892
2893 And min number of interfaces per chain (needs to be at lest 3 or the
2894 crystal is not held in 3 dimensions)
2895
2896
2897 ---
2898 Mon Apr 14 10:57:18 BST 2008
2899
2900 add a function to display (a set of) spheres,
2901 radius, position, colour
2902
2903 ----
2904 Mon Apr 14 11:29:17 BST 2008
2905
2906 Jane Richardson
2907
2908 1rb1 bad clashscore. embedded waters. "Tassos' waters - from
2909 ARP/warp
2910
2911 1k8z: geometry outlier
2912
2913 ----
2914 Mon Apr 14 11:43:59 BST 2008
2915
2916 question to self: can you make a packing check quick?
2917 (I guess not).
2918
2919
2920 ----
2921 Mon Apr 14 23:07:06 BST 2008
2922
2923 chat with Nigel M.
2924 Use CONNECT records in bonding (if possible)
2925
2926 -----
2927 Tue Apr 15 14:02:16 BST 2008
2928
2929 How to run elal:
2930
2931 $ elal -pdb ~/data/rnase/tutorial-modern.pdb -map tmp.map -lib $warpbin/elal.lib
2932
2933 [there has to be a calculated map too, somewhere]
2934
2935 For checking carbohydrates:
2936
2937 wwww.glycosciences.de/tools/pdb-care
2938
2939
2940 "ramachandran plots for carbohydrates"
2941
2942 however, need to do it for each linkage type.
2943
2944 ----
2945 Tue Apr 15 15:25:38 BST 2008
2946
2947 Kim says Hursthouse for Portsmouth, Southhampton etc
2948 small molecule crystal structures.
2949
2950 * eCrystals
2951
2952 ----
2953 Wed Apr 16 11:23:49 BST 2008
2954
2955 Add internal packing function? (bumps)
2956
2957 ----
2958 Wed Apr 16 11:36:44 BST 2008
2959
2960 What is the RSR Z score from EDS?
2961 Can we make something similar?
2962
2963 Correlation?
2964
2965
2966 ----
2967 Fri Apr 25 12:39:14 BST 2008
2968
2969 When the startup script is not given as a dialog option but not
2970 accepted, then, on
2971 exiting, don't create a new state file.
2972
2973 (better would be to give a GUI on exiting, shall we overwrite?)
2974
2975
2976 ---
2977 Mon Apr 28 18:21:07 BST 2008
2978
2979
2980 valgrinding migels rl shelx file:
2981
2982 (saving as pdb)
2983
2984 ==12236== 621024 (187824 direct, 433200 indirect) bytes in 1092 blocks are definitely lost in loss record 302 of 312
2985 ==12236== at 0x1B90B39A: operator new(unsigned) (vg_replace_malloc.c:132)
2986 ==12236== by 0x1BD6A1B4: coot::util::deep_copy_this_residue(CResidue const*, std::string const&, short) (coot-coord-utils.cc:1414)
2987 ==12236== by 0x1BDADCB8: coot::reshelx(CMMDBManager*) (coot-shelx-ins.cc:1961)
2988 ==12236== by 0x1BDAE05F: coot::ShelxIns::write_ins_file_internal(CMMDBManager*, std::string const&) const (coot-shelx-ins.cc:997)
2989 ==12236== by 0x1BDAF90F: coot::ShelxIns::write_ins_file(CMMDBManager*, std::string const&) (coot-shelx-ins.cc:988)
2990 ==12236== by 0x8341182: molecule_class_info_t::write_shelx_ins_file(std::string const&) (molecule-class-info-other.cc:4437)
2991 ==12236== by 0x8308DC6: molecule_class_info_t::save_coordinates(std::string) (molecule-class-info.cc:4228)
2992 ==12236== by 0x81C8F50: save_coordinates (c-interface.cc:4042)
2993 ==12236== by 0x81E3E45: save_coordinates_using_widget (c-interface-gui.cc:3248)
2994 ==12236== by 0x82E83F7: on_save_coord_ok_button_clicked (callbacks.c:2190)
2995 ==12236== by 0xAC4816: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.600.4)
2996 ==12236== by 0xAB9284: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.600.4)
2997
2998 ----
2999 Thu May 1 20:08:33 BST 2008
3000
3001 When waters are added with the W keybinding, let us know (with a
3002 dialog) if a "Pointer Atoms" molecule was created (may be pointer
3003 atom molecule was not set?)
3004
3005 ----
3006 Thu May 1 20:26:28 BST 2008
3007
3008 1a02: place helix here at (9.2 36.6 28.3)
3009
3010 1env: place helix here - many places. Lots of errors.
3011
3012 1xb7_sigmaa.mtz 2FOFCWT PH2FOFCWT (-16.5184307098389 50.2622299194336 19.386697769165)
3013
3014 -> Helix overshoot
3015
3016
3017 ----
3018 Thu May 1 20:55:01 EDT 2008
3019
3020 Fixed atoms still fail - e.g. on TMC in 1e2k
3021
3022 -------
3023
3024 When activating the restriants editor dialog, make the option menu
3025 be the residue type at the centre of the screen.
3026
3027 Priority: High
3028 Dificultly: Easy
3029
3030
3031 -----
3032
3033 A must before 1.0:
3034
3035 revist add strand here,
3036 check in low res maps.
3037 Try other orientations of the cylinder
3038 score more badly atoms in negative density.
3039
3040 ----
3041 Sat May 3 11:33:52 EDT 2008
3042
3043 Maria Chern:
3044
3045 Can I have "view drag" on middle mouse, rather than ctrl left-mouse?
3046
3047 Question to self: will that fix the single atom drag vs view drag
3048 problem that drives Erik insane?
3049
3050 -----
3051 Sat May 3 12:46:24 EDT 2008
3052
3053 c-interface-info.cc:3081 chiral volume restraint is checked
3054 against 7. Should it be 6, because there no sigma is needed for a
3055 chiral volume restraint?
3056
3057 -----
3058 Sat May 10 07:22:54 CST 2008
3059
3060 Consider a test for wiggly ligands.
3061
3062 ----
3063
3064 For Sabine Schneider:
3065
3066 How about "ideal geometry" restraints, that try to idealize torsion
3067 angles to A or B form geometry?
3068
3069 -----
3070
3071 How does side by side stereo work for maps when using (default on Mac)
3072 (set-display-lists-for-maps 1)
3073
3074 -----
3075
3076 Do NCS map average. then denisty fit analysis vs the average map -
3077 the scores go down vs the first map (adding not averaging suggests
3078 eleanor?)
3079
3080 The NCS average *is* being averaged. It could a result of the
3081 density outsite the averaged block being set to zero.
3082
3083 ----
3084
3085 look at graphics-info-t::execute_add_terminal_residue() to see
3086 masking a map by atoms around a point.
3087
3088 ----
3089
3090 ask Stuart about line 113 in mmdb_chain.h
3091 virtual pstr GetEntryID()
3092
3093 line 133 mmdb_symop.cpp CSymOp::GetSymOp()
3094
3095
3096 ----
3097 Tue Jun 3 16:19:39 BST 2008
3098
3099 valgrinding a greg test run:
3100
3101
3102 ==13600== 3 errors in context 55 of 212:
3103 ==13600== Invalid read of size 1
3104 ==13600== at 0x42048AE: coot::protein_geometry::try_dynamic_add(std::string const&, int) (protein-geometry.cc:2085)
3105 ==13600== by 0x42052F2: coot::protein_geometry::have_dictionary_for_residue_type(std::string const&, int) (protein-geometry.cc:2408)
3106 ==13600== by 0x80FEDAC: graphics_info_t::check_dictionary_for_residues(CResidue**, int) (graphics-info-modelling.cc:484)
3107 ==13600== by 0x810463A: graphics_info_t::copy_mol_and_refine(int, int, int, std::string, int, std::string, std::string, std::string) (graphics-info-modelling.cc:265)
3108 ==13600== by 0x8106882: graphics_info_t::copy_mol_and_regularize(int, int, std::string, int, std::string, std::string, std::string) (graphics-info-modelling.cc:107)
3109 ==13600== by 0x8106CF7: graphics_info_t::regularize(int, short, int, int) (graphics-info-modelling.cc:688)
3110 ==13600== by 0x819FF5E: regularize_zone (c-interface-build.cc:5915)
3111 ==13600== by 0x44391A0: _wrap_regularize_zone(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*) (coot_wrap_guile.cc:14018)
3112 ==13600== by 0x4559B90: scm_gsubr_apply (gsubr.c:221)
3113 ==13600== by 0x4540523: scm_dapply (eval.c:4915)
3114 ==13600== by 0x4542724: deval (eval.c:4364)
3115 ==13600== by 0x4543A20: deval (eval.c:3384)
3116 ==13600== Address 0x6145E14 is 12 bytes inside a block of size 14 free'd
3117 ==13600== at 0x4023096: operator delete(void*) (vg_replace_malloc.c:244)
3118 ==13600== by 0x56B890C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.9)
3119 ==13600== by 0x56BA7B0: std::string::~string() (in /usr/lib/libstdc++.so.6.0.9)
3120 ==13600== by 0x42048AD: coot::protein_geometry::try_dynamic_add(std::string const&, int) (protein-geometry.cc:2084)
3121 ==13600== by 0x42052F2: coot::protein_geometry::have_dictionary_for_residue_type(std::string const&, int) (protein-geometry.cc:2408)
3122 ==13600== by 0x80FEDAC: graphics_info_t::check_dictionary_for_residues(CResidue**, int) (graphics-info-modelling.cc:484)
3123 ==13600== by 0x810463A: graphics_info_t::copy_mol_and_refine(int, int, int, std::string, int, std::string, std::string, std::string) (graphics-info-modelling.cc:265)
3124 ==13600== by 0x8106882: graphics_info_t::copy_mol_and_regularize(int, int, std::string, int, std::string, std::string, std::string) (graphics-info-modelling.cc:107)
3125 ==13600== by 0x8106CF7: graphics_info_t::regularize(int, short, int, int) (graphics-info-modelling.cc:688)
3126 ==13600== by 0x819FF5E: regularize_zone (c-interface-build.cc:5915)
3127 ==13600== by 0x44391A0: _wrap_regularize_zone(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*) (coot_wrap_guile.cc:14018)
3128 ==13600== by 0x4559B90: scm_gsubr_apply (gsubr.c:221)
3129
3130
3131 ==13600==
3132 ==13600== 1 errors in context 5 of 212:
3133 ==13600== Invalid read of size 8
3134 ==13600== at 0x828797E: molecule_class_info_t::closest_atom(coot::Cartesian const&, bool) const (molecule-class-info.cc:330)
3135 ==13600== by 0x8287AC2: molecule_class_info_t::closest_atom(coot::Cartesian const&) const (molecule-class-info.cc:313)
3136 ==13600== by 0x81877BE: active_atom_spec() (c-interface-info.cc:1108)
3137 ==13600== by 0x818E856: active_residue() (c-interface-info.cc:1139)
3138 ==13600== by 0x442DD86: _wrap_active_residue() (coot_wrap_guile.cc:29092)
3139 ==13600== by 0x4542A78: deval (eval.c:4122)
3140 ==13600== by 0x4544012: deval (eval.c:3635)
3141 ==13600== by 0x4544012: deval (eval.c:3635)
3142 ==13600== by 0x45406C6: scm_dapply (eval.c:4997)
3143 ==13600== by 0x45408B2: scm_apply (eval.c:4796)
3144 ==13600== by 0x45454DC: scm_call_0 (eval.c:4651)
3145 ==13600== by 0x45A2F1F: scm_body_thunk (throw.c:356)
3146 ==13600== Address 0x5BBCB78 is not stack'd, malloc'd or (recently) free'd
3147 ==13600==
3148
3149
3150 ==13600== 1 errors in context 6 of 212:
3151 ==13600== Conditional jump or move depends on uninitialised value(s)
3152 ==13600== at 0x80E8E1A: clipper::Map_stats::Map_stats<clipper::Xmap<float> >(clipper::Xmap<float> const&) (map_utils.h:123)
3153 ==13600== by 0x40465EA: coot::ligand::find_clusters_internal(float, std::vector<clipper::Coord_orth, std::allocator<clipper::Coord_orth> > const&) (ligand.cc:774)
3154 ==13600== by 0x40471E1: coot::ligand::find_clusters(float) (ligand.cc:762)
3155 ==13600== by 0x81D2E42: execute_ligand_search_internal() (c-interface-ligands.cc:953)
3156 ==13600== by 0x81D3A11: execute_ligand_search (c-interface-ligands.cc:854)
3157 ==13600== by 0x4435F16: _wrap_execute_ligand_search() (coot_wrap_guile.cc:18153)
3158 ==13600== by 0x4542A78: deval (eval.c:4122)
3159 ==13600== by 0x4544012: deval (eval.c:3635)
3160 ==13600== by 0x4544012: deval (eval.c:3635)
3161 ==13600== by 0x45406C6: scm_dapply (eval.c:4997)
3162 ==13600== by 0x45408B2: scm_apply (eval.c:4796)
3163 ==13600== by 0x45454DC: scm_call_0 (eval.c:4651)
3164
3165
3166 ==13600==
3167 ==13600== 1 errors in context 1 of 212:
3168 ==13600== Invalid read of size 4
3169 ==13600== at 0x49FF2A9: CResidue::GetAtomTable(CAtom**&, int&) (mmdb_atom.cpp:2568)
3170 ==13600== by 0x82879DC: molecule_class_info_t::closest_atom(coot::Cartesian const&, bool) const (molecule-class-info.cc:343)
3171 ==13600== by 0x8287AC2: molecule_class_info_t::closest_atom(coot::Cartesian const&) const (molecule-class-info.cc:313)
3172 ==13600== by 0x81877BE: active_atom_spec() (c-interface-info.cc:1108)
3173 ==13600== by 0x818E856: active_residue() (c-interface-info.cc:1139)
3174 ==13600== by 0x442DD86: _wrap_active_residue() (coot_wrap_guile.cc:29092)
3175 ==13600== by 0x4542A78: deval (eval.c:4122)
3176 ==13600== by 0x4544012: deval (eval.c:3635)
3177 ==13600== by 0x4544012: deval (eval.c:3635)
3178 ==13600== by 0x45406C6: scm_dapply (eval.c:4997)
3179 ==13600== by 0x45408B2: scm_apply (eval.c:4796)
3180 ==13600== by 0x45454DC: scm_call_0 (eval.c:4651)
3181 ==13600== Address 0x3E10912E is not stack'd, malloc'd or (recently) free'd
3182 ==13600==
3183
3184 ---
3185 Tue Jun 3 17:14:33 BST 2008
3186
3187 Make a new source file with the widget work in c-interface-info.cc
3188 c-interface-info-gui.cc
3189
3190
3191 ----
3192
3193 JB:
3194
3195 Refine by sphere. IMPORTANT!
3196
3197 Render Geometry objects in raster3d
3198
3199 For beauty:
3200 Consider putting a std::vector<coot::generic_display_object_t>
3201 generic_objects into raytrace_info_t, to store info for generic
3202 objects in ray trace info.
3203
3204
3205 ----
3206
3207
3208 check the number of saves on Eigen flips. On undoing, it seems I
3209 have to undo twice for each step.
3210
3211 Priority: Critical.
3212
3213
3214 ----
3215 Thu Jun 5 16:17:38 BST 2008
3216
3217 Conversation with Robert von Dreele:
3218
3219 Create a "What's New in Coot" button - which gets the latest
3220 Release Notes from the web server and displays it in a text
3221 widget.
3222
3223 Should be done in a sub-thread
3224
3225
3226 ----
3227 Sat Jun 7 03:45:44 BST 2008
3228
3229 MolProbity: all-atom contacts and structure validation for proteins
3230 and nucleic acids
3231
3232 Ian W. Davis1, Andrew Leaver-Fay2, Vincent B. Chen1, Jeremy
3233 N. Block1, Gary J. Kapral1, Xueyi Wang2, Laura W. Murray1, W. Bryan
3234 Arendall, III1, Jack Snoeyink2, Jane S. Richardson1 and David
3235 C. Richardson1,*
3236
3237 Sugar puckers
3238
3239 RNA sugar pucker (C3' endo or C2' endo) is strongly correlated to
3240 the perpendicular distance between the following (3') phosphate
3241 and either the plane of the base or the C1'-N1/9 glycosidic bond
3242 vector. Incorrectly chosen sugar puckers also often result in
3243 out-of-range values for the epsilon dihedral. This is important
3244 information, because a sugar pucker is very difficult to
3245 determine directly from the electron density at resolutions
3246 typical for large RNAs. MolProbity checks epsilon angles and
3247 checks the modeled sugar pucker against the base-phosphate
3248 distance; it flags outliers as potentially having the wrong
3249 pucker.
3250
3251 Nucleic Acids Research, 2007, Vol. 35, No. suppl_2 W375-W383
3252
3253 ------
3254 Sun Jun 15 15:40:10 BST 2008
3255
3256 Activate readline in guile build (at least for my computers!)
3257
3258
3259 ------
3260 Wed Jun 18 02:51:47 BST 2008
3261
3262 "Mark all for Close" button in the close molecule dialog.
3263
3264 ----
3265 Wed Jun 18 12:46:02 BST 2008
3266
3267 Distances and angles dialog is a transient(?) and needs to be
3268 position-saved like the other transients.
3269
3270 -----
3271 Wed Jun 18 22:33:25 BST 2008
3272
3273 Fun: How about a script to make ray traced images of ligands at
3274 active sites. Use kinases like these (find others that match but
3275 have different ligands). Need to find structures with data of
3276 course. Consider using j-multi-read, get the matrices and apply
3277 them to their maps. Maybe that is not needed, because we are not
3278 going to look at the overlapped maps anyway, just ligands in the
3279 binding sites.
3280
3281 Data needs to be formatted differently in the
3282 text control file - we need a specification of the mtz file and
3283 column labels too.
3284
3285 coot-download/3bv2.pdb
3286 coot-download/2zb0.pdb
3287 coot-download/3Coi.pdb
3288
3289 -----
3290 Wed Jun 18 22:40:45 BST 2008
3291
3292 RAPPER notes:
3293
3294 Loop modelling with section not currently modelled in input PDB:
3295
3296 rapper params.xml model-loops --pdb "test.pdb" --map "test.map" --chain-id "B" --models "1" --cryst-d-high "1.77" -seq ~AAA~ --start 705 -stop 708 --use-CCP4i-file-name true --ccp4i-file-name "rapper_1" --runs-dir "test_dir" --edm-fit true --sidechain-mode smart --sidechain-radius-reduction 0.75 --sidechain-library RAPPER-DIR/data/richardson.lib
3297
3298 Loop modelling with section already modelling in input PDB file using electron density:
3299
3300 rapper params.xml model-loops --pdb "test.pdb" --map "test.map" --chain-id "B" --models "1" --cryst-d-high "1.77" --start 705 -stop 708 --use-CCP4i-file-name true --ccp4i-file-name "rapper_1" --runs-dir "test_dir" --edm-fit true --sidechain-mode smart --sidechain-radius-reduction 0.75 --sidechain-library RAPPER-DIR/data/richardson.lib
3301
3302 -----
3303 Thu Jun 19 09:13:48 BST 2008
3304
3305
3306
3307 ==27246== Invalid read of size 1
3308 ==27246== at 0x4007203: strlen (mc_replace_strmem.c:242)
3309 ==27246== by 0x709A16A: std::string::string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.10)
3310 ==27246== by 0x8178864: make_directory_maybe (c-interface.cc:7080)
3311 ==27246== by 0x80FA10C: c_inner_main (c-inner-main.c:246)
3312 ==27246== by 0x410392C: invoke_main_func (in /home/juditd/coot-build-3/autobuild-installed-pre-release-gtk2/lib/libguile.so.17.1.2)
3313 ==27246== by 0x40D6409: c_body (in /home/juditd/coot-build-3/autobuild-installed-pre-release-gtk2/lib/libguile.so.17.1.2)
3314
3315
3316
3317 ----
3318 Sat Jun 21 01:55:45 BST 2008
3319
3320 Joel Bard:
3321
3322 When coming out of side-by-side stereo, the map disappears -
3323 something to do with the GL context the display list is generated
3324 in?
3325
3326 Priority: Medium/Low (fix refine by sphere first)
3327
3328
3329
3330 ----
3331 Sat Jun 21 12:39:55 BST 2008
3332
3333
3334 "Triple refine" (manual-refine-residues 1) at the C terminus should refine
3335 2 residues (like autozone does, I think).
3336
3337
3338 ----
3339 Sat Jun 21 14:56:11 BST 2008
3340
3341 running loopy:
3342
3343 $flex_wARP_warpbin/loop -paramfile=rnase_2_1_com.tmp
3344
3345 ---
3346 Wed Jun 25 16:40:23 BST 2008
3347
3348 a function similar to shell-command-to-string, but that takes
3349 command line args and data lines and returns a list of strings.
3350
3351 Use it in get-refmac-version.
3352
3353
3354 ---
3355 Mon Jun 30 15:20:48 BST 2008
3356
3357 asc_to_graphics() and all of atom-utils can go (need to fix up
3358 skeleton/BuildCas.cc)
3359
3360 For 0.6
3361
3362
3363 -----
3364 Wed Jul 2 08:27:50 BST 2008
3365
3366 Do rotamers. (55B)
3367
3368 Do Residue Info. Intermediate atoms disappear. Why?
3369
3370 ----
3371 > > In message <[email protected]>
3372 > > Jianghai Zhu
3373 > > <[email protected]> writes:
3374 > >>
3375 > >> I am using the nightly build of coot prerelease. I found out that
3376 > >> every time when I switch the stereo on and off, I lose the electron
3377 > >> density map. If I scroll the mouse, I can bring the map back. But
3378 > >> if
3379 > >> I have multiple maps on display, then only one map can be brought
3380 > >> back.
3381
3382 ----
3383 Thu Jul 3 12:44:23 BST 2008
3384
3385
3386 on_draw_hydrogens_yes_radiobutton_toggled
3387
3388 This draw hydrogens thing should be a single check button, not 2
3389 radio toggle buttons.
3390
3391 Get rid of the "Apply" button.
3392
3393 Low priority
3394
3395
3396 ----
3397 Mon 14 Jul 02:17:01 2008 BST
3398
3399
3400 molecule_class_info_t::handle_read_draw_molecule() has:
3401
3402 // update the maps so that they appear around the new centre.
3403 //
3404 if (reset_rotation_centre)
3405 for (int ii=0; ii<g.n_molecules(); ii++) {
3406 g.molecules[ii].update_map();
3407 }
3408
3409 It should not be there. That should be outside of the
3410 molecule_class_info_t class.
3411
3412
3413 -----
3414
3415 How shall I fix the ramachandran restraints?
3416
3417 I need to investigate grad.tab when I try with a triple in the
3418 graphics.
3419
3420 A hidden scripting interface to turn on numerical gradients? Put that
3421 in graphics-info-modelling and copy_mol_and_refine() after we
3422 make_restraints().
3423
3424
3425 ----
3426 Mon Jul 14 15:23:21 BST 2008
3427
3428 revision 1274: before (big) messing with torsion restraints
3429
3430 ---
3431 Mon Jul 14 23:20:37 BST 2008
3432
3433 Phil Evans:
3434
3435 new waters are marked as HETATMs? They should be.
3436
3437 ----
3438 Thu Jul 17 13:43:34 BST 2008
3439
3440 in void
3441 on_refine_params_use_torsions_checkbutton_toggled (GtkToggleButton *togglebutton,
3442 gpointer user_data)
3443
3444 do we need to unset the Rama angle refinement? (and toggle the box too?)
3445
3446
3447 ----
3448 Thu Jul 17 23:33:32 BST 200
3449
3450
3451 int
3452 coot::restraints_container_t::make_flanking_atoms_rama_restraints(const protein_geometry &geom)
3453
3454 // super careful would mean that we check the link type of
3455 // both pairs before calling this function:
3456
3457
3458 ---
3459 Fri Jul 18 12:33:10 BST 2008
3460
3461 Penelope build-hardy:
3462
3463 0-coot.state.scm-fails-to-reset-view
3464
3465 ---
3466 Fri Jul 18 14:55:30 BST 2008
3467
3468 Get a residue. do b factor analysis
3469
3470 copy the residue. do b factor analysis.
3471
3472 delete some atoms from mol 1. the wrong plot updates.
3473
3474 ----
3475
3476 to get what_check output for all pdb entries
3477
3478 www.cmbi.ru.nl/pdbreport/ab/1abc/pdbout.txt
3479
3480
3481 -----
3482 Tue Jul 22 16:06:11 BST 2008
3483
3484 Robbie J suggests:
3485
3486 Check and fix nomenclature errors for ARG.
3487
3488 Put Fix nomenclature errors into the GUI.
3489
3490 Schedule this for 0.6.
3491
3492
3493 ------
3494 Wed Jul 23 12:28:06 BST 2008
3495
3496 Think about adding Thomas' Phi/Psi (energy) plots (of the torsions
3497 around the glycosidic linkage) and plotting the points for the
3498 linked carbodydrates in the molecule.
3499
3500
3501 ----
3502 Thu Jul 24 10:40:06 BST 2008
3503
3504 1mn8 D52 do-180-degree-side-chain-flip must work!
3505 chi5 must be recognised.
3506
3507
3508 ------
3509
3510 a BMA in 3d2u: trying to refine a BMA, should Coot on the fly
3511 generate the BMA full dict from the minimal description?
3512
3513
3514 -----
3515 Mon Jul 21 12:33:21 BST 2008
3516
3517
3518 in molecule_class_info_t::handle_read_draw_molecule():
3519
3520
3521 // update the maps so that they appear around the new centre.
3522 //
3523 if (reset_rotation_centre)
3524 for (int ii=0; ii<g.n_molecules(); ii++) {
3525 g.molecules[ii].update_map();
3526 }
3527
3528
3529 and symmetry likewise.
3530
3531 Bleugh - needs a fix. Needs to be in
3532 handle_read_draw_molecule_with_recentre in the c-interface
3533 function
3534
3535
3536 ---
3537 Mon Jul 28 23:36:45 BST 2008
3538
3539 function to strip spaces from a string (scheme).
3540
3541 ----
3542 Mon Jul 28 23:39:48 BST 2008
3543
3544 rework const char *atom_info_string(int imol, const char *chain_id, int resno,
3545 const char *ins_code, const char *atname,
3546 const char *altconf)
3547
3548 to return a SCM. And test that it gives #f when atom not exist.
3549
3550
3551
3552 -----
3553 Tue Aug 5 23:11:18 BST 2008
3554
3555 Here's another rama test.
3556
3557 Turn on Rama restraints. turn on helical restraints. try to turn
3558 residues 84 to 93 into a helix. (you can cut them out from the
3559 rest of the protein to make things clearer).
3560
3561 ----
3562 Wed Aug 13 12:44:28 BST 2008
3563
3564 It would be nice if the scripting window(s) were available via
3565 some sort of (iconfied?) combo box in the horizontal toolbar.
3566
3567 [email protected] 12 Aug 2008.
3568
3569 ----
3570 Wed Aug 13 12:52:23 BST 2008
3571
3572 Fix up the atom ordering in modified (added to) residues
3573 Steven Sheriff 12 Aug 2008.
3574
3575
3576 ---
3577 Thu Aug 14 23:18:24 BST 2008
3578
3579 EJD: I want to do an atom selection for my Ramachandran
3580 Plot. (e.g. I want to see just one chain)
3581
3582
3583 ---
3584 Mon Aug 18 16:15:01 BST 2008
3585
3586 How about a "fast save" that saves pdb files with modifications,
3587 and the state file... bound to a key.
3588
3589
3590 ----
3591 Fri Aug 22 18:24:20 BST 2008
3592
3593 IUCr: make a GUI interface to mutate-by-overlap.
3594
3595
3596
3597 -----
3598 Tue Sep 2 09:53:52 JST 2008
3599
3600 what happens when you try to rigid body refine an a fragment from
3601 ribosome (or something big)?
3602
3603 If utter slowness, consider introducing a function to turn off
3604 fixed-atom masking.
3605
3606
3607 ---
3608 Wed Sep 10 13:43:57 BST 2008
3609
3610 When rotating atom in chi or rotamers, change the aniso B values too.
3611
3612 ---
3613 Thu Sep 11 07:18:38 BST 2008
3614
3615 Reasons why the builds fail:
3616
3617 o because the sourceforge host for the gtkglext package disappeared
3618 (dynamic/direct hostname)
3619
3620 o Ran out of memory, causing the compiler to crash (I'd forgotten
3621 to add swap)
3622
3623 o Forgotten to add new files to the svn repo
3624
3625
3626 ---
3627 Sun Sep 14 09:49:35 BST 2008
3628
3629 Failures/Issues at the BCA Summer School
3630
3631 o Recover session didn't work - "Nothing to Recover".
3632
3633 o "Add Strand here" failed - dictionary of structures, either
3634 didn't exist or was in the wrong place:
3635 C:\share\coot\ss-reference-structure.. found 0 pdb files
3636
3637 o Rotamer probability tables not found - falling back to simple
3638 (confusing) rotamer probabilities
3639 C:\msys\home\bernhard\autobuild\MINGW..\share\coot\rama-.. not found
3640
3641 o Refmac button failed
3642
3643 ----
3644 Sun Sep 14 10:45:38 BST 2008
3645
3646 There is a dialog for globularize protein. It needs to be
3647 activated. (Some work).
3648
3649 ----
3650 Sun Sep 14 12:32:23 BST 2008
3651
3652 Note: the right way to set an active menu item for an option menu
3653 is in fill_option_menu_with_undo_options().
3654
3655
3656 ----
3657 Tue Sep 16 12:56:16 BST 2008
3658
3659 Note: Processes for automated builds/testing
3660
3661 o The process that checks out the latest sources, compiles the code
3662 and publishes a source tar file, the build log (for building
3663 problems) and build-from-source success status
3664
3665 o The build+test+tar+(copies+)publish process itself - build-it, runs
3666 on all up to hosts several times a day
3667
3668 o The process that cleans up the build directory - every day, deletes
3669 everthing more than 7 day old
3670
3671 o The process that deletes "old" pre-release build tar files from the
3672 web - runs every day, deleting everything more than 30 days old
3673
3674 o The process that makes a web page from the build results - runs
3675 every 5 minutes, examining results from fedrated builds
3676
3677
3678 ---
3679 Tue Sep 16 13:22:03 BST 2008
3680
3681 key bindings
3682
3683 * Done
3684
3685 non-clickable molecule
3686
3687 * Done (apparently)
3688
3689 molprobity dots problem
3690
3691 * Done.
3692
3693 render graphical objects
3694
3695 * Done.
3696
3697
3698 -----
3699 Thu Sep 11 15:43:22 BST 2008
3700
3701 Warn when making a screenshot of a density map that is dark blue.
3702
3703 ----
3704 Thu Sep 18 13:01:38 BST 2008
3705
3706 Add text to Raster3D input.r3d
3707
3708 ----
3709 Mon Sep 22 17:53:14 BST 2008
3710
3711 "Cocktail test this blob" vs 200 candidates (to be addeded to
3712 distro). Allow the user to add their own ligands.
3713
3714 Medium to high importance.
3715
3716
3717 ----
3718 Tue Sep 23 09:52:40 BST 2008
3719
3720 [Note to self, rigid body fit is not working/did not complete? after
3721 ligand fitting, should fit against masked map (the one that gets
3722 exported to graphics after ligand fitting has completed].
3723
3724 [Note to self, make a set of slides for these]
3725
3726 ----
3727
3728 Mon Oct 6 13:56:30 BST 2008
3729 PRE RELEASE CHECKS
3730
3731 Does ligand fitting work?
3732 Does torsion bond hilighting work?
3733
3734 ----
3735 Wed Oct 1 14:14:26 CEST 2008
3736
3737 What is Wadley et al. RNA torsion angles? P and C4'
3738
3739 Mentioned by Tim Grune
3740
3741 ----
3742 Fri Oct 3 15:23:51 CEST 2008
3743
3744 o Note: Randy says that the maps from phenix autobuild don't work -
3745 all red in the validation (traffic lights?) - I guess that the maps
3746 are scaled up.
3747
3748 ----
3749
3750 For a tutorial: design a drug in libcheck/sketcher and fit it to
3751 the density - use something from the PDB.
3752
3753 * How about APN/aspirin?
3754
3755 ---
3756 Mon Oct 6 13:56:44 BST 2008
3757
3758 It's not the algorithms
3759
3760 After the release, there are no pre-release source tars, so the
3761 build web page builder fails (a list-ref of a #f list)
3762
3763 Python 2.5.2 build tests are failing with sendmail on FC5 (after
3764 re-install?)
3765
3766 Crash on CentOS 4 machines when trying to read svgs
3767
3768 Trying to separate python build logs from non-python build
3769 logs. Problems! overlapping dependencies, test the tar file and
3770 transfer it - many fixes to sort out.
3771
3772 Coot builds on 32 and 64 bit systems. In which directory should
3773 the libraries go? By convention, 32 bit libs in prefix/lib and 64
3774 bit libs in prefix/lib64. How is this sorted out in the configure?
3775 Buy using an autoconf macro AC_LIB_PREPARE_MULTILIB. Where is this
3776 provided? In a recent version of gettext (more recent that fink
3777 currently provides). So on every build system we have to get (e.g
3778 from the pre-build package e.g. Ubuntu intrepid) or downlaod and
3779 install gettext manually and point the autogen (that run aclocal and
3780 autoconf) to use the macros in the files installed from gettext.
3781
3782 I wanted to check that the torsions in ligand conformation were
3783 being correctly set. I needed a function therefore to return a
3784 torsion to the scripting level - given a set of atom specifiers.
3785 So first a wrote a test that tested that the torsion generation
3786 function worked - did it fail properly when the (some of) the atoms
3787 were not correctly specified (i.e. not in the molecule). When that
3788 was working, I could write a test to do the ligand fitting and
3789 check the torsions of the best fitting (hopefully correctly
3790 fitting) model.
3791
3792
3793
3794 ---- Wed Oct 8 14:11:40 BST 2008
3795
3796 coot-shelx-ins.cc
3797 // 20081008 allow for a site occupancy factor on the PART line
3798 // but then throw it away. Not good. Should fix at some stage.
3799
3800 ---
3801 Fri Oct 17 13:43:26 BST 2008
3802
3803 The crash catcher should check that the core belongs to coot before
3804 giving dialog with text. e.g. it fails to read the correct core on
3805 jackal (run from ~).
3806
3807 ---
3808 Fri Oct 17 14:13:50 BST 2008
3809
3810 main.cc:
3811 // else we need to pass cld.alternate_splash_screen_file_name
3812 // to a function that accepts a file_name a makes a splash
3813 // screen. Hmm..
3814
3815 ----
3816 Thu Oct 23 11:54:39 BST 2008
3817
3818 It would be nice if baton building would orient as it translates
3819 so that the baton is along the screen Y.
3820
3821 ----
3822 Sat Oct 25 03:11:07 BST 2008
3823
3824 In the conformer generation, generate many models first, then
3825 select the top N for energy minimization.
3826
3827 Instead of search the maps for ligand sites, try to position the
3828 ligand at a give postion (e.g. the screen centre).
3829
3830 Try a 27 pt box search around the centre position. Try different
3831 rigid body angles at the box points.
3832
3833
3834 ----
3835 Tue Oct 28 20:14:17 GMT 2008
3836
3837 on reading the ribosome structure, 99% of 110 - (about 2) seconds is
3838 spend here:
3839
3840 MMDBManager->ReadCoorFile(pdb_name.c_str());
3841
3842 ---
3843 Wed Oct 29 08:16:59 GMT 2008
3844
3845 Frank:
3846
3847 This one is quicker: are you able to colour text in the Display
3848 Manager? In which case it would be handy to have the text for
3849 the map objects coloured according to map type, e.g. blue for
3850 sigmaA map, red for difference map (info you can infer from the
3851 mtz?), and even green for other maps (usually
3852 experimental/averaged).
3853
3854 Yes, except use the background color, I think. And how about a
3855 button that is half red, half green?
3856
3857
3858 ---
3859 Wed Nov 5 17:47:55 GMT 2008
3860
3861 For restraints editor hilighting: generate graphics objects
3862
3863 restraints_editor_hilight_bond(residue_type, atom_name_1, atom_name_2)
3864 restraints_editor_hilight_angle(residue_type, atom_name_1, atom_name_2, atom_3)
3865 restraints_editor_hilight_atom(residue_type, atom_name_1)
3866 draw a ring around the atom say. Maybe in 2 planes
3867
3868 torsion and plane are a lot more difficult
3869
3870
3871 ---
3872 Fri Nov 7 08:07:07 GMT 2008
3873
3874 3bmw: difference map 11, near 645 ILE, surely there is something
3875 wrong with the "peak next to molecule" algorithm?
3876
3877 ----
3878 Sun Nov 16 16:42:42 GMT 2008
3879
3880 look at xnee for testing the gui (needs linux).
3881
3882 ----
3883 Sun Nov 16 16:46:20 GMT 2008
3884
3885 run test_yourself() for rotamer_probability_tables needs to be
3886 added to test suite.
3887
3888
3889 ---
3890 Sat Nov 29 15:08:44 GMT 2008
3891
3892 In make_link_restraints() we need to make sure that we are sensibly
3893 setting the fixed atom/residue flag.
3894
3895 Where is the test that these residues are L-peptides? in
3896 add_rama()? No. So it should be in make_rama_triples() then.
3897 Perhaps. But it should be somewhere.
3898
3899 ---
3900 Thu Dec 4 16:27:58 GMT 2008
3901
3902 Conversation with Ed:
3903
3904 o Nice to have ^S bound to Save Coords (Add accelerator to gui)
3905
3906 o Can you generate "arrow key-press events" from rotating the
3907 PowerMate? Surely yes, it's just a matter of getting the power mate
3908 in the mode to generate the characters. Ah.. but no, the powermate
3909 can generate 3 key presses basically (in Bills example, F1, F2, F3)
3910
3911 Hmm...
3912
3913 o What about binding PowerMate to chi angle motion - which is moving
3914 the mouse a bit. Surely we can do that?
3915
3916 * Yes we can.
3917
3918 ---
3919 Sun Dec 7 19:36:04 GMT 2008
3920
3921 simple-restraint.hh
3922
3923 // 20081207: don't do this here now - because the
3924 // memory/selection is deleted again in
3925 // clear_up_moving_atoms(). It *should* be done here of
3926 // course, but we'll save that for the future.
3927 //
3928 //if (atom) {
3929 // mol->DeleteSelection(SelHnd_atom);
3930 // atom = NULL;
3931 // }
3932
3933 NOTE: In future problems of memory when using a CRresidue * vector
3934 could be due to restraints_container_t deconstuctor.
3935
3936 ---
3937 Wed Dec 10 10:16:05 GMT 2008
3938
3939 Add Use of 1hvv NCS residue range maps to advanced tutorial.
3940
3941 ---
3942 Thu Dec 11 12:55:32 GMT 2008
3943
3944 After an mmdb read, delete chains that don't have atoms in them.
3945 (created by LINK? records in the header).
3946
3947 ---
3948 Fri Dec 12 00:01:19 GMT 2008
3949
3950 When writing out the state file (header?) only include pdb
3951 molecules that can be read.
3952
3953 e.g. after using copy fragment, but no saving of the molecule.
3954
3955 ----
3956 Fri Dec 12 00:07:18 GMT 2008
3957
3958 Tutorial II ideas:
3959
3960 Find and fix the bad trans bond in 1h4p
3961
3962 ---
3963 Fri Dec 12 13:23:52 GMT 2008
3964
3965 Roberto Steiner wants CA + ligs + waters mode.
3966
3967
3968 ---
3969 Mon Dec 15 14:07:50 GMT 2008
3970
3971 INFO::
3972 How to do a release
3973 How to make a release
3974
3975 o Up to date with Bernie's commits?
3976 o Run the damn tests - don't be lazy
3977 o make check
3978 o before the release commit, make sure it builds and passes tests on cluster
3979 o New entry in ChangeLog
3980 o Make sure RELEASE-NOTES are up to date and add a ----- marker at the top
3981 Make sure the release is called Release, not pre-release
3982 o change the version in coot.appdata.xml - add release notes
3983 o change the version in configure.ac
3984 o change the version (image file name) in src/new-startup.cc
3985 o change the PACKAGE_VERSION in CMakeLists.txt
3986 o Correct the version in the about_dialog in the coot-gtk4.ui file
3987 o Artists acknowledged in glade/aboutdialog?
3988 o Use []
3989 Change the splash screen?
3990 Change the release name in the About dialog (aboutdialog) (not needed for bug fix)
3991 and copyright years.
3992 git add the new splash screen pixmap
3993 Change the pixmaps/Makefile.am for the current splash screen image
3994
3995 configure with configure-it-for-release
3996 make clean && make
3997 o make dist to make a tar-ball
3998 Use this to untar and make a build - this will test that the tarball has
3999 all the files before commit:
4000 cd ../build-coot-1.1
4001 and untar it there
4002 copy into the new directory the script configure-it.
4003 configure and make check
4004 o git status # what did you forget to add?
4005 o are the shaders up to date?
4006 o Transfer the dist tar to hal and build it there
4007 o git commit -a
4008 o git tag Release-0.x.y
4009 o git push origin Release-0.x.y # publish the tag
4010 o git push # push the actual release commit
4011 o Update latest version info on coot web page:
4012 cd Projects/coot/web/index.html
4013 o Release on Github
4014 o update libcootapi documentation
4015 o update coot python documentation
4016 o Blog post
4017 o Mail mailing list
4018
4019 ---
4020 Mon Jan 12 00:17:05 GMT 2009
4021
4022 INFO:: run libcheck from a pdb file:
4023
4024 Y
4025 _FILE_L /home/paule/ccp4i/rnase/STU_bondlist.cif
4026 _MON STU
4027 _SRCH N
4028 _FILE_O /home/paule/ccp4_scr/RNAse_22
4029 _REF
4030 _END
4031
4032 Fine but where did /home/paule/ccp4i/rnase/STU_bondlist.cif come from?
4033
4034
4035 ---
4036 Mon Jan 12 17:26:40 GMT 2009
4037
4038
4039 INFO::
4040
4041 Nice example of sphere refinement:
4042
4043 set 37 B (or A) to rotamer 1.
4044
4045 Do "r" refinement. -> Wrong solution
4046
4047 Do "R" (sphere) refinment, PHE gets kicked and goes to the right
4048 solution (I wonder if refmac would do that?)
4049
4050 # not any more - they both work.
4051
4052 ---
4053 Mon Jan 12 22:43:50 GMT 2009
4054
4055 in wiggly-ligands, add an option to invert chiral centres
4056 (just in case the chemist made the wrong thing).
4057
4058
4059 ----
4060 Tue 20 Jan 2009 10:13:19 EST
4061
4062 Heres a failure that should not be...
4063
4064 Get monomer -> PAD.
4065
4066 Delete residue 3 from 1a72 and try to fit libchecked PAD.
4067
4068
4069 -----
4070 Fri 23 Jan 2009 17:31:50 EST
4071
4072 Paul Hubbard: I want to do rigid body refinement on the fragment
4073 of the active residue - don't make me click 2 residues to define
4074 the fragment - find it yourself
4075
4076 * You can do this now with "X" key binding (laertes)
4077
4078
4079 ----
4080 Sun 25 Jan 2009 04:57:33 EST
4081
4082 How about adding the rmsd bonds, angles (etc?) along with the
4083 chi squareds.
4084
4085
4086 ----
4087 Tue Feb 3 14:55:32 GMT 2009
4088
4089 INFO:::
4090
4091 std::FILE (e.g. used by gmp.h) is resolved by including cstdio
4092 (e.g. before including libguile.h).
4093
4094 ----
4095 Wed Mar 4 13:12:21 GMT 2009
4096
4097 Metal distances:
4098
4099 http://tanna.bch.ed.ac.uk/
4100
4101 -----
4102 Sat Feb 28 19:36:50 GMT 2009
4103
4104 when testing new tree code:
4105
4106 test: torsion general
4107 test: wiggly ligand best solution C* N9 C1* C2* is correct
4108 test: var4 and var4 for ATP and var1s for MPR
4109
4110 Note: revision 1917 has "new" mgtree code, which seems to work
4111 for wiggly ligands, but torsion angles are horrifically broken.
4112
4113
4114 ----
4115 Thu Mar 5 10:26:43 GMT 2009
4116
4117 Torsion general should optionally wag the chain or molecule (not
4118 just the rest of the residue). Frank von Delft, Cathy Lawson.
4119 Maia Cheney.
4120
4121
4122 -----
4123
4124 Better Credit for USF in get pdb and data.
4125
4126 3f5p has a nice ligand
4127
4128
4129 -----
4130 Tue Mar 24 19:05:54 GMT 2009
4131
4132 Let the Display Manager auto-resize on reading new pdb or map.
4133 [Frank von Delft]
4134
4135
4136 ---
4137 Wed Mar 25 19:09:38 GMT 2009
4138
4139 A tool to split out ions/ NA/ CL from a particular chain(?) and
4140 put them in their own chain.
4141
4142 Then isSolventChain() can work, and so renumber-waters can work.
4143
4144
4145 ----
4146
4147 Add a residue/chain selector (an mmdb string entry) to allow the
4148 selction for a ramachandran plot (put it at the bottom of the dialog).
4149
4150
4151 -----
4152 Thu Mar 26 18:39:42 GMT 2009
4153
4154 Adding a terminal residue:
4155
4156 the phi/psi pairs from a ramamchandran plot can't be the phi/psi
4157 for *one* residue, they
4158 must be psi of one and phi of the next (or the other way round).
4159 Hmm... needs some though.
4160
4161 ---
4162 Fri Apr 17 17:38:02 BST 2009
4163
4164 Worry about the generation of coot_wrap_*_pre.cc. Copying
4165 them from the build directory back to source dir. Do it more
4166 often so that these files are not out of date.
4167
4168 How can this be made easier/automated?
4169
4170
4171 ---
4172 Sat 16 May 2009 12:40:38 BST
4173
4174 It would be nice if when batton building, Coot realized that
4175 the maps was not sufficiently smoothly sampled and suggested
4176 to resample it.
4177
4178
4179 ----
4180 Thu May 21 15:11:17 BST 2009
4181
4182 Ligand search:
4183
4184 Fit libcheck_ZMR.pdb (jackal) to 2cml (without A1477 of course)
4185
4186 "Right here" mode.
4187
4188
4189 ----
4190 Fri May 15 14:37:13 BST 2009
4191
4192 how to move an svn repo:
4193 http://whynotwiki.com/How_I_moved_my_code_repository_to_Google_Code
4194
4195
4196 how to svn revert a particular revision (just this one)
4197 $ svn merge -c -5702 .
4198
4199 --
4200 Sun 17 May 2009 13:01:52 BST
4201
4202 compiling on bragg3
4203
4204 c-interface-mmdb.cc: In function 'CMMDBManager* mmdb_manager_from_python_expression(PyObject*)':
4205 c-interface-mmdb.cc:326: warning: deprecated conversion from string constant to 'char*'
4206 c-interface-mmdb.cc: In function 'PyObject* display_python(PyObject*)':
4207 c-interface-mmdb.cc:424: warning: deprecated conversion from string constant to 'char*'
4208
4209
4210 ----
4211 Sun 24 May 2009 11:27:12 BST
4212
4213 gtk2-build-status on cycle seems to being written by a gtk2
4214 build.
4215
4216 ----
4217 Mon May 18 23:28:41 BST 2009
4218
4219 Add to GUI talk: What's the difference between:
4220 Some function
4221 and
4222 Some function...
4223 ?
4224
4225 ----
4226 Wed May 20 00:16:05 BST 2009
4227
4228 Have go to atom open... on a bulding structure
4229
4230 file -> get 1gxt from pdb
4231
4232 (change molecule to (new) 1gxt
4233
4234 but the chains in the residue/chain tree do not change!
4235
4236 Bug!
4237
4238
4239 ---
4240 Thu 28 May 2009 23:16:29 EDT
4241
4242 Bug!
4243
4244 (On mac) restraints editor -> edit ESD for O C in ACT -> 0.0 (or
4245 anything) -> Coot resets it to 0.02 Grr.
4246
4247
4248 ---
4249 Sun 31 May 2009 09:32:42 EDT
4250
4251 read-cif-dictionary should return a result and should be
4252 tested against in greg tests.
4253
4254
4255 ---
4256 Tue Jun 2 02:52:49 EDT 2009
4257
4258 Herb Klei:
4259
4260 unsaved changes dialog should have a check button that
4261 allows/dissallows showing unsaved-only/all as menu items in the
4262 option menu.
4263
4264 It should start up as default showing only unsaved molecules.
4265
4266 See graphics_info_t::fill_unsaved_changes_dialog().
4267
4268
4269 * Done - sort of. The active molecule is the first unsaved molecule.
4270 It would be better to have a check button here:
4271 "Just molecules with unsaved changes?"
4272
4273 ---
4274 Mon Jun 8 17:28:43 BST 2009
4275
4276
4277 on rama refining pdb1h3y.ent (at the end, I think)
4278
4279 In /home/paule/autobuild/Linux-kalypso-pre-release-gtk2/share/guile/gtk-2.0/gtk.scm:
4280 147: 0* [apply #<procedure #f ()> ()]
4281 In unknown file:
4282 ?: 1 [#<procedure #f ()>]
4283 In /home/paule/autobuild/Linux-kalypso-pre-release-gtk2/share/coot/scheme/fitting.scm:
4284 ...
4285 212: 2 (let* ((imol-map #)) (func (car *multi-refine-spec-list*) imol-map) ...)
4286 213: 3* [fit-protein-rama-fit-function (4 "B" -10000 #f) 5]
4287 173: 4 (let ((imol #) (chain-id #) (res-no #) ...) (let (# #) (map # #) ...))
4288 177: 5 (let (# #) (map # #) ...)
4289 179: 6* [map #<procedure #f (alt-conf)> ...
4290 188: 7* [residue-alt-confs 4 "B" -10000 #f]
4291 In /home/paule/autobuild/Linux-kalypso-pre-release-gtk2/share/coot/scheme/coot-utils.scm:
4292 1456: 8 [reverse ...
4293 1457: 9* [f ...
4294 1457: 10* [residue-info 4 "B" -10000 #f]
4295 /home/paule/autobuild/Linux-kalypso-pre-release-gtk2/share/coot/scheme/coot-utils.scm:1457:21: In procedure SWIG_Guile_scm2newstr in expression (residue-info imol chain-id ...):
4296 /home/paule/autobuild/Linux-kalypso-pre-release-gtk2/share/coot/scheme/coot-utils.scm:1457:21: Wrong type argument in position 1: #f
4297
4298 ----
4299 Tue Jun 9 06:30:16 BST 2009
4300
4301 In a MET, move the SD to 2.85A from the CG/CE and then do rotamers.
4302 The SD and CE do not move. [HK]
4303
4304
4305 ----
4306 Tue Jun 9 06:30:23 BST 2009
4307
4308 MolProbity display clashes with Alt conf atoms handled correctly,
4309 currently it's a mess. [HK]
4310
4311
4312 ---
4313 Tue Jun 9 06:30:49 BST 2009
4314
4315 Update symmetry on Ctrl-G resno Return [HK]
4316
4317
4318 ----
4319
4320 Think about providing a syncing "service"
4321
4322 sync from here:
4323
4324 rsync is basically a free lib?
4325
4326 rsyncing from an ftp server directory tree?
4327
4328
4329 ----
4330
4331 Charles want to add "update mechanisms" to the "testing" talks
4332 day.
4333
4334
4335 Display the R-factors from the refmac log file somehow.
4336 Job for Bernhard?
4337
4338
4339 ----
4340
4341 Phil: gross structural changes in 7A anisotropic data (had higher
4342 resolution structure in a different conformation) for Den.
4343
4344
4345 ----
4346
4347 When cootaneer fails, what has it done? Why did it fails?
4348
4349
4350 ---
4351
4352 Think about "undo" on delete molecule form the display manager
4353
4354 validation -> check waters or density fit window, there are
4355 multiple copies of these that fall behind the main window
4356
4357 Using GNOME suse 11?
4358
4359 -----
4360
4361 Nick: compare pdb file to original sequence. As a validation tool
4362
4363 * Done.
4364
4365 ----
4366
4367 Easy way to make the baton build build backwards.
4368
4369 * Done.
4370
4371 ---
4372
4373 Phil (considering building from scratch ) "Join up these
4374 fragments for me"
4375
4376
4377 ---
4378
4379 fobs - fobs difference map made in coot, you need to define a scale
4380 for the maps.
4381
4382 minimize: sigma (fobs1 - (k+b)fobs2)
4383
4384 * consider phase? |FWT| can substitue for |Fobs| I guess.
4385 (considering phase only makes sense for isomorphous maps)
4386
4387 ----
4388
4389 shift-click and ctrl click on the file browser for file selection.
4390
4391 * Done.
4392
4393
4394 ----
4395
4396 In tests:
4397
4398 Fix non-printable characters.
4399
4400 Entered testcase - Read small molecule .res file
4401
4402
4403 WARNING:: failed to get AFIX handle for <DA> HIS N ,
4404 WARNING:: failed to get AFIX handle for <DA> HIS CA ,
4405 WARNING:: failed to get AFIX handle for <DA> HIS C ,
4406 WARNING:: failed to get AFIX handle for <DA> HIS O ,
4407 WARNING:: failed to get AFIX handle for <DA> HIS CB ,
4408 WARNING:: failed to get AFIX handle for <DA> HIS CG ,
4409
4410
4411
4412 ----
4413
4414 NCS Jumping with ligands: pdb2vt4.ent (from EDS) [Beta1 Adrenergic
4415 Receptor]
4416
4417
4418 ----
4419
4420 INFO:: when adding a Gtk2-only widget, you need to adds it
4421 create_xxx_dialog function to add-c-extern.sh
4422
4423
4424 ---
4425 Wed Jul 8 12:44:43 BST 2009
4426
4427 links should be dashed. 1ehz.
4428
4429 * Done.
4430
4431 ----
4432 Wed Jul 8 12:45:53 BST 2009
4433
4434 sequence view problems 1ehz
4435
4436 * Fixed.
4437
4438 ----
4439 Mon Jul 6 20:04:39 BST 2009
4440
4441 What's the Ubuntu way of checking for dependencies? (i.e. those
4442 in the README file)?
4443
4444 * dpkg-query. Done.
4445
4446
4447 ----
4448 Wed Jul 8 23:29:46 BST 2009
4449
4450 the tick marks for crashes-on-sphere-refine-maybe.pdb are not good.
4451
4452
4453 ----
4454 Sun Jul 12 12:07:56 BST 2009
4455
4456 how does add_alt_conf residue range work?
4457
4458 It doesn't! The function is not filled.
4459
4460
4461 ----
4462 Mon Jul 13 09:16:18 CDT 2009
4463
4464 Project for summer student:
4465
4466 improve b-factor validation test by finding the proper distribution
4467 of b-factors for residues (and include as a function of resolution)
4468 (and refinement program for amusement).
4469
4470 Another:
4471
4472 Code up Otwinowski and Richardson distributions for use in
4473 Ramachandran refinements. Compare and contrast. Do it well, and
4474 there could be a paper in this.
4475
4476 Another:
4477
4478 Add Pre-pro to Rama plot possibilities (may need to enhance
4479 clipper).
4480
4481
4482 ----
4483 Mon Jul 13 11:42:00 CDT 2009
4484
4485 molecule_class_info_t's get_residue() function has arguments in the wrong order.
4486
4487
4488 ----
4489 Tue Jul 14 15:11:53 CDT 2009
4490
4491 distances should make reference to the molecule from which them came
4492 and should go away when molecule is undisplayed or deleted.
4493
4494
4495 ---
4496 Tue Jul 14 19:19:07 CDT 2009
4497
4498 in backrubbing
4499 float
4500 molecule_class_info_t::backrub_rotamer(const std::string &...
4501
4502 can we (should we) delete the fragment_asc?
4503
4504
4505 ---
4506 Thu Jul 16 09:21:32 CDT 2009
4507
4508 what is 'errat' (validation of protein structures)?
4509
4510 what is 'modloop' - modelling of loops in protein structures.
4511
4512 ---
4513 Thu Jul 16 13:57:19 CDT 2009
4514
4515 The ligand fitting dialog in windows (i.e. the dialog of fitting
4516 ligand positions after the ligand fitting has completed) is
4517 missing.
4518
4519 ---
4520 Sun Aug 2 21:52:04 BST 2009
4521
4522 Use scm_from_locale_string() not scm_makfrom0str().
4523
4524
4525 ----
4526 Mon Aug 3 12:29:37 BST 2009
4527
4528 Show (4 sigma by default) outliers in the geometry analysis.
4529
4530 ----
4531 Wed Aug 5 18:28:07 BST 2009
4532
4533 side-chain weighting (slider?), useful for low-res refinement.
4534
4535 ---
4536 Tue Aug 4 13:04:58 BST 2009
4537
4538 INFO: install coot (autobuilder) dependencies on Ubuntu 9.04: -> 76
4539 packages.
4540
4541
4542 ---
4543 Sat Aug 8 09:10:22 BST 2009
4544
4545 openexr fink on mac uses OpenGL and frameworks.
4546
4547
4548 ---
4549 Mon Aug 10 14:18:16 BST 2009
4550
4551 Why does Ca + Ligands show the SAH in 1o9s, but not the SAM in in
4552 1nw3? [Steve Bellon]
4553
4554
4555 ---
4556 Tue Aug 4 13:04:58 BST 2009
4557
4558 side-chain weighting (slider?), useful for low-res refinement.
4559
4560
4561 ---
4562 Tue Aug 18 08:42:28 BST 2009
4563
4564 When adding waters, do a sphericity test. You need to know the
4565 resolution of the data and have pre-calculated tables of sphericity
4566 at various resolutions. So that requires a search of PDB data.
4567
4568 ---
4569 Thu 20 Aug 2009 10:13:21 EDT
4570
4571 JB et al:
4572
4573 Copy fragment 2bz1 //B/1-305 -> no atoms selected
4574
4575 Make the image type png
4576
4577 Don't display bumps - in the environment distances (so that
4578 biologist see the hydrogen bonds - but not the bumps (the are not
4579 interested in them)).
4580
4581 Unphosphorylate (change the residue type)
4582
4583 Add a key binding to cut side chains (shift K, perhaps).
4584
4585 * Done.
4586
4587 Perhaps the hydrogens on a ligand from probe is not working as
4588 you'd hoped. Try with several different ligands. See "Use
4589 write_connectivity to generate ligand hydrogens" in the rel-todo.
4590
4591 Then you will need to use the hydrogen conn file when running
4592 reduce.
4593
4594 It is reasonble for me to say he period is 0 and the sd is 0 on a
4595 rotatable bond. So coot should deal with that.
4596
4597 i.e. if the sd is 0, then no torsion restraint on that tor.
4598 also if the period is 0, there souold ben no torsion
4599 restraints.
4600
4601 The weight matrix refinement control dialog needs to be read/set.
4602
4603 We want button in the main toolbar to open a coordinaes file (so
4604 that we dont have to click and hold and select a menu item on the
4605 file men (Word does it). Same for cif and mtz. We need to make
4606 the open_coords_dialog() acceccesable from scripting.
4607
4608 split residue (his) and rotamers (try both from CA, and all).
4609
4610 Try rotamers on a alt confed residue.
4611
4612 Delete a water (shift W).
4613
4614 On adding a water, it defaults to adding to "Waters molecule" or
4615 something - stop doing that and if it is default/not assigned, then
4616 give me a dialog to assign it
4617
4618 Somehow go to reside "GTY" (let me type a triple letter).
4619
4620 The sequence alignement seems to fail, because lets say the protein
4621 starts with residue 11, the sequence alignemnt should be for the
4622 model, not the sequence. Needs investigating.
4623
4624 Residues with missing atoms: I want to use the . and , key on the
4625 generated list.
4626
4627 Same goes for the list from Find Waters. I want a list of waters
4628 in a dialog that I can use . and , with. Like questionable waters.
4629
4630 Backrub rotamer search on a PHE in a helix. -> terrible solution.
4631 Need to include clash terms.
4632
4633 User-define-click resets the cursor after it has run the
4634 function. This can be inconvenient, when user-defined-click calls
4635 itself at the end (e.g. we don't know how many times
4636 user-defined-click needs to be called - so we use it in one-by-one
4637 mode)
4638
4639 Try sphere refinement with hydrogens on. Check that convergence
4640 happens.
4641
4642 "SSM all" to this: give me a dialog, with an "all on" button.
4643
4644 chains ligands
4645 A D
4646 B E
4647 C F
4648
4649 SSM-all should copy across the ligands too - that is what we are
4650 most interested in. You will have to find which ligands should come
4651 with which chains.
4652
4653 NCS ghosts don't work with ligands/cofacors. Can you make it work
4654 with those too?
4655
4656 There should be quick way to undo/undisplay "highight intereting
4657 residue"
4658
4659 Make an uberfile with views, maps, proteinm models in it.
4660
4661 align vs pir sequence failed to do anything obvious.
4662 We then dis alignment-mismatches-gui by hand and it gave us a gui.
4663
4664 An "Insert residue" should take you to the nearest residue.
4665
4666 But the residue number is wrong for insertions.
4667 Mutations look fine.
4668
4669 In the colour map rotation for maps, let there be "an allowed range"
4670 on the colour wheel).
4671
4672 ----
4673
4674 In baton build, make it work better/more clearly when starting
4675 with no skeleton.
4676 -> ask me to make a skeleton
4677
4678 * Done.
4679
4680 Doing go to blob when the refiement map has not been set,
4681 needs better feedback.
4682
4683 * Done.
4684
4685 Sharpening a map, read in from a map: -> crash.
4686
4687 * Fixed
4688
4689 I want a function to set the refinment weight for me,
4690 i.e. it should do a triple refine and look at the chi squareds.
4691 Keep doing that with different weights until we get to 1.0.
4692
4693 * Scheduled.
4694
4695 The very low level map from phenix, makes refinement fail to
4696 converge without setting the map weight to 3000!
4697
4698 How about doing Ramachandran refinement with optional sphere refinement.
4699
4700 ---
4701 Sun Aug 23 16:43:37 EDT 2009
4702
4703 make_asc(CMMDBManager *mol) should be (also?) a constructor of an asc.
4704
4705 ----
4706 Mon Aug 24 16:57:58 EDT 2009
4707
4708 When doing add strand here, make the residues ALA
4709
4710 ----
4711 Mon Aug 24 16:58:02 EDT 2009
4712
4713 quit with no save state.
4714
4715 ----
4716 Mon Aug 24 17:02:29 EDT 2009
4717
4718 3 molecules loaded, 0 3 and 7
4719
4720 post-go-to-atom-window starts up showing 0.
4721
4722 Use the option menu to change to 3.
4723
4724 -> fails to update the residue list
4725
4726 Use the option menu to change to 0.
4727 Use the option menu to change to 3.
4728
4729 -> updates the residue list.
4730
4731 Probably due to this:
4732
4733 set-go-to-atom-molecule 3 (before post-go-to-atom-window)
4734
4735 but go to atom dialog starts up showing molecule 0.
4736
4737
4738 ----
4739 Mon Aug 24 17:17:35 EDT 2009
4740
4741 how do I start up coot and force it to read the state script?
4742
4743 ---
4744 Mon Aug 24 17:17:40 EDT 2009
4745
4746 can you make the display manager start up the "correct" size?
4747 (is it saved in the state script?)
4748
4749 ----
4750 Mon Aug 24 17:24:50 EDT 2009
4751
4752 Difference map peaks with a nice ligand, completely connected at 5
4753 sigma, there are 10 "peaks" on the ligand! when we peak search
4754 difference map.
4755
4756 ----
4757
4758 simple average of maps, many maps, something like difference-map function.
4759
4760 * Done.
4761
4762 ---
4763
4764 set map is *not* difference map! need this function
4765
4766 ---
4767 Mon Aug 24 17:42:55 EDT 2009
4768
4769 "library of things in crystallization: what is this blob: let me
4770 trivially select."
4771
4772 cryo-solvent molecule dialog: Where is this?
4773
4774
4775 ----
4776 Mon Aug 24 17:52:10 EDT 2009
4777
4778 Close the application with the X, don't save the state.
4779
4780 Perhaps, needs thinking about.
4781
4782
4783 ---
4784 Mon Aug 24 17:53:32 EDT 2009
4785
4786 On exit (or optional exit) save all modified moelcules with default
4787 save names.
4788
4789
4790 ---
4791 Tue Aug 25 10:09:07 EDT 2009
4792
4793 check the Chi-2 on a leucine. The dictionary is CA-CB-CG-CG2, but
4794 built-in is...? And how does that work with molprobity rotamers?
4795
4796 These also may be suspicious:
4797 THR VAL LEU ASP ASN GLU GLN ILE
4798
4799
4800 ---
4801 Tue Aug 25 10:54:57 EDT 2009
4802
4803 Pukka puckers? Dont use the out of plane distance, use the N1/9
4804 C1' vector and find the distance of the Phosphate from the
4805 extension of that line. It is more sensitive than the out of
4806 plane distance.
4807
4808 > 3.0A -> C3' says Jeff.
4809
4810
4811 Change the probe radius you can see potential interactions at longer distnaces.
4812 Jeremy: Try changing this at quarter angstrom increments.
4813
4814 David: how about looking at a "packing moment" - perhaps having to
4815 move a block first. Looking athe the dots along the edge of range of
4816 residues, moving the range of reisdues by a rotation/trans operator
4817 derives from the dots.
4818
4819
4820 ----
4821 Tue Aug 25 14:30:19 EDT 2009
4822
4823 2b4j: do a sequence association and add terminal residue (either
4824 at end or a test deleted residue)
4825
4826
4827 ----
4828 Tue Aug 25 14:30:19 EDT 2009
4829
4830
4831 set-hardware-stereo-angel-factor : typo somewhere? preferences?
4832
4833 * Done. c-interface.cc
4834
4835 ----
4836 parse-pisa-xml.scm :371 should check for #f in status
4837
4838
4839 148 in coot-utils.scm
4840
4841 0 "E" -10000 #f
4842
4843 wrong type in position 1: #f
4844
4845 ----
4846 Wed Aug 26 05:00:42 EDT 2009
4847
4848 Align & Mutate changes the residue numbers
4849
4850 Align & Mutate seems to do a rotamer fit of all residues, I didn't ask for that
4851
4852 In Align & Mutate, if I do not click the "autofit residues" nothing
4853 seems to happen, the sequence is not mutated. Oh, or possibly
4854 it mutated residues in the wrong place.
4855
4856
4857 ----
4858 Wed Aug 26 10:28:45 EDT 2009
4859
4860 with spw:
4861
4862 Allow me to have more cycles before saying "Time's Up"
4863
4864 Allow me to interupt a bad refinement with "Esc" key.
4865
4866
4867 ---
4868 Wed Aug 26 17:12:43 EDT 2009
4869
4870 get_rotamer_name_scm() needs to be passed an alt_conf?
4871
4872
4873 ----
4874 Wed Aug 26 17:18:58 EDT 2009
4875
4876 fix_nomenclature_errors() works on residues with alt confs?
4877
4878 * Punt.
4879
4880 rotamer_graphs() for residues with altconfs.
4881
4882 * Seems OK.
4883
4884 molecule-info-class's set_residue_to_rotamer_number() works with altconfs?
4885
4886 * No. The alt conf is not specified in the c-interface.h function (even).
4887
4888
4889 ----
4890 Sat Aug 29 06:47:18 BST 2009
4891
4892 get rid of GTK_ENABLE_BROKEN
4893
4894
4895 ---
4896 Sun Aug 30 10:21:50 BST 2009
4897
4898 JED request:
4899 extend the output capabilities of export-map so that it covers a
4900 molecule (say). "auto-extend".
4901
4902
4903 ----
4904 Tue Sep 1 19:17:15 BST 2009
4905
4906 Put phosphate backbone mode into symmetry.
4907
4908 * Done.
4909
4910 ----
4911 Fri Sep 4 13:40:49 BST 2009
4912
4913 It would be nice if the alignment results (e.g Validate vs PIR or
4914 Align & Mutate) came up in a slider
4915
4916
4917 ---
4918 Fri Sep 4 16:18:20 BST 2009
4919
4920 Project student idea: In refining RNA, it would be nice to
4921 have extra restraints to keep the base planes aligned. This
4922 could be done with a combination of angle and plane (pseudo)
4923 restraints as a mmCIF link. Write a program to generate these
4924 from a PDB file. You'll need a wiggle-room factor. Maybe
4925 generate an intermediate representation/file that the user can
4926 optionally edit and generate the dictionary from that.
4927
4928 Garib: 08/01/09
4929
4930
4931 If top/par file could be converted to the following type of
4932 instructions then you do not need to define everything in cif file
4933 (these are for torsion angles, all other restraints can be defined
4934 similarly)
4935
4936 General torsion angle restraints for any quartet of atoms:
4937
4938 external torsion first chain [ch] residue [res] insertion [ins] atom
4939 [n] [altecode [a]] next chain [ch] residue [res] insertion [ins]
4940 atom [n] [altecode [a] ] [symm y/n] next chain [ch] residue [res]
4941 insertion [ins] atom [n] [altecode [a] ] next chain [ch] residue
4942 [res] insertion [ins] atom [n] [altecode [a] ]
4943 [symm y/n] value <v> sigma <s> period> <p>
4944
4945 Exampl
4946
4947 external torsion first chain A residue 220 atom C next chain A
4948 residue 220 atom CA next chain A residue 220 atom C next chain A
4949 residue 221 atom N value -60 sigma 10 period 1
4950
4951
4952
4953 ----
4954 Fri Sep 4 16:59:29 BST 2009
4955
4956 It would be nice if coot::util::model_sequence() (or its argument -
4957 vseq) only allowed residues that were protein amino acids - thus we
4958 would not get problems of trying to mutate a SO4 into an ALA in
4959 Aligment vs PIR. (Yes, it is a stupid idea to put phosphates into
4960 protein chain, but some people do it).
4961
4962
4963 ---
4964 Sat Sep 5 10:17:51 BST 2009
4965
4966 in molecule-class-info-mutate.cc, align_and_mutate()
4967
4968 bool renumber_residues_flag = 0; // make this derived from the GUI one day
4969
4970
4971 ---
4972 Tue Sep 8 21:14:49 BST 2009
4973
4974 Summer student project: Use PDB to find distribution of B-factors
4975 around centre residue atoms. Find outliers. Make validation
4976 tool.
4977
4978
4979 ---
4980 Tue Sep 15 11:55:50 BST 2009
4981
4982 It would be nice to add the Ramachandran angles to the residue info
4983 dialog and a colour patch (like refinement dialog).
4984
4985
4986 ----
4987 Sat Sep 19 18:11:45 BST 2009
4988
4989 box-pack-end the "Play Views" button to the vbox (it's
4990 returned), rather than add it as a normal button (and
4991 currently new views go after the "Play Views" button which is
4992 ugly.
4993
4994
4995 ----
4996 Sat Sep 19 18:36:06 BST 2009
4997
4998 The bond parameters and bond colours dialogs need to be consolidated.
4999
5000 ----
5001 Mon Sep 21 15:43:47 BST 2009
5002
5003 student project:
5004
5005 In jiggle-fitting ligands, mask the density by the surrounding
5006 atoms of the molecule that it will be merged into. (and/or use
5007 them to make a bump/clash score).
5008
5009 Go through the ligands of the PDB, how well does this method work?
5010
5011
5012 ----
5013 Tue Sep 22 17:24:48 BST 2009
5014
5015 http://www.chembiogrid.org/index.html
5016 What services do they provide that we can use? SMILES->3D?
5017
5018
5019 ---
5020 Wed 23 Sep 2009 22:08:41 BST
5021
5022 check the fps of rnase coords, say, when it is molecule 0 and when
5023 it is molecule 10, with the others closed or undisplayed.
5024
5025
5026 ----
5027 Thu 24 Sep 2009 18:07:02 BST
5028
5029 Student project:
5030 The use of sound as a form of user-feedback in molecular
5031 model-building
5032
5033 ---
5034 Mon Sep 28 14:26:25 BST 2009
5035
5036 molecule_class_info_t::find_ncs_matrix(int SelHandle1, int SelHandle2) const;
5037 does not pass the graphics_info_t::ncs_matrix_flag. It should (and
5038 should not use it statically).
5039
5040
5041 ---
5042 Tue Sep 29 11:39:05 BST 2009
5043
5044 Doing a rotamer search should first to an automatic nomenclature
5045 check (and correction if necessary), e.g. 105A in 1a0j.
5046
5047 ---
5048 Tue Sep 29 13:18:33 BST 2009
5049
5050 move minimol into coot-utils and make that just one coot-utils lib.
5051
5052
5053 ----
5054 Wed Sep 30 14:55:21 BST 2009
5055
5056 Several tool bar function (autofit rotamer, rotamers, edit chi
5057 angles, pepflip, side-chain-180, edit-backbone,
5058 mutate&auto-fit-rotamer, simple-mutate, add-peptide, add-alt-conf)
5059 might work better using active-atom.
5060
5061 Big change.
5062
5063
5064 ----
5065 Wed Oct 7 15:44:59 BST 2009
5066
5067 Ingo K: if you try to add a c-terminal residue, coot does recognize
5068 the residue number correctly, but will not do any real space
5069 refinement. if you output the coordinates, you will see that the
5070 new residue is attached to the end of the B chain, i.e. BEHIND the
5071 waters. i would guess that this breaks real space refinement in
5072 coot. i would guess ... (it asks to increase
5073 max_number_refine_residues or so)
5074
5075 ----
5076 Sat Oct 10 08:36:45 BST 2009
5077
5078 Student project. Add metal distances (water validation).
5079 consolidate water validation. Run difference map water validation
5080 across all structures in the PDB with anomalous data. See "metal
5081 distances" above.
5082
5083
5084 ----
5085 Mon Oct 12 19:07:07 BST 2009
5086
5087 Get real-space R factors (or correlations) per residue for many
5088 structures in the PDB (as a function of resolution say). Use these
5089 to validate *this* structure.
5090
5091
5092 ---
5093 Sat Oct 17 05:43:53 EDT 2009
5094
5095 on starting up fresh coot:
5096
5097 (set-default-initial-contour-level-for-difference-map -1075912448.00)
5098 (set-idle-function-rotate-angle -1075912448.00)
5099
5100 set-default-bond-thickness needs to be added to the history
5101
5102
5103 ----
5104 Wed Oct 14 11:05:03 BST 2009
5105
5106
5107 student project: implement hole:
5108
5109 O.S. Smart, J.M. Goodfellow and B.A. Wallace (1993)
5110 The Pore Dimensions of Gramicidin A
5111 Biophysical Journal 65:2455-2460.
5112
5113 http://d2o.bioch.ox.ac.uk:38080/doc/index.html
5114 http://d2o.bioch.ox.ac.uk:38080/
5115
5116
5117 ----
5118
5119 student project:
5120
5121 o nucleic acid analog of Ramachandran plot (theta, eta), see message
5122 from Bill Scott:
5123 http://www.csb.yale.edu/people/pyle/software/index.html
5124
5125
5126 ----
5127
5128 student projects:
5129
5130 o NOE violations (or successes)
5131
5132 ----
5133 Mon Oct 19 10:09:42 EDT 2009
5134
5135 o maybe base-pair alignment (and preparation of pseudo-restraints)
5136 is a student project.
5137
5138 o use the sphere tool (interactive position and radius) to select a
5139 set of residues - then use those for rigid-body refinement.
5140
5141 ----
5142 Fri Oct 16 14:38:00 BST 2009
5143
5144 o INFO:: mac compile problems:
5145 check out the static analyser:
5146 http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/9
5147
5148
5149 ----
5150 Mon Oct 19 10:39:58 EDT 2009
5151
5152 The baton build problem: Gina
5153
5154 Produce like this (not verified):
5155 Calc -> Map Skeleton -> On
5156
5157 Ca Baton mode mode, open, close, open, undo, close
5158 [candidate positions displayed]
5159 Ca mode,
5160 Undo
5161 Accept
5162 Undo
5163 Accept -> Now the baton positions atoms are gone.
5164
5165
5166 ----
5167 Tue Oct 20 11:29:07 EDT 2009
5168
5169 Need to add Pre-PRO to clipper.
5170
5171
5172 ---
5173
5174 consider looking for unsatified H-bond donors and acceptors, for
5175 NMR structures in particular c.f. cing?
5176
5177
5178 ----
5179 Wed Oct 21 13:56:38 EDT 2009
5180
5181 For VTF: Talk with Kevin about running sequins on the Chang
5182 structures (backwards and forwards).
5183
5184
5185 ----
5186 Wed Oct 21 16:49:43 EDT 2009
5187
5188 For VTF: make sure that the findligand is usable with absolute
5189 levels of density.
5190
5191
5192
5193 ----
5194
5195 Jane: some comment about someone who made a server? program that
5196 searches for (general?) active sites in proteins.
5197
5198 Find out more.
5199
5200
5201 ---
5202 Sat Oct 24 00:30:39 EDT 2009
5203
5204 Filling density with close dummy atoms and then refining them:
5205
5206 Acta Cryst. (1997). D53, 540-543
5207 Local Improvement of Electron-Density Maps
5208 A. G. Urzhumtsev
5209
5210 Improves weak loop density?
5211
5212
5213 ----
5214 Sun Oct 25 17:54:59 EDT 2009
5215
5216
5217 (from Garib)
5218 >
5219 > libcheck
5220 >
5221 > file_l <dicntionary_file>
5222 > mon <monomoer_you_want>
5223 > nodist y
5224
5225
5226 ----
5227
5228 INFO:: Friesner, R. A et al Glide: a new approach for rapid,
5229 accurate docking and scoring, 1. Method and assessment of docking
5230 accuracy J. Med. Chem 2004, 47, 1739-1749
5231
5232 ----
5233 Sat Nov 14 19:58:48 GMT 2009
5234
5235 needs cleanup:
5236
5237 in several of the delete_x() functions,
5238 e.g. delete_atom_by_atom_index, delete_atom, delete_residue, we
5239 have:
5240
5241 CResidue *residue_p =
5242 graphics_info_t::molecules[imol].get_residue(resno, ins_code, chain_id);
5243 if (residue_p) {
5244 coot::residue_spec_t spec(residue_p);
5245 g.delete_residue_from_geometry_graphs(imol, spec);
5246 }
5247
5248 This needs to be rationalised into (perhaps)
5249 delete_residue_from_geometry_graphs_maybe(chain_id, resno, ins_code);
5250
5251
5252
5253 ----
5254 Sat Nov 14 12:56:21 GMT 2009
5255
5256 Take a shelx molecule and add 10 to the coords (means fixed). Now
5257 display symmetry. Fail. See message from Z Dauter.
5258
5259 ----
5260 Mon Nov 30 10:23:48 GMT 2009
5261
5262 check that users of the fill_chain_option_menu function work
5263 nicely. They now should use menu_item_label(item) in the callback,
5264 not the horrible casting of pointer to user_data to char *s.
5265
5266
5267 ---
5268 Tue Nov 24 17:07:20 GMT 2009
5269
5270 An extension to backrub rotamer:
5271
5272 For each rotamer: try chi-by-chi to improve the fit to the density
5273 of the side chain. It will probably only need 2 rounds. Needs
5274 non-trivial minimiser though (having said that, it's only a series
5275 of 1-d functions).
5276
5277 Hmmm... what to do about clash_score...? The variation in clash
5278 score wil be relatively low and ignorable?
5279
5280
5281 ---
5282 Mon Dec 7 16:32:38 GMT 2009
5283
5284 Ed Pozharski:
5285
5286 Coot severely slows down the system when I try to generate the
5287 density fit graph using multi-model (NMR-style) pdb file. First,
5288 it apparently generates as many dialogs as there are models, yet
5289 every graph has multiple bars (which is not very useful since they
5290 are overlapping). Computer becomes unresponsive for some time, but
5291 when it comes back everything is very slow (except that I can
5292 rotate and zoom in smoothly, things get slow if I re-centre).
5293
5294 The problem appears to be that coot eats a lot of RAM under these
5295 circumstances. I have 4Gb here and it's still not enough so
5296 machine starts using the swap and thus gets very-very slow.
5297 Interestingly, most of the extra RAM is owned by Xorg, not coot,
5298 and is not freed even when I exit (but it is when I log out).
5299
5300 If I load the same number of models as individual pdb-files, I can
5301 generate multiple density fit graphs with virtually undetectable
5302 increase in memory use.
5303
5304
5305 ---
5306 Mon Dec 7 17:39:09 GMT 2009
5307
5308 do the 1 2 3 4 keys work for edit chi angles?
5309
5310
5311 ----
5312 Mon Dec 7 17:43:08 GMT 2009
5313
5314 rotate peptide to optimise a combination of the density fit of
5315 mainchain (3) atoms and the ramachandran plot.
5316
5317 ----
5318 Mon Dec 21 11:14:22 GMT 2009
5319
5320 In the Go To Atom, rightmouse should activate a pop-up,
5321
5322 Highlight "MET"s (for example) taking the residue type of the residue label we clicked on
5323 Highlight type -> entry
5324
5325 ---
5326 Tue Dec 22 08:03:46 GMT 2009
5327
5328 o (set-find-hydrogen-torsion 1) and edit chi angles on a SMILES
5329 CCCCCC. The torsions are in the wrong order. ::: 4
5330
5331
5332 ---
5333 Sun Dec 27 02:09:22 GMT 2009
5334
5335 o the arguments of molecule_info_class_t get_residue() are the
5336 wrong way round.
5337
5338 * Done.
5339
5340
5341 ---
5342 Mon Dec 28 02:23:49 GMT 2009
5343
5344 Problem?
5345
5346 Try refining a post-reduced model (e.g. tutorial-modern.pdb)
5347 reidues 1A, what is happening to the hydrogens?
5348
5349 ---
5350 Tue Dec 29 14:44:49 GMT 2009
5351
5352 Improve the NBC restraints so that regularization doesn't cause
5353 clashes. eg. regularize A 45-47 with
5354 (set-do-probe-dots-post-refine 1)
5355
5356
5357 ---
5358 Fri Jan 15 21:06:12 GMT 2010
5359
5360 double-clicking on go to atom residue, elg. E2B from 3hb5, should
5361 take you to the atom closest the the centre of the residue, not the
5362 first residue (it doesn't have a CA of course).
5363
5364
5365 ----
5366 Sat Jan 16 09:16:32 GMT 2010
5367
5368 tutorial example
5369
5370 1bav, Difference map peaks, Bad rotamers, missing NCS waters
5371
5372
5373 ---
5374 Sun Jan 17 12:51:25 GMT 2010
5375
5376 Simple mutate base in 1v15. This has PDB standard base names?
5377
5378
5379 ----
5380 Thu Jan 21 11:31:07 GMT 2010
5381
5382 o Read in coot-ccp4/monomer-BIP.pdb and regularize. -> No restraints.
5383 Dynamic add does not use libcheck. should it?
5384 ::: 1
5385
5386
5387 ----
5388 Thu Jan 21 23:23:30 GMT 2010
5389
5390 o Refine: click on ASN, click on terminal NAG, get residues that
5391 are linked and use "sphere" refinement for just those residues.
5392
5393
5394 ---
5395 Mon Jan 25 15:10:19 GMT 2010
5396
5397 on finding a glycosidic linkage, Coot should do the DEL-xxx
5398 mod if needed.
5399
5400 ---
5401 Mon Jan 25 17:22:45 GMT 2010
5402
5403 sphere refine on a water (with no neighbours). -> No
5404 restraints dialog. [JED]
5405
5406 ---
5407 Tue Jan 26 16:47:45 GMT 2010
5408
5409 When doing refinement, check that all the non-H atoms of the
5410 selected residues appear in the restraints. If not, give a dialog
5411 and run a hook (which is passed a list of the failing residues
5412 specs and types). [JED].
5413
5414
5415 ---
5416 Wed Jan 27 01:47:31 GMT 2010
5417
5418 Make sure guile is 1.8.7 and GSL is 1.13
5419
5420
5421 ---
5422 Sat Feb 6 16:58:24 GMT 2010
5423
5424 Small baton build tutorial:
5425
5426 Build the kinase consensus sequence peptide: 2q0n
5427
5428
5429 ---
5430 Sat Feb 13 14:35:12 GMT 2010
5431
5432 INFO:: 3CH6 is nice for showing NCS skipping. Or is it a case of
5433 the wrong spacegroup? NCS jumping.
5434
5435 Look at the ligand near 177
5436
5437
5438 ---
5439 Mon Feb 15 02:32:00 GMT 2010
5440
5441 (Refmac) Additional restraints:
5442
5443 exte dist first chain A resi 2 atom CA second chain A resi 5 atom CA value 4.0 sigma 0.02
5444 http://www.ccp4.ac.uk/dist/html/refmac5/keywords/keywords_5_5.html#External
5445
5446 ----
5447 Wed Feb 17 03:05:21 GMT 2010
5448
5449 Sphere refinement with alt confs creates problems (no progress).
5450 e.g.: around B 425 in 3h7w.
5451
5452 ----
5453 Fri Feb 26 11:21:07 GMT 2010
5454
5455
5456 All pairs NCS rmsd comparison. (Requested by FvD)
5457
5458 GK:
5459
5460 - my favourite plot would be the "CD plot" (but then again, it
5461 would, wouldn't it?) - see for instance:
5462
5463 http://xray.bmc.uu.se/cgi-bin/gerard/image_page.pl?image=usf/pics/cdplot_1ldn.gif
5464
5465
5466 ----
5467 Sat Feb 27 13:01:00 GMT 2010
5468
5469 Missing waters using this PDB file:
5470
5471 tutorial-modern-symmetry-2-bad-water-finding-using-this-protein.pdb
5472
5473
5474 ---
5475 Wed Mar 3 14:16:25 GMT 2010
5476
5477 INFO:: To stop being in DOS mode:
5478
5479 M-x set-buffer-file-coding-system
5480 undecided-unix
5481
5482 -> save
5483
5484
5485 ----
5486 Thu Mar 25 15:55:10 GMT 2010
5487
5488 EJD: let me click on one atom in a chain to convert it (the whole
5489 chain) to mainchain.
5490
5491
5492 ---
5493
5494 here's one for the validation tutorial: 1m1f
5495
5496
5497 ---
5498 Thu May 13 13:36:31 BST 2010
5499
5500
5501 JED comments:
5502
5503
5504 - Ball and stick does not obey show hydrogens off.
5505
5506 Agreed. This should be fixed.
5507
5508 - Environment distances are shown for hydrogens -- makes the view
5509 pretty crowded.
5510
5511 Don't know how to "fix"
5512
5513 - The "Apply" button in the bond parameters window seems superfluous.
5514
5515 Agreed, it's a bit non-canonical.
5516
5517 * Done.
5518
5519 ----
5520 Mon May 17 16:46:04 BST 2010
5521
5522 Andrew Sharff:
5523
5524 CMH
5525 BEZ and BOX
5526 many: methyl mercury
5527
5528 * a problem for PDBe, not Eugene.
5529
5530 ----
5531
5532 Andrew Sharf::
5533
5534 Just refining / building a structure that has a number of LINK and
5535 SSBOND cards in the PDB header. I have had to renumber one of the
5536 chains to make the numbering consistent with other structures.
5537
5538 However, on saving output, the residue numbers in the SSBOND and
5539 LINK lines is not changed.
5540
5541
5542 ----
5543 Tue May 18 11:25:15 BST 2010
5544
5545 ----
5546 BN: When alt-confing ligands, I'd like to see a slide-bar to set
5547 the occs.
5548
5549 ----
5550
5551 On loading the output of refmac, give us a way of seeing the "most
5552 moved" atoms. (seems to be a useful thing to see when developing
5553 lbg).
5554
5555 ----
5556 Fri May 7 12:48:16 UYT 2010
5557
5558 re: Kate's project: c.f. SPASM (USF?)
5559
5560 ----
5561 Thu May 20 18:38:52 BST 2010
5562
5563 o Bob Nolte: "clean up structure button"
5564
5565 reorder chains - renumber waters - arrange water around
5566 protein - fix nomenclature errors - merge water chains
5567
5568 ----
5569 Sun May 23 13:35:38 BST 2010
5570
5571
5572 2WOT: lbg the ligand and re-import back to Coot main. Now try to
5573 fit the ligand.
5574
5575 It's hard. Make it easier. Identify matched atom (atom name map) and
5576 the rotatable bonds and match them between reference ligand and new
5577 ligand. Now set the rotatable bonds to those values (before
5578 minimisation).
5579
5580 o need some cleverness to match and set the chi angles of the
5581 rotatable bonds (before lsqing, even, I guess) (or at least,
5582 an LSQ is needed afterwards).
5583
5584
5585 ---
5586 Thu May 20 18:45:29 BST 2010
5587
5588 put in Edit Peferences the settings for these:
5589
5590 (define *clear-out-backup-run-n-days* 7)
5591 (define *clear-out-backup-old-days* 7)
5592
5593
5594 ---
5595 Thu May 20 18:50:50 BST 2010
5596
5597 o Bob Nolte: give me a slider to set the alt confs.
5598
5599 ---
5600 Thu May 20 18:58:26 BST 2010
5601
5602 o I want be able to edit bond colours and params from the molecule
5603 in the display manager.
5604
5605
5606 ----
5607 Sun May 23 13:37:55 BST 2010
5608
5609 Ian Tickle:
5610
5611 o I have long been advocating the use of the RMS density
5612 deviation Z-score statistic for this purpose, i.e.
5613 sqrt(sum(delta_rho2)/Npoints)/sigma(rho), where delta_rho is a
5614 grid-point value in a 2(mFo-DFc) map, the sum is over the region
5615 of interest (atom, residue, side-chain etc), Npoints is the
5616 number of grid points in the region, and sigma(rho) is the
5617 uncertainty in the density (which must be estimated for the
5618 asymmetric unit of the map, NOT just the region). Note that it's
5619 equivalent to the negative log-likelihood, which IMO is the
5620 appropriate statistic for this situation, if it's assumed that
5621 the errors in the density have a normal distribution.
5622
5623
5624 -----
5625
5626 integration of calcuated chemical shift with molecular dynamics...
5627 interesting..
5628
5629 ----
5630 Fri Jun 4 13:24:37 CEST 2010
5631
5632
5633 Judit Debreczeni wrote:
5634
5635 > 1. coot remembers the presence of additional representations from the
5636 > state file. It would be nice if it also remembered if they were
5637 > switched on or off.
5638
5639 Funny - I was annoyed by that lack of feature just last night.
5640
5641 * Done now.
5642
5643 > 2. If there are two different ligands bound to the same active site
5644 > with partial occupancies (with alt conf identifiers A and B), coot
5645 > will still draw the environment distances between them, making the
5646 > view quite crowded.
5647
5648 Bleugh. quite right.
5649
5650
5651 > 3. For covalent ligands (but also for SS-bonds etc): if I change the
5652 > chain ID, the pdb header will still refer to the original chain IDs in
5653 > therms of LINK and SS-bond records.
5654 > It would be nice if the header could be automatically updated. (Or if
5655 > not, it would be nice to have a "view and edit pdb header" option
5656 > somewhere.)
5657
5658 Second person, maybe 3rd including Eleanor, to complain about this.
5659 Agreed.
5660
5661
5662 > 4. Currently it is frustratingly tedious to set the occupancy for
5663 > newly added alt conf ligands.
5664
5665 Do you know about:
5666
5667 (set-add-alt-conf-new-atoms-occupancy 0.2)
5668
5669 before splitting?
5670
5671 If that won't do, a trivial function to fix occs of given alt conf can
5672 be made by wrapping set-atom-attributes
5673
5674
5675 > It would be nice if we had a similar
5676 > mechanism to what is used for standard residues (without the rotamer
5677 > bit, of course) -- i.e. a slide bar or some such.
5678
5679 Yes. That can be done - even with scripting - by above system.
5680
5681 -----
5682 Wed Jun 9 10:40:31 CEST 2010
5683
5684 Topf et al structure (2008?)
5685
5686 Flex-EM, hinge-based flexable fitting of protein structures to EM
5687 map (decent/good resolution maps).
5688
5689 ----
5690 Wed Jun 9 12:13:44 CEST 2010
5691
5692 Eddy Arnold
5693
5694 "strategic flexibility" (wiggling and jiggling)
5695
5696 Janssen et al. 2005, J. Med Chem. 48, 1901 (perhaps)
5697
5698 hydrophobic pocket - adaptabilty to changes:
5699
5700 2004 Das,
5701
5702 2008
5703
5704 ligprep in schrodinger suite, preparing for glide
5705
5706 make the "omega" geneation of ligand conformers usable at the
5707 scripting layer
5708
5709 ,... e.g give me 2000 low energy conformers.
5710
5711 Janssen: Centre of Molecular Design
5712
5713
5714 ----
5715 Wed Jun 9 13:17:27 CEST 2010
5716
5717 Open Display manager.
5718 Add an add rep (ball & stick, say).
5719 Turn off all add reps of this molecule.
5720 Close display manager.
5721 Open Display Manager
5722
5723 -> the "All" button has disappeared.
5724
5725
5726 ----
5727 Fri Jun 11 11:56:15 CEST 2010
5728
5729
5730 debora makino - elena conti's lab.
5731
5732
5733 ------
5734
5735 > How do you shutdown coot such that it doesn't test whether backups are
5736 > needed?
5737 >
5738 > (define clear-backups-maybe (lambda () (delete-coot-backup-files
5739 > 'delete) #f))
5740
5741 Add to docs.
5742
5743 * Done.
5744
5745 ----
5746
5747 1T5S nice map to play with?
5748
5749 TT:
5750 flood fill density with dummy atom,
5751 move the atoms the centre line.
5752 find characteristic ca-ca-ca-ca geometry.
5753 link bits together. 15 residues/second
5754
5755 ------
5756 Thu Jul 22 21:40:12 EDT 2010
5757
5758 John Spence: Molecular movies:
5759 -> make it easy to make movies from a series of electron density
5760 maps (mtz files).
5761
5762 Consider interpolation.
5763
5764 ----
5765
5766 Update NCS maps based on local NCS.
5767 generate NCS matrix by local LSQing.
5768
5769 -------
5770
5771 Garib: new refmac restraints type:
5772 Kullback - Leibler divergence.
5773
5774 -----
5775 Fri Jul 30 14:54:42 BST 2010
5776
5777 Fed 12 bins don't run on Fed 13.
5778
5779
5780 ----
5781 Thu Aug 5 05:23:49 BST 2010
5782
5783 Use rdkit/openbabel for Gasteiger-Marsili partial charge calculation
5784
5785
5786 -----
5787 Thu Aug 5 06:32:43 BST 2010
5788
5789 Do I have the surface normals reversed?
5790 Try reversing the normals - does that make backface culling work?
5791
5792 -----
5793 Mon Aug 9 08:12:35 BST 2010
5794
5795 o CA Zone + ligands has thick hydrogen sticks (e.g. with-ligand.pdb)
5796
5797 * To fix this requires a big change in the colour system of coot. The
5798 xth colour is grey and gregy is this (hydrogen sticks) unless
5799 make_graphical_bonds is called with "no_thinning" (CA mode). Tricky.
5800
5801
5802 -----
5803 Sun Aug 15 12:59:12 BST 2010
5804
5805 o in edit chi mode, if I mouse over another chi box then that bond
5806 gets highlighted. It shouldn't update hilighted bond when I am
5807 in edit chi mode. Or something. See JED mail from a few days ago.
5808
5809
5810 -----
5811 Wed Sep 29 10:35:58 BST 2010
5812
5813 Transparent sphere with glutsphere:
5814
5815 martinm:
5816
5817 You can do it by enabling culling, and using two draw calls - one
5818 with glFrontFace(GL_CW) and another with glFrontFace(GL_CCW). First
5819 draw call will draw back faces of sphere, and second one front
5820 faces, therefore you will get transparent sphere with correct
5821 polygons rendered from back to front.
5822
5823 http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=250770
5824
5825
5826 ----
5827 Thu Sep 2 11:50:17 BST 2010
5828
5829 Use GL_ONE_MINUS_DST_COLOR in blending with white background edges?
5830
5831 http://msdn.microsoft.com/en-us/library/ms537046.aspx
5832
5833 ----
5834 Thu Sep 2 11:40:03 BST 2010
5835
5836 Libraries have been installed in:
5837 /lmb/wear/emsley/coot/fed-12/lib
5838
5839 use the `-Wl,-rpath -Wl,LIBDIR' linker flag
5840
5841
5842 -----
5843 Interesting valgrind problems:
5844
5845 ==23673== 67,982 bytes in 2,432 blocks are possibly lost in loss record 9,100 of 9,127
5846 ==23673== at 0x4C28CC1: operator new(unsigned long) (vg_replace_malloc.c:261)
5847 ==23673== by 0xFE8ED98: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
5848 ==23673== by 0xFE8F8B4: ??? (in /usr/lib/libstdc++.so.6.0.13)
5849 ==23673== by 0xFE8FA52: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
5850 ==23673== by 0x6437F07: coot::protein_geometry::simple_mon_lib_chem_comp(CMMCIFLoop*) (protein-geometry.cc:1128)
5851 ==23673== by 0x643D3FA: coot::protein_geometry::init_refmac_mon_lib(std::string, int) (protein-geometry.cc:281)
5852 ==23673== by 0x643F0F9: coot::protein_geometry::init_standard() (protein-geometry.cc:2751)
5853 ==23673== by 0x4A5E2C: graphics_info_t::init() (graphics-info.h:856)
5854 ==23673== by 0x4A257B: main (main.cc:269)
5855 ==23673==
5856
5857 another:
5858
5859 ==23673== by 0xFE8F8B4: ??? (in /usr/lib/libstdc++.so.6.0.13)
5860 ==23673== by 0xFE8FA52: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char
5861 > const&) (in /usr/lib/libstdc++.so.6.0.13)
5862 ==23673== by 0x6437EDB: coot::protein_geometry::simple_mon_lib_chem_comp(CMMCIFLoop*) (protein-geometry.cc:1124)
5863 ==23673== by 0x643D3FA: coot::protein_geometry::init_refmac_mon_lib(std::string, int) (protein-geometry.cc:281)
5864 ==23673== by 0x643F0F9: coot::protein_geometry::init_standard() (protein-geometry.cc:2751)
5865 ==23673== by 0x4A5E2C: graphics_info_t::init() (graphics-info.h:856)
5866 ==23673== by 0x4A257B: main (main.cc:269)
5867 ==23673==
5868
5869 another:
5870
5871 ==23673== 86,435 bytes in 2,432 blocks are possibly lost in loss record 9,106 of 9,127
5872 ==23673== at 0x4C28CC1: operator new(unsigned long) (vg_replace_malloc.c:261)
5873 ==23673== by 0xFE8ED98: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
5874 ==23673== by 0xFE909E9: std::string::_M_mutate(unsigned long, unsigned long, unsigned long) (in /usr/lib/libstdc++.so.6.0.13)
5875 ==23673== by 0xFE90B7B: std::string::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long) (in /usr/lib/libstdc++.so.6.0.13)
5876 ==23673== by 0x6437FFD: coot::protein_geometry::simple_mon_lib_chem_comp(CMMCIFLoop*) (basic_string.h:970)
5877 ==23673== by 0x643D3FA: coot::protein_geometry::init_refmac_mon_lib(std::string, int) (protein-geometry.cc:281)
5878 ==23673== by 0x643F0F9: coot::protein_geometry::init_standard() (protein-geometry.cc:2751)
5879 ==23673== by 0x4A5E2C: graphics_info_t::init() (graphics-info.h:856)
5880 ==23673== by 0x4A257B: main (main.cc:269)
5881 ==23673==
5882
5883 Another:
5884
5885 ==23673== 2,502,720 bytes in 2 blocks are possibly lost in loss record 9,123 of 9,127
5886 ==23673== at 0x4C28939: operator new[](unsigned long) (vg_replace_malloc.c:305)
5887 ==23673== by 0x552A776: CIsoSurface<float>::returnTriangles(clipper::Xmap<float> const&, clipper::Coord_frac const&, float, coot::Cartesian) const (CIsoSurface.cpp:1576)
5888 ==23673== by 0x552B3D6: CIsoSurface<float>::GenerateSurface_from_Xmap(clipper::Xmap<float> const&, float, float, coot::Cartesian, int) (CIsoSurface.cpp:616)
5889 ==23673== by 0x6ED8A1: molecule_class_info_t::update_map_triangles(float, coot::Cartesian) (molecule-class-info-maps.cc:534)
5890 ==23673== by 0x6EDC91: molecule_class_info_t::update_map_internal() (molecule-class-info-maps.cc:256)
5891 ==23673== by 0x6EDCAE: molecule_class_info_t::update_map() (molecule-class-info-maps.cc:244)
5892 ==23673== by 0x5D74A4: graphics_info_t::update_things_on_move() (graphics-info.cc:2095)
5893 ==23673== by 0x5D74E8: graphics_info_t::update_things_on_move_and_redraw() (graphics-info.cc:2086)
5894 ==23673== by 0x4F4ADC: set_rotation_centre (c-interface.cc:2726)
5895 ==23673== by 0x59B473: _wrap_set_rotation_centre(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*) (coot_wrap_guile_gtk2.cc:11925)
5896 ==23673== by 0x87E633D: deval (in /home/paule/autobuild/Linux-scylla-pre-release-gtk2/lib/libguile.so.17.3.1)
5897 ==23673== by 0x87E732A: scm_i_eval_x (in /home/paule/autobuild/Linux-scylla-pre-release-gtk2/lib/libguile.so.17.3.1)
5898
5899 ----
5900 Sun Oct 10 12:14:21 EDT 2010
5901
5902 o trivial but useful addition, but a button "non-standard residue"
5903 at the bottom of the residue list when mutating.
5904 ::: 0.5
5905
5906 -------
5907 Sat Nov 13 16:34:37 GMT 2010
5908
5909 o JED: environment distances when there are hydrogens on the ligand should not
5910 show interactions with the hydrogen base atom when there is an interaction
5911 with the hydrogen.
5912
5913 o JED: Display manager: all molecules to xxx representation, (option menu, say).
5914
5915 o JED: load 2wot: then sprout hydrogens on the ligand -> total failure
5916
5917 o JED: keybinding w should check that there is a water/pointer-atom molecule defined.
5918
5919 o JED: Sphere refine on a water should do something sensible.
5920
5921 o (There should be a key that goes to hetatms)
5922
5923 o question to self: do we need restraints to layout molecules? e.g. 2bzh
5924
5925
5926 ----
5927 Mon Nov 15 16:27:35 GMT 2010
5928
5929 A 500 CDK in 2xmy fails to prodrgify (alt confs)
5930
5931
5932 ----
5933 Wed Nov 17 14:01:30 GMT 2010
5934
5935 Bernhard's Biocryst report.
5936
5937
5938 o Out of plane distances should have graphical output c.f. a distance.
5939
5940 o 'findligand --help' does not list x-pos, y-pos,... (there may be more)
5941
5942 o we may want to lose the HID part of the tutorial
5943
5944
5945 ----
5946 Sat Nov 27 10:58:27 GMT 2010
5947
5948 o merge a 3GP into tutorial modern then try to undisplay hydrogens
5949 with Bond Parameters. Fail (because of new bonding algorithm) - not for 0.6.2.
5950
5951
5952 ----
5953 Sat Nov 27 10:58:27 GMT 2010
5954
5955 o ncs difference graph updating on autofit rotamer and refine residue
5956
5957 ---
5958 Tue Nov 30 02:42:51 GMT 2010
5959
5960 o The hydrogens on DTT are drawn wrongly (additional half-bond).
5961
5962 * Too complicated for now
5963
5964 ----
5965 Tue Dec 7 00:37:42 GMT 2010
5966
5967 student project:
5968
5969 dig out whatcheck parsing interface, parse more info and
5970 automatically fix stuff (needs (more) intelligence).
5971
5972
5973 ----
5974 Tue Dec 7 15:25:30 GMT 2010
5975
5976 Here is how to run molprobity probe for just the interactions of
5977 environment onto the ligand (and vica versa):
5978
5979 (No internal interaction of ligand)
5980
5981 Here residue 459 is the ligand:
5982
5983 probe -u -both "459" "not 459" 2gpu-A459.pdb 2gpu-coot-0.pdb > probe.dots
5984
5985 Do this after running reduce of course (so that the Hs are pointing
5986 in good directions).
5987
5988 ---
5989 Wed Dec 8 14:37:58 GMT 2010
5990
5991 Francis Reyes
5992
5993 On pressing Esc during refinement:
5994
5995 Can we have a dialog box pop up summarizing the geometry and
5996 asking us to accept/reject instead of reverting back?
5997 Sometimes a real space refine takes too long/gets lost when
5998 the best fit to the density is observed before that happens.
5999
6000
6001 ---
6002 Mon Feb 28 17:01:48 GMT 2011
6003
6004 in make a difference map (say for overlayed ligand structures)
6005 find the scale the maps (around a given spot) mean, standard
6006 deviation perhaps?
6007
6008
6009 ----
6010 Sun Jan 9 17:21:10 GMT 2011
6011
6012 How about this: map the surface of a protein onto a cylinder,
6013
6014 Then unwrap the cylinder and display as a 2d plot.
6015
6016 Do that for both sides of an interface.
6017
6018 or mutant vs native.
6019
6020 so we will need some way to mark the surface of atom selection.
6021
6022
6023
6024 ----
6025 Mon Jan 10 10:50:29 GMT 2011
6026
6027 after changing the interface, e.g. c-interface.h
6028
6029 you will probably need to do:
6030 an install in scheme
6031 an install in python
6032 run swig to make new coot.py
6033 an install in src, to update installed coot.py
6034
6035
6036
6037 ---
6038 Sun Mar 20 23:08:50 GMT 2011
6039
6040 checkmol/matchmol
6041
6042 GPL Pascal
6043
6044 http://merian.pch.univie.ac.at/~nhaider/cheminf/cmmm.html
6045
6046
6047 ---
6048 Sun Jun 19 14:15:19 BST 2011
6049
6050 JED:
6051
6052 Add an tool to add OP3 to DNA and RNA. Find the torsion of the OP1
6053 and OP2. Average. Add 180 then position OP3 by torsion,angle,bond
6054 (use the values in the dictionary).
6055
6056 (ideal DNA and RNA helix builder doesn't add them - you might like
6057 to reconsider that).
6058
6059 ---
6060 Sun Jun 19 14:18:41 BST 2011
6061
6062 JED:
6063
6064 Tool to WC base-pair a residue range and put the results into the
6065 same molecule (as the reference) but a different chain of course.
6066
6067 * Done.
6068
6069
6070 ----
6071 Wed Jul 20 19:34:25 BST 2011
6072
6073 Ctrl Shift middle-mouse behaves differently to Shift Ctrl middle-mouse
6074
6075
6076 ----
6077 Fri Jul 22 16:43:47 BST 2011
6078
6079 Make a small tutorial for jligand link making.
6080
6081 Find something from the PDB?
6082
6083 Check jligand tutorial first?
6084
6085
6086 ---
6087 Sun Jul 10 23:29:32 BST 2011
6088
6089 Note:
6090 When making a scrolled list to add things in to, don't forget to put
6091 the vbox into a viewport and the viewport into the scrolled window
6092 (e.g. nomenclature errors dialog).
6093
6094 ---
6095 Mon Jul 11 11:58:13 BST 2011
6096
6097 2y0z has problematic Z40 on reading. Why?
6098
6099
6100 ----
6101 Wed Jul 20 13:03:27 BST 2011
6102
6103 ca+ ligands view mode should not be able to click on waters (or
6104 things that are not ca/ligands!)
6105
6106
6107 ----
6108 Tue Jul 26 23:11:17 BST 2011
6109
6110 Mutate and autofit to an MSE should change the atoms to HETATM,
6111 but it does not.
6112
6113 So, minimol's atom class needs 'bool is_hetatm' flag.
6114
6115 Import: minimol's residue constructors from CResidue * need to set
6116 the is_hetatm flag by testing at->Het.
6117
6118 Extraction: When constructing the pcmmdbmanager(), we need to set
6119 at->Het = true when making the CAtom *.
6120
6121
6122 ---
6123 Thu Jul 28 14:26:13 BST 2011
6124
6125 Need to import and display the refmac external restraints (from a
6126 file)
6127
6128
6129 ----
6130 Thu Jul 28 14:42:51 BST 2011
6131
6132 Must have user defined colour system! (for reading prosmart
6133 output)
6134
6135 here: green (good alignment), red (bad alignment), white (not aligned)
6136
6137
6138 ----
6139 Fri Jul 29 19:48:03 BST 2011
6140
6141 Importing an sdf/mdl file should create a residue with HETATMs!
6142
6143 * Done, I think - needs checking.
6144
6145 Get the TLC from the first line (if the first line consists of 3 letters)
6146
6147
6148 ----
6149 Fri Aug 12 15:59:29 BST 2011
6150
6151 Areej bug: Adding an altconf on a ligand (hetgroup) makes the
6152 atoms into ATOMs, (they were HETATMs)
6153
6154 or is it that ligands with alt confs are drawn without dictionary?
6155
6156 ----
6157 Fri Aug 12 16:05:07 BST 2011
6158
6159
6160 Nice feature:
6161
6162 In the sequence view (the window needs a title) it would be nice if
6163 the ligands had a highlighting background colour and showed the TLC
6164 (and molecule name?) as a tooltip.
6165
6166 Yes. Very nice.
6167
6168 ----
6169 Fri Aug 12 16:07:05 BST 2011
6170
6171 Areej Bug. (Another one).
6172
6173 Add a Glycerol using Solvent Ligands.
6174
6175 Add another.
6176
6177 They go into different chains.
6178
6179 Badness
6180
6181
6182 ----
6183 Fri Aug 12 16:17:52 BST 2011
6184
6185 In the Solvent Ligands dialog, DTT should be added.
6186
6187 And it would be nice if the molecule names were there too.
6188
6189 ---
6190 Fri Aug 12 12:29:03 BST 2011
6191
6192 INFO:: For new depositions:
6193
6194 Parse this:
6195 http://www.ebi.ac.uk/pdbe/searchResults.html?display=latest&tab=pdb
6196 http://www.ebi.ac.uk/pdbe/searchResults.html?display=latest&tab=pdb
6197
6198 Or this, perhaps better: The rss feed:
6199 http://www.ebi.ac.uk/pdbe/pdblatest/latest_pdb.xml
6200
6201 Then get:
6202 http://www.ebi.ac.uk/pdbe-srv/view/files/$code.ent
6203 http://www.ebi.ac.uk/pdbe-srv/view/files/r{$code}sf.ent
6204
6205 Then cif_to_mtz
6206
6207 * Done! For the most part...
6208
6209 ---
6210 Mon Sep 5 16:19:45 BST 2011
6211
6212
6213 dbi for COD:
6214
6215
6216 guile> (use-modules (dbi dbi))
6217 guile> (define db-obj (dbi-open "mysql" "cod_reader::molecules:tcp:www.crystallography.net::")
6218 ... )
6219 guile> db-obj
6220 #<guile-dbi open mysql cod_reader::molecules:tcp:www.crystallography.net:: (0 . db connected)>
6221 guile> db-obj
6222 #<guile-dbi open mysql cod_reader::molecules:tcp:www.crystallography.net:: (0 . query ok, got results)>
6223 guile> (display db-obj)
6224 #<guile-dbi open mysql cod_reader::molecules:tcp:www.crystallography.net:: (0 . query ok, got results)>
6225 guile>
6226 guile> (dbi-query db-obj "select * from numbers")
6227 guile> db-obj
6228
6229 (write (dbi-get_row db-obj)) (newline)
6230 (write (dbi-get_row db-obj)) (newline)
6231 (write (dbi-get_row db-obj)) (newline)
6232 (write (dbi-get_row db-obj)) (newline)
6233
6234 ----
6235 Wed Aug 17 16:05:36 CEST 2011
6236
6237 Some ideas for Control key bindings:
6238
6239 C-c to copy residue
6240
6241 Shift C-c to copy a molecule
6242
6243 C-v to paste residue/molecule to new molecule
6244
6245 C-x to delete residue
6246
6247 Shift C-x to delete (undisplay) molecule.
6248
6249
6250 ----
6251
6252 learnable (discoverable),
6253 usable (get stuff done with least amount of clicking).
6254 forgiving (undo),
6255 repsonsive (feedback),
6256 asthetics (pretty)
6257
6258
6259 ---
6260 Thu Aug 18 16:25:07 CEST 2011
6261
6262
6263 3pcq for FEL data (photosystem I)
6264
6265
6266 ---
6267
6268 c.f. Pioglitazone with Rosiglitazone
6269
6270
6271 ----
6272
6273 Discuss with Max: 3s5x and its refmac LINKR records
6274
6275 ----
6276
6277 3oeg: the BCLs at the end of the chain: can we navigate to them
6278 correctly in density fit and geometry graphs?
6279
6280 ----
6281
6282 "At least one person should look at the map" - GWK
6283
6284 1qw9
6285
6286 ----
6287
6288 Dale Tronrud structures: 1qlw - nice difference map peaks, waters,
6289 phosphate, disulphide
6290
6291 3ls9 - lots of model-building errors,
6292 missing ligand? badly built loop
6293 THR-ILE mutation
6294
6295 3oeg - BCL fantasy.
6296
6297
6298 2qns - retracted structure - lots of substantial
6299 mistakes good for tutorial?
6300
6301
6302 ----
6303 Wed Oct 26 13:49:32 EDT 2011
6304
6305 predict3d for membrane proteins?
6306
6307
6308 ----
6309 Fri Oct 28 11:20:15 EDT 2011
6310
6311 ligand expo -> browse -> popular drugs
6312
6313
6314 ----
6315 Sat Oct 29 16:36:25 EDT 2011
6316
6317 allow colour by c-a deviation , c-b deviations etc. (user-defined scale and
6318 colour map of course)
6319
6320 -----
6321 Thu Dec 8 17:09:55 GMT 2011
6322
6323 interesting glyco: 3u2s, 1s4p
6324
6325
6326 2fbj fails - goes into neighbour density.
6327
6328
6329 ----
6330 Sat Dec 31 18:09:09 GMT 2011
6331
6332
6333 Failing ligands:
6334
6335 4a55 A 2062. P08 Prodrgified. Ring oxygen has 3 bonds.
6336 [19:27:05] Explicit valence for atom # 10 O, 3, is greater than permitted
6337
6338
6339 PLP in 3zzj 1246 A
6340
6341
6342 ---
6343 Sun Jan 8 12:07:43 GMT 2012
6344
6345 to get the lbg icon labels on Ubuntu:
6346
6347 gconf-editor desktop -> gnome -> interface -> toolbar_style "both"
6348
6349
6350 ----
6351 Tue Jan 10 06:03:39 GMT 2012
6352
6353 The new way to set data, set user data on a gtk object:
6354
6355 gtk_object_set_data(GTK_OBJECT(dialog), "goograph", this);
6356
6357 // and in the static callback function:
6358 coot::goograph *g_p = (coot::goograph *) gtk_object_get_data(GTK_OBJECT(widget), "goograph");
6359
6360
6361 ---
6362 Fri Jan 13 01:17:45 GMT 2012
6363
6364 For GLSL
6365 Triangle order optimization:
6366 http://gameangst.com/?p=9
6367 http://www.lighthouse3d.com/tutorials/glsl-core-tutorial/vertex-shader/
6368
6369
6370 ---
6371 Fri Jan 13 01:23:15 GMT 2012
6372
6373 Conversation with Bernie:
6374
6375 Is it possible to track screen X,Y of the mouse when over chi angle
6376 buttons and selectively only change to a new selected (highlighted)
6377 chi angle if delta(Y) > delta(X)?
6378
6379 Something for 0.8?
6380
6381 * Done, I think. Or at least, tinkered with...
6382
6383
6384 ---
6385 Tue Jan 24 19:15:37 GMT 2012
6386
6387 gentoo libtool usage:
6388 * Running libtoolize --copy --force --install --automake ...
6389
6390
6391 ---
6392 Mon Jan 30 11:45:55 GMT 2012
6393
6394 Mogul chemistry perception
6395
6396 determined using input file (mol, mol2, pdb) information.
6397
6398 http://www.ccdc.cam.ac.uk/support/documentation/mogul/mogul/mogul.3.12.html
6399
6400 There is no guarantee that bond-type deduction or hydrogen-atom
6401 addition will be completely correct. Consequently, you should
6402 check the changes that Mogul has made. A summary of the changes
6403 made will be given in a Structure edited pop-up.
6404
6405
6406 ----
6407 Fri Feb 3 16:36:37 GMT 2012
6408
6409 relative rpath:
6410
6411 http://groups.google.com/group/gnu.gcc.help/browse_thread/thread/1b713af28905247b?pli=1
6412
6413 man ld.so
6414
6415 http://support.bibblelabs.com/webboard/viewtopic.php?p=64073&sid=04162de5073a8e07db92d0a0c22e23b6
6416
6417 contains($$list($$[QT_VERSION]), 4.2.*) {
6418 QMAKE_LFLAGS+=$${QMAKE_RPATH}\\\$\$ORIGIN/../lib
6419 } else {
6420 QMAKE_LFLAGS+=$${QMAKE_RPATH}\\$\$ORIGIN/../lib
6421 }
6422
6423 http://enchildfone.wordpress.com/2010/03/23/a-description-of-rpath-origin-ld_library_path-and-portable-linux-binaries/
6424
6425 consider chrpath
6426
6427 http://stackoverflow.com/questions/6323603/ld-using-rpath-origin-inside-a-shared-library-recursive
6428
6429 how about this:
6430 LIBS=-Wl,-rpath,'$${ORIGIN}/../lib -Wl,-rpath,/usr/lib'
6431
6432
6433 ---
6434 Tue Jan 31 22:44:31 GMT 2012
6435
6436 rdkit
6437
6438 python $RDBASE/rdkit/Chem/Features/ShowFeats.py --writeFeats --fdef=$RDBASE/Data/BaseFeatures.fdef 1ezq_RPR.sdf
6439
6440
6441
6442 ---
6443 Fri Feb 3 11:46:48 GMT 2012
6444
6445 on windows:
6446
6447 ECHO %HOMEDRIVE%%HOMEPATH%
6448
6449
6450 ----
6451 Tue Feb 14 11:54:31 EST 2012
6452
6453 need a test that updating restraints from mogul works with atom names that are not 4-chars.
6454
6455 mogul::get_bond_type()
6456
6457 ----
6458 Mon Feb 20 17:42:28 GMT 2012
6459
6460 3t3g has a covalently linked ligand?
6461
6462
6463 ----
6464
6465 we have sets of pdb files and cif files generated by different
6466 methods given the same SMILES string.
6467
6468 give me a tool that consolidates the names in the files - and
6469 restraints of course so that they are "the same".
6470
6471
6472
6473 ---
6474 Mon Mar 19 16:55:16 GMT 2012
6475
6476 Interesting project? Maybe rama plot can be rendered over this?
6477
6478 http://giv.sourceforge.net/gtk-image-viewer/gtkimageviewer_tutorial.html
6479
6480 ---
6481 Wed Apr 4 15:19:44 BST 2012
6482
6483 ---> we drop the image url
6484
6485 such as
6486
6487 http://www.chemspider.com/ImagesHandler.ashx?id=24747352&w=200&h=200
6488
6489 extract chemspider_id = 24747352
6490
6491 --> we curl get mdl mol file:
6492 "http://www.chemspider.com/FilesHandler.ashx?type=str&striph=yes&id=" + chemspider_id
6493
6494
6495 and while you are at it, you might get the wikipedia page, look for
6496
6497 href="http://www.chemspider.com/Chemical-Structure.24747352" to extract the chemspider_id
6498
6499
6500 ---
6501 Tue Apr 3 17:04:40 BST 2012
6502
6503 valgrind:
6504
6505 valgrind --leak-check=full --suppressions=../../coot/trunk/guile.supp --suppressions=../../coot/trunk/valgrind-python.supp --error-limit=no --log-file=valgrind.log .libs/lt-coot-real
6506
6507 # valgrind --leak-check=full --suppressions=../../coot/trunk/guile.supp --error-limit=no --log-file=valgrind.log .libs/lt-coot-bin
6508 valgrind --leak-check=full --suppressions=../../coot/git/coot/guile.supp --error-limit=no --log-file=valgrind.log .libs/lt-coot-bin
6509
6510
6511 Where are the python suppressions?
6512
6513 http://stackoverflow.com/questions/16659781/memory-leaks-in-gtk-hello-world-program
6514
6515 For debugging glib/gtk programs I would use this command:
6516
6517 G_SLICE=debug-blocks valgrind --tool=memcheck --leak-check=full <gtk program>
6518 G_SLICE=debug-blocks will turn off gtk's advanced memory management to allow valgrind to show correct results.
6519 --leak-check=full will show stack traces for the leaked memory blocks.
6520
6521 You can also use --show-reachable=yes to see stack traces for all
6522 memory blocks that haven't been free when the program exits.
6523
6524 There is also the massif valgrind tool that tracks memory usage to
6525 show which parts of the program are using the most memory.
6526
6527 Run program under massif:
6528
6529 G_SLICE=always-malloc valgrind --tool=massif --detailed-freq=2 --max-snapshots=400 --num-callers=20 <gtk program>
6530
6531 Show results:
6532
6533 ms_print massif.out.<pid>
6534
6535 ----
6536 Mon Apr 9 16:45:32 BST 2012
6537
6538 COOT_CHEMICAL_FEATURES_DEF file needs to be put in place (or the
6539 env var to be defined in coot script). See sdf-interface.cc:get_feature_factory().
6540
6541 ---
6542 Tue May 1 12:29:50 BST 2012
6543
6544 To get and set string on widgets use
6545 g_object_set_data()
6546 and
6547 g_object_get_data()
6548
6549 coot::dictionary_residue_restraints_t *t =
6550 (coot::dictionary_residue_restraints_t *) g_object_get_data (G_OBJECT (chooser), "restraints");
6551
6552
6553 ----
6554 Tue May 1 15:37:30 BST 2012
6555
6556 RDKit UFF atom types? UFFGetMoleculeForceField()
6557
6558
6559 ---
6560 Thu May 3 18:45:01 BST 2012
6561
6562 energy-lib.cc
6563
6564 // FIXME, allow bond definitions with no distances?
6565 if (0)
6566 std::cout << "WARNING reject energy lib bond \"" << atom_type_1
6567 << "\" \"" << atom_type_2 << "\" \"" << type << "\"" << std::endl;
6568
6569
6570
6571 ----
6572 Fri May 18 12:34:38 BST 2012
6573
6574 // I think that graphics_info_t::Geom_p() should be passed to this function.
6575 //
6576 void
6577 molecule_class_info_t::makebonds() {
6578
6579
6580 ----
6581 Tue May 29 19:35:49 BST 2012
6582
6583 projects:
6584
6585 make graphics look nice on white background
6586
6587 Add data analysis graphs sigF vs F etc.
6588
6589 Learn Qt. Make ramachandran widget - with atom selections
6590
6591 Transparent surfaces via z-sorting
6592
6593
6594 ----
6595 Fri May 18 12:34:38 BST 2012
6596
6597 // I think that graphics_info_t::Geom_p() should be passed to this function.
6598 //
6599 void
6600 molecule_class_info_t::makebonds() {
6601
6602
6603 ----
6604 Sun May 20 22:34:54 BST 2012
6605
6606 can redefine functions be done with a macro? using symbol->string and string->symbol?
6607
6608
6609 ----
6610 Tue May 22 06:34:20 BST 2012
6611
6612 Burrow-owl:
6613
6614 Needed starparse, g-wrap-1.9.14, guile-cairo-1.9.91, guile-gnome-platform-2.16.2
6615 and guile-1.8.8. Becuase guile does not have the same prefix as
6616 target, we need to set PKG_CONFIG_PATH. guile-cairo is needed to
6617 get gtk parts of guile-gnome-platform to compile and install.
6618
6619 guile-gnome-platform needs indent.
6620
6621 prfx=$HOME/burrow-owl
6622 export PATH=$prfx/bin:$PATH
6623 export STARTPARSE_LIBS=$prfx/lib
6624 export STARTPARSE_CFLAGS=$prfx/include
6625 export PKG_CONFIG_PATH=$prfx/lib/pkgconfig:/usr/lib64/pkgconfig
6626 ./configure --prefix=$prfx
6627
6628 ----
6629 Tue May 22 11:07:38 BST 2012
6630
6631 fast lennard jones, fast double sqrt.
6632
6633 ----
6634 Thu May 24 10:58:11 BST 2012
6635
6636 get rid of "Won't read preferences" output.
6637
6638 ---
6639 Sat May 26 10:36:23 BST 2012
6640
6641 Newcastle: add a slide or 2 on restraints: planes and torsions
6642 (different from molecular mechanics - c.f. antechamber).
6643 43 non-elemental atom types in GAFF, 93 in refmac
6644
6645
6646 ----
6647 Fri May 25 14:46:38 BST 2012
6648
6649 alt conf ligands 3ljj
6650
6651 * Done.
6652
6653
6654 ----
6655 Sun May 27 22:55:54 BST 2012
6656
6657 Here's an interesting function:
6658
6659 given a molecule (model) (and an optional atom selection?) implement
6660 get_distances(min_dist, max_dist, max_n_distances)
6661
6662
6663 which finds all atom-atom distances in the atom selection and
6664 makes a random selection of them and returns max_n_distances
6665
6666 * Done.
6667
6668 ----
6669 Wed Jun 6 13:56:17 CEST 2012
6670
6671 when generic objects are solid, the point size seems fixed.
6672
6673 ----
6674 Fri Jun 8 15:53:56 CEST 2012
6675
6676 QM treatment of large systems
6677
6678 Hisao, Sanchez-garcia, Doerr J. Phys. Chem B 2011 review
6679
6680 consider London dispersion
6681
6682 Goerigk, Grimme 2011, 13, 6670, Phys. Chem. Chem. Phys.
6683
6684
6685 ---
6686 Sat Jun 9 17:15:40 CEST 2012
6687
6688 PDB_REDO add to extension menu next to pdbe getting.
6689
6690 ---
6691 Wed Jun 27 10:29:54 BST 2012
6692
6693 INFO:: format in scheme/guile
6694
6695 (format #t "~3,'0d~%" 5)
6696 ->
6697 005
6698
6699 (format #t "~4f%" 6.321567)
6700 ->
6701 6.322
6702
6703
6704 http://www.gnu.org/software/guile/manual/html_node/Formatted-Output.html#Formatted-Output
6705
6706
6707 ---
6708 Wed Jun 27 22:48:01 BST 2012
6709
6710 building carbohydrate
6711
6712 nicotinic acetylcholine receptor alpha bungarotoxin: 2qc1
6713
6714 a structure with interesting carbohydrate to build: 3zr6
6715 also 4fom (low res)
6716
6717
6718 ---
6719 Wed Jun 27 10:29:54 BST 2012
6720
6721 INFO:: example of remove and remove_if
6722
6723 #include <vector>
6724 #include <string>
6725 #include <algorithm>
6726 #include <iostream>
6727 #include <functional>
6728
6729 // for erase_if()
6730 class eraser {
6731 public:
6732 std::string s;
6733 // the constructor, can be information that needs to be used
6734 // internally in the operator() function. This is run once
6735 //
6736 eraser(const std::string &s_in) {
6737 s = s_in;
6738 }
6739 // The passed object type is the <type> of the vector.
6740 // Run for each an item in the vector to see if it is deletable.
6741 bool operator()(const std::string &x) const {
6742 std::cout << "comparing " << s << " vs " << x << std::endl;
6743 return (x == s);
6744 }
6745 };
6746
6747 int main(int argc, char **argv) {
6748
6749 std::vector<std::string> v;
6750 v.push_back("One");
6751 v.push_back("Two");
6752 v.push_back("Three");
6753 v.push_back("Four");
6754 v.push_back("Five");
6755
6756 std::string bad_boy = "Three";
6757
6758 // remove() and remove_if() generate a useful pointer used by erase()
6759 v.erase(std::remove(v.begin(), v.end(), "Two"), v.end());
6760 v.erase(std::remove_if(v.begin(), v.end(), eraser(bad_boy)), v.end());
6761
6762 for (unsigned int i=0; i<v.size(); i++)
6763 std::cout << " " << i << " " << v[i] << std::endl;
6764 return 0;
6765 }
6766
6767 // also see erase/remove_if usage in morph_fit_uncrunch().
6768
6769
6770 Here is a more simple example:
6771
6772 auto eraser = [] (const TextureMesh &tm) {
6773 return (tm.get_name().find("-section") != std::string::npos);
6774 };
6775 texture_meshes.erase(std::remove_if(texture_meshes.begin(), texture_meshes.end(), eraser),
6776 texture_meshes.end());
6777
6778 ---
6779 Tue Jul 3 17:14:08 BST 2012
6780
6781 CentOS 6 extras
6782
6783 glib2-devel zlib-devel (coot config)
6784 gtk2-devel
6785
6786 (for coot clipper config)
6787
6788 libXt-devel (for gtkglext)
6789 libgnomecanvas-devel for coot configure
6790
6791 for mosflm (ccp4)
6792 ncurses-devel
6793
6794 for xemacs:
6795 yum install Xaw3d-devel libXp-devel xorg-x11-xbitmaps libXaw-devel
6796
6797 bison for rdkit.
6798
6799 ---
6800 Wed Jun 27 22:48:01 BST 2012
6801
6802 a structure with interesting carbohydrate to build: 3zr6
6803
6804
6805 ---
6806 Thu Jul 26 19:47:52 EDT 2012
6807
6808 INFO:: other projects
6809
6810 Mac Coot,
6811 Native Mac Coot
6812 All-molecule scoring modifications, 2011 presentation follow-up
6813 cif-merge
6814 cif-grep
6815 cif2mtz (clipper)
6816 understand what's in COD
6817 look at pi-pi stacking in ligand protein complexes.
6818 get statistics for plane distances and angle offsets,
6819 so that I can model that distribution to generate a penalty function
6820 in the regularizer
6821 zernike-like moments for ligand fitting
6822
6823 b value distribution histogram
6824
6825
6826 --comp_id x
6827
6828
6829 ----
6830 Sun Jul 29 16:31:40 EDT 2012
6831
6832 Roberto:
6833
6834 I want a button that splits a water into A and B conformers 50 50
6835 occs, 0.7A appart and jiggle-fitted
6836
6837 Call it WASP.
6838
6839
6840 ----
6841 Tue Jul 31 08:56:41 EDT 2012
6842
6843 Contact Alex for LH protein?
6844
6845
6846 ----
6847 Tue Jul 31 11:16:57 EDT 2012
6848
6849 Howard:
6850 given an mtz file with anomalous data (deltas) and a pdb file, show
6851 the anomalous map
6852
6853
6854 ----
6855 Tue Jul 31 11:17:55 EDT 2012
6856
6857 Why is refmac not run after libcheck SMILES?
6858
6859 4th spears lecture
6860
6861 William asbury
6862
6863
6864 ---
6865 Tue Aug 7 00:13:03 BST 2012
6866
6867 make coot-user-manual.html
6868 texi2html ../../coot-read-only/trunk/doc/coot-user-manual.texi
6869 *** Duplicate node found: Sectionless functions (in ../../coot-read-only/trunk/doc/cc-interface.hh.texi l. 411)
6870 ** Node following `Drag and Drop Functions' in menu `Sectionless functions' and in sectionning `Sectionless functions' differ
6871 ** `Sectionless functions' is up for `ligand-search-make-conformers-scm', but has no menu entry for this node
6872 splitstr='-split_chapter' ; \
6873 texi2html --version ; \
6874 if [ $? = 0 ] ; then splitstr='-split=chapter' ; fi ; \
6875 texi2html $splitstr ../../coot-read-only/trunk/doc/coot-user-manual.texi ; \
6876 cd ..
6877 1.82
6878 *** Duplicate node found: Sectionless functions (in ../../coot-read-only/trunk/doc/cc-interface.hh.texi l. 411)
6879 ** Node following `Drag and Drop Functions' in menu `Sectionless functions' and in sectionning `Sectionless functions' differ
6880 ** `Sectionless functions' is up for `ligand-search-make-conformers-scm', but has no menu entry for this node
6881 make coot-user-manual.html done
6882 dvips -o coot-user-manual.ps coot-user-manual.dvi
6883 This is dvips(k) 5.96.1 Copyright 2007 Radical Eye Software (www.radicaleye.com)
6884 ' TeX output 2012.03.09:1647' -> coot-user-manual.ps
6885 </usr/share/texmf/dvips/base/tex.pro></usr/share/texmf/dvips/base/texps.pro>
6886 </usr/share/texmf/dvips/base/special.pro>.
6887
6888
6889
6890 ----
6891 Mon Aug 6 15:00:07 BST 2012
6892
6893 try to pdbe get 4fts: refmac says:
6894
6895 Fatal error in ccp4spg_register_by_symops
6896
6897 4e6n fails with label error
6898
6899 ---
6900 Thu Aug 30 12:17:31 BST 2012
6901
6902 what is this? dictionary default values:
6903
6904 Ponder, J. & Case, D. (2003). Adv. Protein Chem. 66, 27±85.
6905
6906 from the refmac monomer library paper
6907
6908 It's (from) a book.
6909
6910 ----
6911 Sat Sep 1 11:38:51 BST 2012
6912
6913 add hydrogen bond analysis (understand output of reduce) into
6914 tutorials (validation?)
6915
6916 ----
6917
6918 things for MRC:
6919 carbohydrate building paper
6920 glsl
6921 build on a mac
6922 cif2mtz
6923 ffearing in low res maps - test
6924 new structures ligand analysis - moments?
6925 what's up with simplex refinement?
6926
6927 ----
6928 Sat Sep 1 11:58:18 BST 2012
6929
6930 verify3d for membrane proteins?
6931
6932
6933 ----
6934 Thu Sep 13 04:55:20 EDT 2012
6935
6936 4eg6 is interesting to build - and good example of how to use fixed
6937 atoms in refinement.
6938
6939
6940 ---
6941
6942 plif-related
6943
6944 1. Cavasotto, C. "Ligand docking and structure-based virtual
6945 screening in drug discovery." Current topics in medicinal
6946 chemistry 7.10 (2007): 1006-1014. Link to SFX for this item
6947
6948 2. McInnes, C. "Virtual screening strategies in drug
6949 discovery." Current opinion in chemical biology 11.5 (2007):
6950 494-502. Link to SFX for this item
6951
6952 3. Barril, X. "Virtual screening in structure-based drug
6953 discovery." Mini reviews in medicinal chemistry 4.7 (2004):
6954 779-791.
6955
6956 ----
6957 Tue Sep 18 12:47:57 BST 2012
6958
6959 simplify_numbering() needs a scripting interface - and to work over
6960 all chains.
6961
6962 That will give us a function to remove insertion codes
6963
6964
6965 ----
6966 Tue Sep 18 20:55:39 BST 2012
6967
6968 How about a ring flip function where you identify an atom in a ring,
6969 it checks that there are less than 3 connections to the ring, then
6970 rotates 180 about one of the connecting bonds (the one with the
6971 largest number of atoms in the fragment) and back-rotates the
6972 other torsion (if exists), choosing and torsion that minimizes the
6973 movement of the atoms.
6974
6975
6976 ----
6977 Fri Oct 26 14:07:13 EDT 2012
6978
6979 Dave:
6980 rotamers buttons should have name, not chi1!
6981
6982 * it does have the rotamer name (now)
6983
6984 Jeff
6985 tell me about the geometry of this residue, bond angle deviantions
6986 etc (as a table sorted on Z?)
6987
6988 building a loop: I have a number of resdues, I want to see the
6989 geometric distrtions of the residues (c.f. how king does it with
6990 red springs for bonds, and fan for angles?)
6991
6992 For presentation next time:
6993
6994 Add "it takes a brain to validate" slide
6995 figure for bond and angle restraints,
6996 Dig out the bayes slide, mention validation
6997 introduce probability and likelihood
6998
6999 Does zero-occupancy-residue-range work?
7000
7001
7002 ---
7003 Tue Nov 13 15:46:06 GMT 2012
7004
7005 2xkm is problematic when reading/converting the data.
7006
7007
7008 ---
7009 Tue Nov 20 10:27:38 GMT 2012
7010
7011
7012 Phil Evans:
7013
7014 mutate then refine
7015
7016 INFO:: backup file coot-backup/_Users_PhilStuff_Projects_Varp_InmaVR_VR32_SeMet2_s13.pdb_Mon_Nov_19_13:45:35_2012_modification_123.pdb.gz
7017 INFO:: replace_coords: 24 atoms updated.
7018 ERROR:: Null atom_colour_map_p with COLOUR_BY_CHAIN_C_ONLY mode
7019 ERROR:: Null atom_colour_map_p with COLOUR_BY_CHAIN_C_ONLY mode
7020 ERROR:: Null atom_colour_map_p with COLOUR_BY_CHAIN_C_ONLY mode
7021 ERROR:: Null atom_colour_map_p with COLOUR_BY_CHAIN_C_ONLY mode
7022 ERROR:: Null atom_colour_map_p with COLOUR_BY_CHAIN_C_ONLY mode
7023 ERROR:: Null atom_colour_map_p with COLOUR_BY_CHAIN_C_ONLY mode
7024 INFO:: graphics_info_t::clear_up_moving_atoms...
7025
7026
7027 ----
7028 Thu Feb 21 12:34:18 GMT 2013
7029
7030 OXT on multi-residue torsion: OXT is left behind on rotation
7031
7032 ----
7033 Wed Apr 17 16:47:04 UYT 2013
7034
7035
7036 o sc: lawerence and colman jmb 1993
7037
7038 might be worth a look.
7039
7040
7041 ----
7042 Thu May 16 13:29:43 BST 2013
7043
7044 Find areas of a map that should have model but do not:
7045
7046 o make a partial model, run refmac, make a map, low res filter it,
7047 mask out the protein parts that we have, fill big blobs with dummy atoms - zero occ
7048 (these should be added to the partial model for sending back to
7049 refmac). Make dummy atoms 1.5A apart.
7050
7051 -> resulting map should have better density for the missing domain. Does it?
7052
7053
7054 -----
7055 Thu Jun 27 15:40:01 BST 2013
7056
7057 from chimera:
7058
7059 create a new map by placing target points in the map (position
7060 them like go to blob) then mask a map around these atoms.
7061
7062 Hmm... this is basically how Water+ works. No point in making
7063 another interface.
7064
7065
7066 ------
7067 Sat Oct 5 09:29:10 BST 2013
7068
7069 Problems with python's pip:
7070 tiresias ~/compile/pip-1.4.1> pip install tornado
7071 Traceback (most recent call last):
7072 File "/home/paule/autobuild/build-coot+rdkit-pre-release-gtk2-python/bin/pip", line 9, in <module>
7073 load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
7074 File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 357, in load_entry_point
7075 """Yield named metadata resource as list of non-blank non-comment lines
7076 File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2394, in load_entry_point
7077
7078 File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2108, in load
7079 parse_map = classmethod(parse_map)
7080 File "/home/paule/autobuild/build-coot+rdkit-pre-release-gtk2-python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/__init__.py", line 10, in <module>
7081 from pip.util import get_installed_distributions, get_prog
7082 File "/home/paule/autobuild/build-coot+rdkit-pre-release-gtk2-python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/util.py", line 17, in <module>
7083 from pip.vendor.distlib import version
7084 File "/home/paule/autobuild/build-coot+rdkit-pre-release-gtk2-python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/vendor/distlib/version.py", line 13, in <module>
7085 from .compat import string_types
7086 File "/home/paule/autobuild/build-coot+rdkit-pre-release-gtk2-python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/vendor/distlib/compat.py", line 31, in <module>
7087 from urllib2 import (Request, urlopen, URLError, HTTPError,
7088 ImportError: cannot import name HTTPSHandler
7089
7090 https://plus.google.com/117010240131763942181/posts/h3AzbmSQU6r
7091
7092 install openssl-devel, then re-make python
7093
7094
7095 -----
7096 Sat Feb 8 22:57:51 GMT 2014
7097
7098 Gaussian Legendre Integration:
7099 http://www.holoborodko.com/pavel/numerical-methods/numerical-integration/
7100
7101 ------
7102 Tue Mar 4 14:27:39 GMT 2014
7103
7104 For ligands at RCSB:
7105
7106 http://www.rcsb.org/pdb/ligand/ligandsummary.do?hetId=AMP
7107
7108
7109 ------
7110 Tue Mar 4 14:27:39 GMT 2014
7111
7112 The thumbnail for ATP should be:
7113
7114 O- O- O-
7115 | | |
7116 -O-P-O-P-O-P=0
7117 H H |
7118 O O O-
7119
7120 H = vertical double bond
7121
7122 It is.
7123
7124 ---
7125 Tue Mar 11 08:08:48 GMT 2014
7126
7127 Font stuff:
7128
7129 http://stackoverflow.com/questions/2071621/opengl-live-text-rendering
7130 http://nothings.org/stb/font/
7131
7132 ---
7133 Fri May 30 03:55:36 CEST 2014
7134
7135 mmdb documentation
7136 http://www.ebi.ac.uk/pdbe/docs/cldoc/object/cl_obj_surf.html
7137 http://www.ebi.ac.uk/pdbe/docs/cldoc/object/cl_obj_selfnc.html
7138
7139 Delete hydrogens:
7140 (new-molecule-by-atom-selection 0 "//*//*[!H]")
7141
7142 C-alphas selection
7143 (new-molecule-by-atom-selection 0 "//*//CA[C]")
7144
7145 ---
7146 Tue Jul 8 11:03:57 BST 2014
7147
7148 glycam: what is this?
7149
7150 ---
7151 Tue Jul 8 11:03:33 BST 2014
7152
7153 Boost for Android?
7154
7155 http://stackoverflow.com/questions/14036311/official-boost-library-support-for-android-and-ios
7156
7157 ---
7158 Sat Jul 19 13:17:01 BST 2014
7159
7160 #include <iomanip>
7161
7162 // the width settings specify the *minimum* width (i.e. the field
7163 must be at least specified number of characters). If the number is
7164 longer than the minimum width, it just is wider.
7165
7166 std::setw() before strings
7167
7168 std::cout.width() before numbers # this is nonsense I now think. Use setw() for both
7169 strings and ints.
7170 std::setw(6) to set the min width for a floating point field -0.123 doesn't seem to work.
7171
7172 // Formatted output:
7173 //
7174 // For float/double numbers
7175 // Using std::fixed the precision is the number of decimal places
7176 // use std::right << std::setprecision(3) << std::fixed << f
7177 // You may need to set std::left at the beginning of the line (typically for strings)
7178 // To reset from std::fixed:
7179 // std::cout.setf(std::ios::fixed, std::ios::floatfield);
7180 // See dictionary-bond-distributions.cc
7181
7182 For integers:
7183
7184 #include <iomanip>
7185 std::cout << "map " << itm->first << " [" << std::setw(2) << itm->second.size() << "] ";
7186
7187
7188 ---
7189 Sat Jul 19 13:31:04
7190
7191 BST 2014
7192
7193 ipython:
7194
7195 http://archive.ipython.org/release/2.1.0/ipython-2.1.0.tar.gz
7196
7197 ---
7198 Fri Jul 25 13:56:46 BST 2014
7199
7200 Store the bond order as an enum, not a string. That makes
7201 convert_bond_type() conversion to rdkit type easier.
7202
7203 ---
7204 Sun Aug 17 18:10:34 BST 2014
7205
7206 4mt6 good example for morphing - based no what though? Hmm.
7207
7208 ----
7209 Wed Aug 20 00:01:56 BST 2014
7210
7211 If/when compiling guile-dbi, rename src/guile-dbi.x so that it gets rebuilt.
7212
7213 ----
7214 3b75
7215
7216 hba1c - or something like that.
7217
7218 ----
7219 IUCr Note
7220
7221 o Sameer: java to javascript compiler - used to make javascript astexviewer
7222
7223 ----
7224 IUCr Note:
7225
7226 Put the mogul/refmac colour annotations over the lbg representation
7227 of the figure. Make it interactive.
7228
7229 ----
7230 Tue Aug 12 14:32:32 EDT 2014
7231
7232 Sameer: Make the FLEV output as coordinates so that we can use it
7233 to make a figure and make it interactive.
7234
7235 ---
7236
7237 Scoring Protein-Ligand Complex interactions:
7238
7239 http://pubs.acs.org/doi/abs/10.1021/jm050436v
7240
7241 Improving the scoring of torsion? KDE by CCDC
7242
7243 http://pubs.acs.org/doi/abs/10.1021/ci500156d
7244
7245 ---
7246
7247
7248 You can obtain the newest version of config.guess and config.sub from the ‘config’ project at http://savannah.gnu.org/. The commands to fetch them are
7249
7250 $ wget -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
7251 $ wget -O config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
7252
7253 ----
7254
7255 watch this vid:
7256
7257 http://www.youtube.com/watch?v=aMSPwFvlICM
7258
7259 * it was OK, bit old now.
7260
7261 ---
7262
7263
7264 COD: /lmb/home/flong/COD/cod/cif/1/10/01
7265
7266 ---
7267
7268 How do I write atom names in an sdf file?
7269
7270 ---
7271
7272 o add Water Validation to validation tutorial. What about using the
7273 anomalous data (Nat Echols is doing this?)
7274
7275 o Add intro to new validation report
7276
7277 o 1qw9 bad trp
7278
7279 o 4q8j many cis-peptides
7280
7281 o 4d72 real non-pro cis
7282
7283 ---
7284
7285 Read this paper:
7286
7287 Acta Cryst. (2007). D63, 42-49 [ doi:10.1107/S0907444906041059 ]
7288
7289 EMatch: an efficient method for aligning atomic resolution subunits
7290 into intermediate-resolution cryo-EM maps of large macromolecular
7291 assemblies
7292
7293 O. Dror, K. Lasker, R. Nussinov and H. Wolfson
7294
7295 Synopsis: A method for detecting structural homologs of components
7296 in an intermediate resolution cryo-EM map and their spatial
7297 configuration is presented.
7298
7299
7300 ----
7301
7302 CSHL 2nd Talk:
7303
7304 Pirate, Parrot, Buccaneer, Prosmart and refinement(?)
7305
7306 ----
7307
7308 How can we find compact domains that are misplaced in density?
7309
7310 ----
7311
7312 Read this:
7313
7314 practicalfragments.blogspot.com
7315
7316
7317 ----
7318
7319 SLERPing:
7320
7321 http://number-none.com/product/Understanding%20Slerp,%20Then%20Not%20Using%20It/
7322 http://www.cbloom.com/3d/
7323
7324 Thomas Busser, “PolySlerp, A Fast and Accurate Polynomial Approximation of
7325 Slerp”, Game Developer Magazine, February, 2004.
7326
7327 http://mollyrocket.com/forums/molly_forum_246.html
7328
7329 Shoemake, K., Animating rotation with quaternion curves, Computer
7330 Graphics 19, No 3 (Proc. SIGGRAPH'85), 245-254, 1985.
7331 Pletinckx, D., Quaternion calculus as a basic tool in computer
7332 graphics, The Visual Computer 5, 2-13, 1989.
7333
7334
7335 Smoothing quaternion interpolations:
7336
7337 http://allenchou.net/2014/04/game-math-interpolating-quaternions-with-circular-blending/
7338
7339 Do it with Bezier splines?
7340 http://caig.cs.nctu.edu.tw/course/CA/Lecture/slerp.pdf
7341
7342 ----
7343
7344 Refinement of hydrogens: Allow them to be refined by gemetry gradients
7345 but not by density map (Garib).
7346
7347
7348
7349 ----
7350
7351 How to do file -> string vector
7352
7353 std::ifstream f(file_name.c_str());
7354 if (f) {
7355 std::vector<std::string> lines;
7356 std::string line;
7357 while (std::getline(f, line)) {
7358 lines.push_back(line);
7359 }
7360 }
7361
7362
7363 ------------
7364
7365 How to use prefer_python
7366
7367 if (graphics_info_t::prefer_python) {
7368 #if defined USE_PYTHON
7369 std::string python_command("xxx()");
7370 safe_python_command(python_command);
7371 #endif // USE_PYTHON
7372 } else {
7373 #if defined USE_GUILE
7374 std::string scheme_command("(xxx)");
7375 safe_scheme_command(scheme_command);
7376 #endif // USE_GUILE
7377 }
7378
7379 -----
7380
7381 ligand series:
7382
7383 Structures have been deposited into the PDB with the following
7384 codes; 4bf2 (Ask1/Staurosporin), 4bhn (Ask1/Compound5), 4bib
7385 (Ask1/Compound1), 4bic (Ask1/Compound2), 4bid (Ask1/compound3),
7386 4bie (Ask1/Compound4).
7387
7388 http://onlinelibrary.wiley.com/enhanced/doi/10.1002/pro.2298
7389
7390
7391 ---
7392
7393 Libs on a Mac:
7394
7395 https://blogs.oracle.com/dipol/entry/dynamic_libraries_rpath_and_mac
7396
7397
7398 ----
7399
7400 librsvg gdk-pixbuf-query-loaders:
7401
7402 https://www.guiguan.net/fix-python-graph-tool-couldnt-recognise-svg-problem/
7403
7404 later:
7405 Thu 28 Dec 2017 01:32:59 GMT
7406
7407 On Debian 14.04
7408 $ coot
7409 Error loading icon: Couldn't recognize the image file format for file '/home/paule/autobuild/Linux-emsley-vm-ubuntu1404-enhanced-ligand-pre-release-gtk2-python/share/coot/pixmaps/05_Hotel_Icon_Hair_Salon.svg'
7410 Error loading icon: Couldn't recognize the image file format for file '/home/paule/autobuild/Linux-emsley-vm-ubuntu1404-enhanced-ligand-pre-release-gtk2-python/share/coot/pixmaps/3-c-new.svg'
7411 Error loading icon: Couldn't recognize the image file format for file '/home/paule/autobuild/Linux-emsley-vm-ubuntu1404-enhanced-ligand-pre-release-gtk2-python/share/coot/pixmaps/3-c-other.svg'
7412 Error loading icon: Couldn't recognize the image file format for file '/home/paule/autobuild/Linux-emsley-vm-ubuntu1404-enhanced-ligand-pre-release-gtk2-python/share/coot/pixmaps/3-c.svg'
7413 etc
7414 $ apt-get install librsvg2-dev
7415
7416 (maybe it was not the dev package but the libs/common that solved it, librsvg2-common)
7417
7418
7419
7420 ----
7421 Wed 20 Feb 2019 16:07:02 PST
7422
7423
7424 $ ls ~/ccp4/ccp4-src-2015-02-05%/ccp4-6.5/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
7425 $ ls "/Users/pemsley/ccp4/ccp4-src-2015-02-05/ccp4-6.5/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
7426 $ otool -L "/Users/pemsley/ccp4/ccp4-src-2015-02-05/ccp4-6.5/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
7427
7428 fragment of loaders.cache:
7429
7430 "/Users/pemsley/ccp4/ccp4-src-2015-02-05/ccp4-6.5/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so"
7431 "ras" 4 "gdk-pixbuf" "The Sun raster image format" "LGPL"
7432 "image/x-cmu-raster" "image/x-sun-raster" ""
7433 "ras" ""
7434 "Y\246j\225" "" 100
7435
7436 "/Users/pemsley/ccp4/ccp4-src-2015-02-05/ccp4-6.5/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
7437 "svg" 2 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
7438 "image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" ""
7439 "svg" ""
7440 " <svg" "* " 100
7441 " <!DOCTYPE svg" "* " 100
7442
7443
7444 ----
7445
7446 using lldb:
7447
7448 lldb .libs/coot-bin
7449 process launch -- --no-graphics
7450
7451 http://lldb.llvm.org/lldb-gdb.html
7452
7453 How to run lldb on a core:
7454
7455 $ lldb .libs/coot-bin -c /cores/core.18439
7456
7457 How to set a break point in a function:
7458
7459 break set --name malloc_error_break
7460
7461 and a member function:
7462
7463 break set --name coot::restraints_container_t::bonded_flanking_residues_by_residue_vector
7464
7465 using gdb:
7466
7467 break Shader::Use()
7468
7469 Hmm... It seems that
7470 break g_application_run() doesn't work,
7471 but
7472 break g_application_run
7473 does.
7474 If that doesn't work crash it using this:
7475 int *x = 0;
7476 std::cout << " " << *x << std::endl;
7477
7478
7479 ----
7480
7481 torsion fit this residue should do a rigid body refinement after each modification,
7482 or perhaps store the best torsion set and RBR the best ones.
7483
7484
7485 ---
7486
7487 Thu Jul 23 12:31:24 BST 2015
7488
7489 Student/paper project:
7490 Find low points in map: Look at many mannoses say LSQ plane of
7491 pyranose, projection of C1-C4 onto the LSQ plane and Plane->O2 for
7492 "up" - the cross of these will give the other dimension. Make a
7493 grid. Sample map around NAGs, BMA and MANs. Use low points
7494 (convert to internal coordinates) (making dummy atoms?) to assist
7495 score from z_weighted_density_score_new() in multi_residue_torsion_fit_map().
7496 Low points may be resolution dependent.
7497
7498 ----
7499
7500 Student/paper project:
7501
7502 Where mbf is median b factor
7503 What's is the mbf(res)/mbf(protein) for each of the residues in an N-linked tree?
7504 Is this resolution dependent?
7505
7506
7507 ----
7508
7509 Buckyball coords
7510
7511 https://gist.github.com/jarvist/4570215
7512
7513 ------
7514
7515 Topological RS Chirality
7516
7517 http://www.chemcomp.com/journal/chiral.htm
7518
7519 Clever old Labute.
7520
7521 -----
7522
7523 Is this interesting?
7524
7525 http://www.koreascience.or.kr/article/ArticleFullRecord.jsp?cn=CDCHCH_2009_v14n6_404
7526
7527
7528 ----
7529
7530 o experiment: use Rdkit with pdb perception to generate molecules and
7531 compare them with molecules generated from reading the cif.
7532
7533 ------
7534
7535 Interesting Ligands:
7536
7537 TF7 in 3nia: can be remodelled as glycerol? (next to real ligand)
7538 dihydoxy sulfanyl is "strange" chemistry (c.f neighbour ligand)
7539 not published
7540
7541 ------
7542
7543 Pathology scatter plots: holiday project.
7544 Use matplotlib
7545
7546 ------
7547
7548 gtk font size:
7549
7550 http://stackoverflow.com/questions/1269326/how-can-i-change-the-font-size-in-gtk
7551
7552 ------
7553
7554 investigate stl_tree.h
7555
7556 ------
7557
7558 openmp notes:
7559
7560 http://www.compunity.org/events/pastevents/parco07/parco_cpp_openmp.pdf
7561
7562 http://www.viva64.com/en/a/0054/
7563
7564 http://michaelsuess.net/publications/suess_leopold_common_mistakes_06.pdf
7565
7566 ------
7567
7568 readline: Add -lcurses to shlib/Makefile:
7569
7570 SHLIB_XLDFLAGS = -Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)` -lcurses
7571
7572 (or change support/shobj-conf which creates this)
7573
7574 Does this mean I can now use command line editing in coot --no-graphics
7575 --python?
7576
7577 e.g. import readline
7578
7579 -----
7580
7581 New Presentation slides
7582
7583 to CSHL talk: A front page: accession code, comp-id
7584
7585 non-Pro cis-peptides
7586
7587 why is cis-Pro so much more common than non-cis Pro?
7588
7589 non-Pro cis-peptides in structures
7590
7591 1) "if you don't know what a cis-peptide is and don't care to
7592 find out when Coot tells you that you've introduced one, then on
7593 your own head be it - there is a validation tool that will navigate
7594 you to all the cis-peptides in your structure should you care to
7595 press the button. Validations tests won't help you if you choose
7596 not to run them."
7597
7598 2) ... but there was a bug ... as I was writing the code and
7599 testing it, I could see that there was a danger of flipping the N
7600 to the same (of the CA-CA vector) side as the CO and then coot
7601 would happily use plane restraint minimization to create a
7602 cis-peptide... so I tried to make this less probable by
7603 introducing a non-linearity term so that the atoms further from
7604 the pull point are pulled less than their linear fraction (by
7605 raising a fraction to a power). Unfortunately I made an
7606 arithmetic error which meant that I had made such pull
7607 transformations *more* likely than less.
7608
7609 October 2014 I heard Jane Richardson discuss the problem and
7610 reviewed, fixed the problem that afternoon.
7611
7612 Given that several papers have recently (now) been published about
7613 non-Pro cis-peptides in the PDB, it seems that my expectation of
7614 skill had not been met in large part and it necessary for me to
7615 rework the interface to remove the possibility unitentional
7616 creation of non-Pro cis-peptides during refinement.
7617
7618 trans-restraints:
7619
7620 what's trans, cis? draw arrows to mid-line. Why is this
7621 restraint necessary (because user can create non-local changes
7622 that have large energy difference (and accidentally create a
7623 peptide with and omega of 89 degress)).
7624
7625 how does this help refinement? Before and after video?
7626
7627
7628
7629 -----
7630
7631 Quickly estimate B-factor of atoms:
7632
7633 Using PDB data, do a plot of density vs radius for atoms at various
7634 resolutions so that
7635
7636 rpo(r) -> resolution
7637
7638 Compare that with what we have in a fragment model.
7639
7640 ----
7641
7642 http://www.opengl-tutorial.org/beginners-tutorials/tutorial-1-opening-a-window/
7643
7644 ----
7645
7646 GLSL cylinders and more:
7647
7648 http://stackoverflow.com/questions/9595300/cylinder-impostor-in-glsl
7649
7650 ----
7651
7652 Modeling Local Structural Rearrangements Using FEP/REST: Application to
7653 Relative Binding Affinity Predictions of CDK2 Inhibitors
7654
7655 http://pubs.acs.org/doi/abs/10.1021/ct300911a?journalCode=jctcce
7656
7657 PDB: 1h1q
7658 PDB: 1h1r
7659 PDB: 1h1s
7660 PDB: 1oiu
7661 PDB: 1oi9
7662 PDB: 1oiy
7663 PDB: 1ioy
7664
7665 Also:
7666
7667 Accurate Binding Free Energy Predictions in Fragment Optimization
7668 Thomas B. Steinbrecher, Markus Dahlgren, Daniel Cappel, Teng Lin,
7669 Lingle Wang, Goran Krilov, Robert Abel, Richard Friesner, and Woody Sherman
7670
7671 Journal of Chemical Information and Modeling 2015 55 (11), 2411-2420
7672
7673
7674 ----
7675
7676 2bmd resdiue 72 is good for trans peptide restraints testing.
7677 kw5124 Touw et al (2015): Trans-cis and peptide plane flips
7678
7679 ----
7680
7681 sphere and interesting stuff
7682
7683 http://paulbourke.net/geometry/circlesphere/
7684
7685 ----
7686
7687 How to make a core dump for CCP4 Coot
7688
7689 which coot
7690 cp that coot script to local-dir
7691 edit to remove limit
7692 hack in value of CCP4_PREFIX
7693 $ unlimit coredumpsize
7694 $ gdb /lmb/home/public/xtal/CCP4/ccp4-64/ccp4-7.0/libexec/coot-bin core.14139
7695
7696
7697 ----
7698
7699 FLEV and Residue->2D Problems:
7700
7701 00J in 2xir is a good example for dictionary generation (and slider test?).
7702 Yes, show this in the LIGANDS meeting (it's good for tutorial too)
7703
7704 FLEV: 4f6x: ZYL A 301: Mg-O on ligand: make it O- and delete the H.
7705 R-2D: 3p8x: ZYD A 1: OH on tail should be HO (also HUD ligand)
7706
7707
7708 ----
7709
7710 Dictionary files:
7711
7712 e.g. ftp://ftp.ebi.ac.uk/pub/databases/msd/pdbechem/files/mmcif/1H2.cif
7713
7714 ----
7715
7716 clustering lib: interesting? https://github.com/dsteinberg/libcluster
7717
7718
7719 ----
7720
7721 FBDD, interesting?
7722
7723 http://www.slideshare.net/AnthonyCoyne1/fragment-based-drug-discovery
7724
7725 ----
7726
7727
7728 To stop this:
7729
7730 $ coot --no-graphics --python --script comp_ids.py
7731
7732 Traceback (most recent call last):
7733 File "<stdin>", line 1, in <module>
7734 File "all_comp_ids.py", line 19, in <module>
7735 m = pyrogen.rdkit_mol_chem_comp_pdbx(cif_file_name_in, comp_id)
7736 TypeError: No Python class registered for C++ class RDKit::ROMol
7737
7738 imort rdkit # we need this of course
7739 # but don't forget:
7740 from rdkit import Chem
7741
7742 ----
7743
7744 Keep an eye on this:
7745
7746 https://apps.fedoraproject.org/packages/coot
7747
7748 -----
7749
7750
7751 when trying to lib bundle, and run coot-bin:
7752
7753 * thread #1: tid = 0x0000, 0x000000010bf485e1 libcoot-bundle.0.dylib`set_model_toolbar_docked_position + 337, stop reason = signal SIGSTOP
7754 use_graphics_interface_state ()
7755 Running python script /Users/pemsley/.coot-preferences/00-console.py
7756 Running python script /Users/pemsley/.coot-preferences/ball_for_sticks.py
7757 Running python script /Users/pemsley/.coot-preferences/coot_preferences.py
7758
7759 ** (coot-bin:68769): WARNING **: Widget is NULL: accept_reject_dialog_frame_docked
7760 /Users/pemsley/Projects/build-enhanced-ligand-no-guile-gtk/src/.libs/coot-bin:11: GtkWarning: void gtk_widget_set_sensitive(GtkWidget *, gboolean): assertion `GTK_IS_WIDGET (widget)' failed
7761 /opt/X11/lib/libX11.6.dylib
7762 `
7763 /Users/pemsley/Projects/build-enhanced-ligand-no-guile-gtk/src/.libs/coot-bin:11: GtkWarning: void gtk_widget_hide(GtkWidget *): assertion `GTK_IS_WIDGET (widget)' failed
7764 /opt/X11/lib/libX11.6.dylib
7765 `
7766
7767 ** (coot-bin:68769): WARNING **: Widget is NULL: model_fit_refine_toolbar_handlebox
7768 /Users/pemsley/Projects/build-enhanced-ligand-no-guile-gtk/src/.libs/coot-bin:15: GtkWarning: GtkWidget *gtk_widget_get_parent(GtkWidget *): assertion `GTK_IS_WIDGET (widget)' failed
7769 /Users/pemsley/ccp4/ccp4-src-2015-02-05/ccp4-6.5/lib/libgdk_pixbuf-2.0.0.dylib
7770 `I
7771 failed to lookup toolbar
7772
7773 ** (coot-bin:68769): WARNING **: Widget is NULL: main_window_model_fit_dialog_frame_left
7774
7775 ** (coot-bin:68769): WARNING **: Widget is NULL: main_window_model_fit_dialog_frame
7776
7777 ** (coot-bin:68769): WARNING **: Widget is NULL: model_fit_refine_toolbar_handlebox
7778
7779 ** (coot-bin:68769): WARNING **: Widget is NULL: vbox1
7780
7781 ** (coot-bin:68769): WARNING **: Widget is NULL: model_toolbar
7782
7783 ** (coot-bin:68769): WARNING **: Widget is NULL: model_toolbar_vsep_toolitem
7784
7785 ** (coot-bin:68769): WARNING **: Widget is NULL: model_toolbar_hsep_toolitem
7786
7787 ** (coot-bin:68769): WARNING **: Widget is NULL: model_toolbar_style_toolitem
7788
7789 * frame #0: 0x000000010bf485e1 libcoot-bundle.0.dylib`set_model_toolbar_docked_position + 337
7790 frame #1: 0x000000010b8c8673 _coot.so`_wrap_set_model_toolbar_docked_position(_object*, _object*) + 195
7791 frame #2: 0x00000001062d5901 libpython2.7.dylib`PyEval_EvalFrameEx + 19681
7792 frame #3: 0x00000001062d07c2 libpython2.7.dylib`PyEval_EvalCodeEx + 1666
7793 frame #4: 0x00000001062d0136 libpython2.7.dylib`PyEval_EvalCode + 54
7794 frame #5: 0x00000001062f9544 libpython2.7.dylib`PyRun_FileExFlags + 164
7795 frame #6: 0x00000001062cc60b libpython2.7.dylib`builtin_execfile + 507
7796 frame #7: 0x00000001062d5901 libpython2.7.dylib`PyEval_EvalFrameEx + 19681
7797 frame #8: 0x00000001062d07c2 libpython2.7.dylib`PyEval_EvalCodeEx + 1666
7798 frame #9: 0x00000001062d0136 libpython2.7.dylib`PyEval_EvalCode + 54
7799 frame #10: 0x00000001062f9615 libpython2.7.dylib`PyRun_SimpleStringFlags + 149
7800 frame #11: 0x0000000102bf8591 coot-bin`run_python_script(filename_in=0x00007fc5b29c1150) + 1409 at c-interface.cc:6374
7801 frame #12: 0x0000000102caaaba coot-bin`try_load_dot_coot_py_and_preferences(home_directory=0x00007fff5d305360) + 5034 at coot-setup-python.cc:187
7802 frame #13: 0x0000000102ca95d6 coot-bin`setup_python(argc=1, argv=0x00007fff5d306790) + 2230 at coot-setup-python.cc:121
7803 frame #14: 0x00000001028fd7b9 coot-bin`main(argc=1, argv=0x00007fff5d306790) + 9817 at main.cc:408
7804 frame #15: 0x00007fff893645c9 libdyld.dylib`start + 1
7805 (lldb) ^D
7806
7807 ----
7808 Thu Aug 18 12:03:32 BST 2016
7809
7810 RNA building test: coot-download/5fw1.ent
7811
7812 ---
7813 Wed 24 Aug 2016 00:54:22 BST
7814
7815
7816 Redo the torsion energy/distortion:
7817
7818 http://www.cryst.bbk.ac.uk/PPS2/course/section7/os_cov.html#tor_graph_back
7819
7820 ----
7821 Fri 26 Aug 2016 20:59:55 BST
7822
7823 http://osiris.laya.com/coding/dylib_linking.html
7824
7825 libtool -dynamic -flat_namespace -install_name @executable_path/../lib/libbz2.1.0.2.dylib \
7826 -lSystem -compatibility_version 1.0 -current_version 1.0.2 \
7827 -o libbz2.1.0.2.dylib $(OBJS)
7828
7829 this should be in libtool archive_cmds
7830
7831 ---
7832 Mon Sep 5 23:19:46 BST 2016
7833
7834
7835 http://www.click2drug.org/encyclopedia/chemistry/fda-based-rings.html
7836 https://upload.wikimedia.org/wikipedia/commons/a/a8/Heterocycle_compounds.jpg
7837
7838
7839 ---
7840 Thu 24 Nov 2016 16:55:07 GMT
7841
7842 scheme education:
7843
7844 http://www.cs.dartmouth.edu/~sergey/cs59/S2016/scheme/continuations.txt
7845
7846 mod SNNmd1 show that I've got the wrong internal structure for plane chem
7847 mods. That adds and deletes refer to named plane restraints (see the
7848 add and delete atoms).
7849
7850 ---
7851 Thu 1 Dec 2016 23:08:27 GMT
7852
7853 testing for std::thread (needs -pthread?)
7854
7855 https://github.com/molpopgen/devnotes/wiki/Useful-autoconf-macros
7856
7857 (not quite what I want, I think)
7858
7859 Maybe this:
7860
7861 https://github.com/emcrisostomo/CXX-Autoconf-Macros/blob/master/ax_cxx_have_thread.m4
7862
7863 ---
7864 Sun 26 Feb 2017 14:41:03 GMT
7865
7866 for soft mode/hard mode, look at the way (when)
7867 turn_off_when_close_target_position_restraint_eraser is evoked
7868
7869 ---
7870 Sat 4 Mar 2017 01:13:08 GMT
7871
7872 How to set a breakpoint in lldb:
7873
7874 breakpoint set --method set_dihedral
7875
7876 puts a breakpoint in all methods/functions called set_dihedral()
7877
7878 breakpoint set -b malloc_error_break
7879
7880 for malloc errors
7881
7882 ----
7883 Sat 4 Mar 2017 12:05:58 GMT
7884
7885 Can you build it better/faster? recap sequence alignment, "chainsaw" model, HOLE picture
7886
7887 http://science.sciencemag.org/content/355/6328/eaal4326.full
7888
7889 The atomic coordinates have been deposited in the Protein Data Bank (PDB) with accession
7890 code 5X0M, and the EM map has been deposited in the Electron Microscopy Data Bank
7891 with accession code EMD-6698.
7892
7893 ----
7894 Thu 23 Mar 2017 12:04:12 GMT
7895
7896 Gert Vriend contact map exploitation paper, 2017.
7897
7898
7899 ----
7900 Tue 18 Apr 2017 16:33:00 BST
7901
7902 5jik is good/interesting for carbohydrate building - non-oligomannose
7903
7904
7905 ----
7906 Sun 28 May 2017 17:09:21 CDT
7907
7908 Oleg Borbulevych's talk: ONIOM QM/MM DivCon improves clash score
7909 after their refinement of Astex Diverse set.
7910
7911 2016 paper
7912
7913 What would you get (clash score deltas) if you tried coot for hydrogen
7914 addition and refinement?
7915
7916 ----
7917 Sat 1 Jul 2017 17:36:03 BST
7918
7919 rdkit fragments:
7920
7921 http://rdkit.org/docs_temp/Chem/Fragments.m.html
7922
7923
7924 ----
7925 Sat 1 Jul 2017 18:27:09 BST
7926
7927 Makefile rules variables $@ $^ $<
7928 $@ -> target, $^ -> all dependences, $< -> first dependency
7929
7930 https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html
7931
7932 ---
7933 Mon Jun 19 19:46:51 BST 2017
7934
7935 beta strand: phi=-110, psi=120 from link-restraint.cc
7936
7937 can you use that with add-terminal-residue-using-phi-psi to make an
7938 extended polypetide strand?
7939
7940 ----
7941 Sun 9 Jul 2017 00:52:16 BST
7942
7943 open drug discovery toolkit - what does it do?
7944
7945 https://iwatobipen.wordpress.com/2017/06/04/open-drug-discovery-toolkit-for-python/
7946
7947 http://www.blopig.com/blog/2016/11/how-to-calculate-plifs-using-rdkit-and-plip/
7948
7949 ---
7950 Wed 12 Jul 2017 21:55:28 BST
7951
7952 Project: look this up:
7953
7954 Ho, B. K. & Gruswitz, F. HOLLOW: generating accurate representations
7955 of channel and interior surfaces in molecular structures. BMC
7956 Struct. Biol. 8, 49 (2008).
7957
7958 ---
7959 Sun 16 Jul 2017 14:57:51 BST
7960
7961 http://www.boost.org/doc/libs/1_64_0/libs/python/doc/html/tutorial/tutorial/object.html
7962
7963 Creating boost::python::object from PyObject*
7964
7965 When you want a boost::python::object to manage a pointer to
7966 PyObject* pyobj one does:
7967
7968 boost::python::object o(boost::python::handle<>(pyobj)); In this
7969 case, the object, manages the pyobj, it won't increase the
7970 reference count on construction.
7971
7972 Otherwise, to use a borrowed reference:
7973
7974 boost::python::object
7975 boost::python::handle<>(boost::python::borrowed(pyobj)));
7976 In this case, Py_INCREF is called, so pyobj is not destructed when
7977 object goes out of scope.
7978
7979 ----
7980 Sun 16 Jul 2017 22:43:37 BST
7981
7982 convert an RDKit molecule to boost::python::object
7983
7984 std::pair<bool, coot::dictionary_residue_restraints_t> rp =
7985 geom.get_monomer_restraints(res_name, imol);
7986 RDKit::RWMol rdkm = rdkit_mol(residue_p, rp.second);
7987 boost::python::list rdkit_mols_list;
7988 RDKit::ROMol *cm_p = new RDKit::ROMol(rdkm);
7989 boost::shared_ptr<RDKit::ROMol> xx(cm_p);
7990 // maybe I can append(xx) rather than needing this step:
7991 boost::python::object obj(xx);
7992 rdkit_mols_list.append(obj);
7993
7994 ---
7995 Wed 19 Jul 2017 23:41:43 BST
7996
7997 what's this?
7998
7999 Dixon, S. L. et al.
8000 PHASE: a new engine for pharmacophore perception, 3D QSAR model development,
8001 and 3D database screening: 1. Methodology and preliminary results.
8002 J. Comput. Aided Mol. Des. 20, 647-671,
8003 doi: 10.1007/s10822-006-9087-6 (2006).
8004
8005 ---
8006 Sat 19 Aug 2017 00:09:10 BST
8007
8008 jupyter notebook intereting rdkit and pymol usage from years ago
8009
8010 http://nbviewer.jupyter.org/gist/greglandrum/4316435
8011
8012 ---
8013 Thu Jul 27 19:48:52 BST 2017
8014
8015 To compile newest Python 2.7.x on Mac, use additional configure argument
8016 MACOSX_DEPLOYMENT_TARGET=10.10
8017 to get past
8018 compile python configure: error cannot compute sizeof size_t
8019
8020 ---
8021 Thu Jul 27 20:07:08 BST 2017
8022
8023 to upgrade ipython using pip:
8024
8025 $ pip install ipython --upgrade
8026
8027 to force PIL (say)
8028
8029 $ pip install --upgrade --force-reinstall PIL
8030
8031 (this didn't work for version-related issues)
8032
8033 $ pip install --upgrade --force-reinstall pillow
8034
8035 ---
8036 Sat 29 Jul 2017 15:37:06 BST
8037
8038 read this: https://autotools.io/index.html
8039
8040
8041 ---
8042 Fri Aug 11 14:19:34 BST 2017
8043
8044 https://stackoverflow.com/questions/21971449/how-do-i-increase-the-cell-width-of-the-jupyter-ipython-notebook-in-my-browser
8045
8046 ~/.ipython/profile_default/static/custom/custom.css (iPython) or ~/.jupyter/custom/custom.css (Jupyter) with content
8047
8048 .container { width:100% !important; }
8049
8050
8051 ---
8052 Fri 1 Sep 2017 05:52:26 BST
8053
8054 server threaded:
8055
8056 https://stackoverflow.com/questions/15074393/python-multithreading-xmlrpc-server
8057
8058
8059 ---
8060 Fri 1 Sep 2017 17:51:38 BST
8061
8062 WebVR and Coot - I discover:
8063
8064 https://forums.oculus.com/community/discussion/4232/visualizing-protein-structures
8065
8066 unitymol, molvr
8067
8068 http://www.molvr.org/category/downloads/
8069
8070
8071 ---
8072 Tue 12 Sep 2017 12:19:45 BST
8073
8074 Try deleting sidechains of a chain in a cryo em map (I was using chain J from 3771) then
8075 Extensions -> All Molecule -> Fill partial
8076
8077 It takes forever (copying the map).
8078
8079 ----
8080 Mon Sep 11 13:06:17 BST 2017
8081
8082 Thunderbird says this:
8083
8084 (firefox:11665): Gdk-WARNING **: Native children wider or taller than 65535 pixels are not supported
8085
8086 (firefox:11665): Gdk-WARNING **: Native children wider or taller than 65535 pixels are not supported
8087
8088 ----
8089 Fri 29 Sep 2017 06:03:42 BST
8090
8091 Use -Wl,-rpath (if passing to cc) or -rpath (if passing to ld) as more portable than
8092 -R. ephemient Mar 30 '09 at 17:35
8093
8094 also
8095
8096 https://www.eyrie.org/~eagle/notes/rpath.html
8097
8098 ----
8099 Tue 3 Oct 2017 11:49:21 BST
8100
8101 Tristan Croll mentions PyOpenCL
8102
8103 https://mathema.tician.de/software/pyopencl/
8104
8105 ----
8106 Wed 4 Oct 2017 06:36:53 BST
8107
8108 sounds
8109
8110 https://freesound.org/browse/tags/effect/?page=13#sound
8111
8112
8113 ----
8114 Thu 16 Nov 2017 01:48:51 ART
8115
8116 ligand docking things to read
8117
8118 https://worldwidescience.org/topicpages/q/qm-polarized+ligand+docking.html
8119
8120 ----
8121 Thu 14 Dec 2017 14:45:13 GMT
8122
8123 o configuring python with ssl - for pip: --with-ensurepip=install
8124 and LDFLAGS="-Wl,--rpath=${AUTOBUILD_INSTALLED}${build_type}/lib" of course
8125
8126 o apply the patch
8127
8128 Then copy Modules/Setup.dist Modules/Setup
8129 Because - it gets overwritten...? Or something?
8130
8131 --- Modules/Setup.dist.orig 2017-12-14 14:24:16.314852316 +0000
8132 +++ Modules/Setup.dist 2017-12-14 14:30:02.601760197 +0000
8133 @@ -215,10 +215,10 @@
8134
8135 # Socket module helper for SSL support; you must comment out the other
8136 # socket line above, and possibly edit the SSL variable:
8137 -#SSL=/usr/local/ssl
8138 -#_ssl _ssl.c \
8139 -# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
8140 -# -L$(SSL)/lib -lssl -lcrypto
8141 +SSL=/usr
8142 +_ssl _ssl.c \
8143 + -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
8144 + -L$(SSL)/lib64 -lssl -lcrypto
8145
8146
8147 ----
8148 Sun 17 Dec 2017 16:17:48 GMT
8149
8150 o Fix the documentation generation (coot-dox.cfg needs to be generated from coot-dox.cfg.in)
8151 because the source header files are not in the build directory. Useful?
8152
8153 http://chris-miceli.blogspot.co.uk/2011/01/integrating-doxygen-with-autotools.html
8154
8155 ::: 2
8156
8157 ----
8158 Sat 30 Dec 2017 20:31:56 GMT
8159
8160 o Nice to have function: --emdb code which uses files if they are available or gets the
8161 bundle first if not.
8162
8163 ----
8164 Sun 31 Dec 2017 04:54:00 GMT
8165
8166 o Non-bonded contacts are slow to generate on a big chain (say 400 residues or more) e.g. EMD-6698.
8167
8168 Make them faster.
8169
8170 ---
8171 Sun 31 Dec 2017 05:00:22 GMT
8172
8173 o put the refinement in a thread.
8174
8175
8176 ----
8177 Sun 31 Dec 2017 14:35:22 GMT
8178
8179 File to string;
8180
8181 https://www.fluentcpp.com/2017/12/19/build-strings-from-plain-string-up-to-boost-karma/
8182
8183 std::ostringstream fileContentsStream;
8184 fileContentsStream << std::ifstream("MyFile.txt").rdbuf();
8185 std::string fileContents = fileContentsStream.str();
8186
8187 ---
8188 Sun 31 Dec 2017 14:39:12 GMT
8189
8190 interesting minimization:
8191
8192 http://www.csm.ro/home/mmelsp_series/mmelsp_08_papers/nandrei_08.pdf
8193
8194
8195 ---
8196 Sun 31 Dec 2017 20:15:08 GMT
8197
8198 pango-cairo:
8199
8200 https://developer.gnome.org/pango/stable/pango-Cairo-Rendering.html
8201
8202 pango notes:
8203
8204 https://www.gtk.org/api/2.6/pango/PangoMarkupFormat.html
8205
8206 ---
8207 Thu 4 Jan 2018 16:54:56 GMT
8208
8209 Have a look at 6aqf
8210
8211 Allosteric Coupling of Drug Binding and Intracellular Signaling in the A2A Adenosine Receptor
8212
8213 ---
8214 Wed 17 Jan 2018 05:07:31 FKST
8215
8216 jupyter interesting
8217
8218 import jupyter_client
8219 k = jupyter_client.KernelManager()
8220 k.start_kernel()
8221
8222 ---
8223 Sun 18 Feb 2018 15:24:11 EET
8224
8225 HTC Vive on Linux:
8226
8227 https://www.gamingonlinux.com/articles/first-steps-with-openvr-and-the-vive-on-linux.7229
8228
8229 ----
8230 Sun 18 Feb 2018 18:06:29 EET
8231
8232 For moving single atoms of the moving atoms (for vrcoot), look at
8233 graphics_info_t::move_single_atom_of_moving_atoms(int screenx, int screeny)
8234
8235 ----
8236 Tue 20 Feb 2018 23:47:55 EET
8237
8238 MDFF example:
8239
8240 http://pubs.rsc.org/en/content/articlehtml/2014/fd/c4fd00005f
8241
8242 Actually, maybe not - needs close reading.
8243
8244 ---
8245 Sun 25 Feb 2018 07:28:36 EET
8246
8247 cryo-em tutorial:
8248
8249 o Note: 4m1m model and 7325 for the map (Gaby)
8250
8251 ---
8252 Sun 25 Feb 2018 18:17:33 EET
8253
8254 o cryo-EM tutorial 6771 middle of J: 196 209 281
8255
8256 the middle of the pyrimidine ring of the ligand 401 J NDP
8257
8258
8259 ---
8260 Mon 26 Feb 2018 10:43:18 EET
8261
8262 o 3wbm is a good example for RNA building - when RCrane works again :-/
8263 It has some difference map features that need fixing (in the protein).
8264
8265 ---
8266 Fri 9 Mar 2018 14:57:25 GMT
8267
8268 o Note to self: covalently bonded ligands must be in the same chain as the
8269 protein chain to which they are attached.
8270
8271
8272 ---
8273 Fri 9 Mar 2018 15:03:18 GMT
8274
8275 o when merging a ligand, try to change the chain-id to that of the protein
8276 to which it's close. Add checked button to gui: auto-chain-for-ligands
8277
8278
8279 ---
8280 Fri 9 Mar 2018 15:12:44 GMT
8281
8282 o yesterday I installed 3 virtual machines:
8283 centos 6.9, Fedora live latest, Ubunutu 17.10 (latest)
8284 All compiled coot out of the box with build-it.
8285 (I had to install a few system libraries with apt, yum, dnf)
8286
8287
8288 ---
8289 Sat 24 Mar 2018 03:00:25 GMT
8290
8291 o Can you find some "negatively" scoring parts of a domain for jiggle fitting?
8292 Make n test points inside the domain box and iterate moving them away from the
8293 closest atom of the protein. Make a chain of test points so that you can use
8294 SeekContacts - use a distance that is more than the maximum distance a
8295 test point will move (n_iter * step size). Atoms that move away from more than
8296 one atom are interesting (probably). Test points will drift away on the outside.
8297 So only keep those points that are within xA of any atom.
8298
8299 Use generic display objects.
8300
8301 ---
8302 Sat 24 Mar 2018 10:27:45 GMT
8303
8304 Stuart: Make a "extensions looker-upper" as a dropdown option in the Coot interface,
8305 so that people don't have to find/download/run scripts.
8306
8307 ---
8308 Fri 20 Apr 2018 14:53:26 BST
8309
8310 3j3q hiv capsid
8311
8312 4whj - interesting fitting Alvarez et al, domain needs to be shifted - 4.6A
8313
8314 ----
8315 Sun 20 May 2018 12:54:32 BST
8316
8317 cute graphics: https://github.com/prideout/aobaker
8318 https://github.com/prideout/blog-source/blob/master/p61/Cylinder.glsl
8319
8320 http://github.prideout.net/
8321 http://prideout.net/blog/
8322
8323 built them into coot :-)
8324
8325
8326
8327 ----
8328 Sun 20 May 2018 12:54:28 BST
8329
8330 OpenGL and gtk on gtkglext mailing list (last entries?)
8331
8332 https://mail.gnome.org/archives/gtkglext-list/2014-February/msg00016.html
8333
8334
8335 ---
8336 Sun 20 May 2018 12:59:28 BST
8337
8338 sharpconstruct for drawing heads?
8339
8340
8341 ---
8342 Sun 20 May 2018 13:22:00 BST
8343
8344 https://www.blendswap.com for heads
8345
8346 ----
8347 Tue 22 May 2018 15:12:04 BST
8348
8349 o re: a console: look at this:
8350 http://www.cplusplus.com/reference/cstdio/freopen/
8351 reopen std out as a static string stream?
8352
8353
8354
8355 ---
8356 Mon 28 May 2018 12:33:02 BST
8357
8358 Indirect GLX is no longer supported by default. You can enable it with:
8359
8360 defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
8361
8362 Jeremy Huddleston Sequoia
8363 https://bugs.freedesktop.org/show_bug.cgi?id=99146
8364
8365
8366 ---
8367 Tue 29 May 2018 16:29:39 BST
8368
8369 investigate __FILE__ __LINE__ and __FUNCTION__ for debugging
8370
8371
8372 ---
8373 Fri 1 Jun 2018 21:52:08 BST
8374
8375 graphics:
8376
8377 https://cesium.com/blog/2013/04/22/robust-polyline-rendering-with-webgl/
8378
8379 ---
8380 Sat 2 Jun 2018 17:26:41 BST
8381
8382
8383 14.150 How can I make line or polygon antialiasing work?
8384
8385 https://www.opengl.org/archives/resources/faq/technical/rasterization.htm#rast0150
8386
8387
8388
8389 ---
8390 Thu 7 Jun 19:50:40 BST 2018
8391
8392 compiling on ubuntu 18.04:
8393
8394 https://stackoverflow.com/questions/39188919/different-exception-specifier-with-g-6-2
8395 HACK_THROW_
8396
8397 ---
8398 Fri 8 Jun 2018 17:31:20 BST
8399
8400 Keele notes:
8401
8402 have a look at this:
8403
8404 3j3q hiv capsid
8405
8406 4whj - interesting fitting Alvarez et al, domain needs to be shifted - 4.6A
8407
8408
8409 ----
8410 Tue 12 Jun 2018 17:35:48 BST
8411
8412 record the desktop
8413
8414 ffmpeg -f x11grab -r 30 -i :0.0 /tmp/recording.mp4
8415
8416
8417 ----
8418 Thu 21 Jun 2018 14:35:55 BST
8419
8420 Use PyGI+GTK instead of pygtk with Python3
8421
8422 Converting gtk_timeout_add:
8423
8424 https://askubuntu.com/questions/228849/pygtk-to-pygi-gtk-timeout-add-equivalent
8425
8426 ----
8427 Fri 22 Jun 2018 14:44:20 BST
8428
8429 Spin-search Hydrogen atoms - read this first
8430
8431 Hydrogen bond networks
8432 R.W.W.Hooft, C.Sander and G.Vriend,
8433 Positioning hydrogen atoms by optimizing hydrogen bond networks in
8434 protein structures
8435 PROTEINS, 26, 363--376 (1996).
8436
8437 ---
8438 Fri 6 Jul 2018 11:24:42 BST
8439
8440 1h4h residue 49 is good for NCS jumping
8441
8442 ---
8443 Fri 6 Jul 2018 21:53:36 BST
8444
8445 In refmac
8446
8447
8448 vdwr 2
8449
8450 divides sigma by 2
8451
8452 ----
8453 Sat 21 Jul 2018 21:59:38 BST
8454
8455
8456 Scapin Potter Carragher 2018 Cell Chem Bio in press
8457
8458 maps between 4 and 2.5. standard MR is still possible but lodel building/rebuilding and refinement
8459 need to be guided. Ligands are a guessing game.
8460
8461 Maps worse than 5A standard MR likely to fail model building/rebuilding and refinement need to
8462 be guided Ligands? What ligands?
8463
8464 A good model is essential for god modelling. Validation.
8465
8466 Insulin receptor and Insulin 2018 Nature 556 122-125.
8467
8468 But still very few examples of cryo-EM in SBDD. (something... ?) bottom left panel reference?
8469 What was it?
8470
8471 ---
8472 Sat 14 Jul 2018 02:23:20 BST
8473
8474 std::unique_ptr: read this:
8475
8476 http://www.drdobbs.com/cpp/c11-uniqueptr/240002708
8477
8478 ---
8479 Sun 15 Jul 2018 14:45:10 BST
8480
8481 converting a QuickTime movie
8482
8483 ffmpeg -i {in-video}.mov -vcodec h264 -acodec aac -strict -2 {out-video}.mp4
8484
8485
8486 ---
8487 Wed 18 Jul 2018 02:06:02 BST
8488
8489 Fitting problem: https://www.nature.com/articles/nature12162
8490
8491 https://www.sciencedirect.com/science/article/pii/S0969212608001330
8492
8493
8494 This?
8495
8496 Electron Cryomicroscopy of Viruses at Near-Atomic Resolutions
8497 Article September 2017
8498 DOI: 10.1146/annurev-virology-101416-041921
8499
8500 Accurate model annotation of a near-atomic resolution cryo-EM map
8501 Article (PDF Available) Proceedings of the National Academy of Sciences 114(12):201621152
8502
8503
8504 Interesting for other reasons:
8505
8506 The HIV-1 envelope glycoprotein structure: nailing down a moving target
8507 Article
8508 Jan 2017IMMUNOL REV
8509 Andrew B Ward Ian A Wilson
8510
8511
8512
8513 ----
8514
8515 Henry van bedem?
8516
8517 Read this: minor modification in a ligand results in different binding mode.
8518
8519 j med chem 2016, 59, 6356
8520
8521
8522 ----
8523 Sun 22 Jul 2018 13:47:36 EDT
8524
8525 transparent triangles in raster3d?
8526 Yes, it is possible.
8527
8528 ---
8529
8530 evaluation System and web infrastructure of 3d cryo em model challenge, 2018, JMB
8531
8532 uses EMRinger
8533
8534
8535 ----
8536 Mon 23 Jul 2018 13:59:52 EDT
8537
8538 sgc xchem sabrina mckinnon(?) HAO1 fragment screening.
8539
8540
8541 ----
8542 Thu 26 Jul 2018 14:43:36 BST
8543
8544 for difference map for cryoem from refmac:
8545
8546 mapcalc vector
8547
8548 ---
8549 Fri 27 Jul 2018 14:45:14 BST
8550
8551 o Pathwalking: Look at 2015/16 EM model-bulding trial:
8552 find e2pathwalker_auto.py?
8553
8554 ---
8555 Tue 21 Aug 2018 16:20:52 BST
8556
8557 o CUDA cubic spline for grid interpolation:
8558
8559 http://www.dannyruijters.nl/cubicinterpolation/
8560
8561 ---
8562 Mon 6 Aug 15:21:40 BST 2018
8563
8564
8565 Inverse Kinematics, Featherstone?
8566
8567 https://github.com/bulletphysics
8568
8569 Also
8570 Bullet Physics SDK:
8571 real-time collision detection and multi-physics simulation for VR,
8572 games, visual effects, robotics, machine learning etc.
8573
8574 Also
8575
8576 https://dartsim.github.io/ DART (Dynamic Animation and Robotics Toolkit
8577
8578 Book: Rigid Body Dynamics Algorithms 2008, Featherstone, Roy
8579 A comprehensive collection of the best rigid-body dynamics algorithms
8580
8581 ---
8582 Mon 27 Aug 2018 12:21:09 BST
8583
8584 what is geexlab?
8585
8586 ---
8587 Tue 28 Aug 2018 03:27:54 BST
8588
8589 command line parsing in c++ 11
8590
8591 https://www.reddit.com/r/cpp/comments/4zhm2n/which_library_would_you_recommend_for_parsing/
8592
8593 ---
8594 Tue 4 Sep 2018 06:13:12 BST
8595
8596 read this:
8597
8598 https://www.ncbi.nlm.nih.gov/pubmed/27318041
8599
8600 Defining the limits and reliability of rigid-body fitting in cryo-EM maps using
8601 multi-scale image pyramids.
8602
8603 and this:
8604
8605 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3150432/
8606
8607 BCL::EM-Fit: Rigid body fitting of atomic structures into density maps using
8608 geometric hashing and real space refinement
8609
8610 read this:
8611
8612 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5715128/
8613
8614 Tools for the cryo-EM gold rush: going from the cryo-EM map to the atomistic model
8615
8616 read this
8617
8618 RosettaES: a sampling strategy enabling automated interpretation of difficult cryo-EM maps.
8619 Frenz B, Walls AC, Egelman EH, Veesler D, DiMaio F
8620 Nat Methods. 2017 Aug; 14(8):797-800.
8621
8622 read this:
8623
8624 Woetzel N, Lowe EW, Meiler J. Poster: GPU-accelerated rigid body fitting of atomic structures
8625 into electron density maps. 2011 IEEE 1st International Conference on Computational
8626 Advances in Bio and Medical Sciences (ICCABS).2011. [Ref list]
8627 Journal ref is one of the above, I think (BCL::EM-Fit)
8628
8629 ---
8630 Tue 4 Sep 2018 16:15:01 BST
8631
8632 chimera:
8633
8634 Visualizing density maps with UCSF Chimera.
8635 Goddard TD, Huang CC, Ferrin TE
8636 J Struct Biol. 2007 Jan; 157(1):281-7.
8637
8638 Fitting to maps described here?
8639
8640 Fit in map:
8641 https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/fitmap.html
8642
8643 ---
8644 Fri 21 Sep 2018 10:49:26 BST
8645
8646 Jane Richardon: packing in 1cgi looks nice.
8647 non-Pro cis 3er0 (should be 1 in 3,000 or 1 in 10,000 for non-carbohydrate proteins)
8648 cablam outlier: 3ja8 Leu 235
8649
8650 Make a figure of 1cgi in new coot.
8651
8652 ---
8653 Tue 11 Sep 23:10:09 BST 2018
8654
8655
8656 http://opengl.datenwolf.net/gltut/html/index.html
8657
8658 ---
8659 Mon Sep 17 21:55:15 BST 2018
8660
8661 build this from a starting ideal helix:
8662 (which you might be able to find with a cuda-based search?)
8663 5toh
8664
8665 ---
8666 Mon 24 Sep 2018 15:48:27 BST
8667
8668 quaternion axis rotation in freeglut 2.8.1 spaceball.c
8669
8670 void sbrot(int x, int y, int z) {
8671 float axis_len = (float)sqrt(x * x + y * y + z * z);
8672 rot = quat_rotate(rot, axis_len * 0.001f, -x / axis_len, -y / axis_len, z / axis_len);
8673
8674 Does this mean that a spaceball works? Hmm!
8675
8676 ---
8677 Wed 26 Sep 2018 22:44:14 BST
8678
8679 Jeremy Huddleston Sequoia 2016-12-19 19:46:44 UTC
8680
8681 Indirect GLX is no longer supported by default. You can enable it with:
8682
8683 defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
8684
8685 ---
8686 Thu 27 Sep 2018 08:12:03 BST
8687
8688 font stuff
8689
8690 http://www.lighthouse3d.com/very-simple-libs/vsfl/
8691
8692
8693 ---
8694 Thu 27 Sep 2018 11:57:26 BST
8695
8696 GLSL antialiasing/multisampling
8697
8698 https://learnopengl.com/Advanced-OpenGL/Anti-Aliasing
8699
8700 ---
8701 Thu 27 Sep 2018 15:12:53 BST
8702
8703 3gp0 needs helix shift of MR solution
8704
8705 Try low res, prosmart-like restraints or morphing wrapped with prosmart restraints.
8706
8707
8708 ---
8709 Thu 27 Sep 2018 15:33:44 BST
8710
8711 histogram of H (or HA) density values in the apoferritin map.
8712
8713
8714 ----
8715 Thu 27 Sep 2018 15:58:58 BST
8716
8717 Dave Brown suggests:
8718 ligand validation meeting: what should we do with ligands from pandda - they will
8719 seem to be rubbish by conventional metrics.
8720
8721 ----
8722 Sun 14 Oct 2018 17:10:02 BST
8723
8724 bfgs
8725
8726 https://www.caam.rice.edu/~dennis/images/Broyden-Fletcher-Goldfarb-Shanno.jpg
8727
8728 ---
8729 Sun 4 Nov 2018 05:04:52 GMT
8730
8731 atomic compare_exchange_weak
8732 https://www.codeproject.com/Articles/808305/Understand-std-atomic-compare-exchange-weak-in-Cpl
8733
8734 ---
8735 Wed 7 Nov 2018 15:45:36 GMT
8736
8737 PLIP is a thing (I mentioned it above!)
8738 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4489249/
8739 A 500 in 1osn - what does this give in pli?
8740
8741 ---
8742 Sun 11 Nov 2018 16:32:37 GMT
8743
8744 read this before updating hydrogen bonds:
8745
8746 Kortemme T, Morozov AV, Baker D. An orientation-dependent hydrogen bonding potential improves
8747 prediction of specificity and structure for proteins and protein-protein complexes.
8748 J Mol Biol. 2003;326:1239–1259.
8749
8750 ---
8751 Sun 25 Nov 2018 12:26:00 BRST
8752
8753 porting pygtk to python3 PyGI+GTK PyGObject Introspection
8754 https://wiki.gnome.org/action/show/Projects/PyGObject/IntrospectionPorting?action=show&redirect=PyGObject%2FIntrospectionPorting
8755
8756
8757 ---
8758 Tue 11 Dec 2018 02:47:48 GMT
8759
8760 differential equation solver
8761
8762 https://github.com/sheljohn/osd
8763
8764 ---
8765 Tue 18 Dec 2018 03:42:49 GMT
8766
8767 svg problem maybe compile gtk-pixbuf2 with --enable-relocations
8768
8769 https://github.com/Alexpux/MINGW-packages/issues/818
8770
8771 This is most probably caused by wrong /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache file. Try:
8772 gdk-pixbuf-query-loaders > $prfx/gdk-pixbuf-2.0/2.10.0/loaders.cache
8773 to regenerate it.
8774
8775 ----
8776 Sun 16 Dec 2018 14:48:21 GMT
8777
8778 set_thread *is* run just once at the start of ctpl.h.
8779
8780 ---
8781 Sun 13 Jan 2019 19:13:55 GMT
8782
8783 CUDA
8784 http://people.maths.ox.ac.uk/gilesm/cuda/lecs/lec4.pdf
8785
8786 ---
8787 Sun 6 Jan 2019 14:57:30 GMT
8788
8789 check my blob
8790
8791 https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/bty626/5055122
8792
8793 ---
8794 Sun 6 Jan 2019 15:15:22 GMT
8795
8796 module opticspy does Zernike moments
8797
8798 ---
8799 Tue 8 Jan 2019 14:42:58 GMT
8800
8801 Here is homebrew's patch for Python
8802
8803 https://github.com/Homebrew/homebrew-core/blob/master/Formula/python.rb
8804
8805 ---
8806 Wed 9 Jan 2019 02:25:27 GMT
8807
8808 lots of click sounds (just the job?)
8809
8810 https://freesound.org/people/Jaszunio15/
8811
8812 ---
8813 Wed 9 Jan 2019 15:05:52 GMT
8814
8815 fragment-based folding
8816
8817 http://www0.cs.ucl.ac.uk/staff/D.Jones/t42morph.html
8818
8819 ---
8820 Wed 9 Jan 2019 15:09:38 GMT
8821
8822 Dan Rigdeon talk:
8823
8824 quark server: fragment based modelling
8825
8826 https://zhanglab.ccmb.med.umich.edu/QUARK/
8827
8828 https://onlinelibrary.wiley.com/doi/full/10.1002/prot.24065
8829
8830 also
8831
8832 confold2 (not fragment based)
8833
8834 ---
8835 Sun 13 Jan 2019 07:56:23 GMT
8836
8837 CUDA
8838 https://www.sharcnet.ca/help/index.php/CUDA_tips_and_tricks#Overview
8839
8840 ---
8841 Fri 25 Jan 2019 20:54:54 GMT
8842
8843 Software Violations in Binary Code
8844 https://nixos.org/~eelco/pubs/clones-msr2011-final.pdf
8845
8846 ----
8847 Tue 5 Feb 2019 11:44:27 PST
8848
8849 gettext problems in cj build gtkglext (glib)
8850
8851 configuration of glib failed because it couldn't find gettext (perhaps msgfmt, actually)
8852 That was because cj build didn't install the msgfmt file.
8853
8854 The solution was to put the directory for msgfmt in the path before running cj (and that
8855 directory was provided by homebrew).
8856
8857 A better solution is for cj to install msgfmt and put the directory into which it installs
8858 it into the path itself.
8859
8860 ----
8861 Mon 11 Feb 2019 13:05:44 PST
8862
8863
8864 compiling readline from source
8865
8866 https://stackoverflow.com/questions/26670417/how-to-compile-readline-from-source
8867
8868 ldd -r /mypath/lib/libreadline.so.6.2
8869 linux-vdso.so.1 => (0x00007ffffb186000)
8870 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f450c62f000)
8871 /lib64/ld-linux-x86-64.so.2 (0x00007f450cc07000)
8872 undefined symbol: UP (/mypath/lib/libreadline.so.6.2)
8873 undefined symbol: PC (/mypath/lib/libreadline.so.6.2)
8874 undefined symbol: BC (/mypath/lib/libreadline.so.6.2)
8875
8876 --with-curses'
8877 This tells readline that it can find the termcap library functions
8878 (tgetent, et al.) in the curses library, rather than a separate
8879 termcap library. Readline uses the termcap functions, but does not
8880 link with the termcap or curses library itself, allowing applications
8881 which link with readline the to choose an appropriate library.
8882 This option tells readline to link the example programs with the
8883 curses library rather than libtermcap.
8884
8885 make SHLIB_LIBS=/mypath/libncurses.so
8886
8887
8888 ----
8889 Sat 16 Feb 2019 06:02:48 PST
8890
8891 LBFGS insights:
8892 https://www12.cs.fau.de/edu/map/ss12/talks/lbfgs_map_superresolution.pdf
8893
8894 Does changing the Rama weight make our function more like a rosenbrock function?
8895
8896 http://en.wikipedia.org/wiki/Rosenbrock_function
8897
8898 ---
8899 Thu 14 Mar 2019 11:03:04 CET
8900
8901 EMD 3908 helix at (125, 118, 103)
8902
8903 ---
8904 Tue 26 Mar 2019 14:14:51 GMT
8905
8906 vulkan and cuda:
8907
8908 https://github.com/NVIDIA/cuda-samples/tree/master/Samples/simpleVulkan
8909
8910 So can I do marching cubes with CUDA and display them with vulkan?
8911
8912 Does that mean moving everything to vulkan?
8913
8914 ----
8915 Sun 31 Mar 2019 23:41:34 BST
8916
8917 Advances in the molecular dynamics flexible fitting method for cryo-EM modeling
8918 There are tutorials:
8919 https://www.sciencedirect.com/science/article/pii/S1046202316300093?via%3Dihub
8920
8921 ----
8922 Mon 1 Apr 2019 00:11:03 BST
8923
8924 Rosetta: Read this:
8925 https://www.nature.com/articles/nmeth.3286
8926
8927 ---
8928 Sun 10 Mar 2019 12:39:28 GMT
8929
8930 use pip to install xmltramp2 to use muscle.py
8931
8932 https://raw.githubusercontent.com/ebi-wp/webservice-clients/master/python/muscle.py
8933
8934 * Forget that, clustalw2 can be installed as part of the build. Now there's an interface for that.
8935
8936 ---
8937 Tue 12 Mar 2019 17:34:23 GMT
8938
8939 Is this what I need to test that svg works? (found in gtk3-opengl/Makefile)
8940
8941 rsvg-convert --format png --output $@ $^
8942
8943 ----
8944 Tue 16 Apr 2019 06:18:36 BST
8945
8946 2D Vector Graphics:
8947 https://blend2d.com/
8948
8949 ---
8950 Thu 18 Apr 2019 04:32:45 BST
8951
8952 Angle-modulated transparency in VMD
8953
8954
8955 ---
8956 Mon 29 Apr 2019 12:23:07 BST
8957
8958 o Converting to GTK3: At some stage Use define (GTK_DISABLE_DEPRECATED) in the gtk2 build
8959 gtk_combo_box_get_active_text is deprecated
8960
8961 * Deprecated: 2.24: If you used this with a #GtkComboBox constructed with
8962 * gtk_combo_box_new_text() then you should now use #GtkComboBoxText and
8963 * gtk_combo_box_text_get_active_text() instead. Or if you used this with a
8964 * #GtkComboBoxEntry then you should now use #GtkComboBox with
8965 * #GtkComboBox:has-entry as %TRUE and use
8966 * gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (combobox)))).
8967
8968 ---
8969 Mon 29 Apr 2019 12:37:01 BST
8970
8971 GPU Optimizations for games:
8972
8973 https://gist.github.com/silvesthu/505cf0cbf284bb4b971f6834b8fec93d
8974
8975 interesting stuff
8976
8977 ---
8978 Tue 30 Apr 2019 15:30:25 BST
8979
8980 rtx/Vulkan with Linux:
8981
8982 https://iorange.github.io/p01/HappyTriangle.html
8983
8984 Good stuff - not sure how to get the vulkan directory :-)
8985
8986 --
8987 Wed 8 May 2019 17:44:23 BST
8988
8989 GLU unproject:
8990
8991 https://forum.libcinder.org/topic/glu-s-gluunproject-substitute
8992
8993
8994 ---
8995 Vulkan Fish! and other things:
8996 https://developer.nvidia.com/gameworks-vulkan-and-opengl-samples
8997
8998 ---
8999 Tue 7 May 2019 00:16:49 BST
9000
9001 deprecated gtk:
9002
9003 - box_main = gtk_vbox_new (FALSE, 10);
9004 + box_main = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
9005
9006
9007 ---
9008 Fri 10 May 2019 05:51:46 BST
9009
9010 Oh boy:
9011
9012 On Mac OS X, GTK3+ is only native
9013 On Mac OS X, GTK3+ has no connection to OpenGL
9014
9015 https://apple.stackexchange.com/questions/205404/how-can-i-get-gdk-x11-3-0-on-os-x
9016 https://mail.gnome.org/archives/gtk-list/2017-January/msg00020.html
9017
9018
9019 ---
9020 Fri 10 May 2019 17:01:54 BST
9021
9022 It might be that wxFormBuilder can generate C++ from glade-3 output.
9023
9024 ---
9025 Sun 12 May 2019 14:38:04 BST
9026
9027 Lots of good stuff about how to work with GTK3 on Mac OS X:
9028
9029 https://wiki.gnome.org/Projects/GTK/OSX
9030
9031 ---
9032 Thu 6 Jun 22:13:09 BST 2019
9033
9034 Here is how to get rid of gtk_misc_get_type and others:
9035 https://github.com/abrt/libreport/commit/fbd0a76180633c7d50be01ea69ad734749db18a8
9036
9037 ---
9038 Wed 12 Jun 2019 03:07:48 BST
9039
9040 Thinking about getting rid of plane restraints for CuDA: replace
9041 by improper dihedrals:
9042
9043 https://salilab.org/modeller/9v6/manual/node436.html
9044 Use [van Schaik et al., 1993] to handle numerical instability.
9045
9046
9047 ---
9048 Wed 12 Jun 2019 09:13:48 BST
9049
9050 For faster map iterpolation in CUDA:
9051
9052 Z-order curves/Morton 3d:
9053
9054 http://graphics.cs.kuleuven.be/publications/BLD13OCCSVO/
9055
9056 https://www.forceflow.be/2013/10/07/morton-encodingdecoding-through-bit-interleaving-implementations/
9057
9058 Tue 11 Jun 22:39:15 BST 2019
9059 ---
9060
9061 https://stackoverflow.com/questions/14519267/algorithm-for-generating-a-3d-hilbert-space-filling-curve-in-python
9062
9063 http://www.math.uwaterloo.ca/~wgilbert/Research/HilbertCurve/HilbertCurve.html
9064
9065 ---
9066 Wed 22 May 2019 11:34:42 BST
9067
9068 look at this:
9069
9070 https://wiki.fysik.dtu.dk/ase/
9071
9072 and this:
9073
9074 https://www.macinchem.org/blog/files/90966f824efe7fbbf2f0b4f56526b658-2202.php
9075 LigandScout 4.2 Released
9076
9077 ---
9078 Thu 23 May 2019 10:38:58 BST
9079
9080 Javascript viewers:
9081
9082 https://www.macinchem.org/scientificsoftware/jsmolviewers.php
9083
9084 https://biasmv.github.io/pv/demo.html # outlined
9085
9086 ---
9087 Fri 24 May 2019 18:12:50 BST
9088
9089 flatpak for GNOME:
9090
9091 https://wiki.gnome.org/Newcomers/BuildProject
9092
9093 Build GTK4 and test Vulkan
9094
9095 ---
9096 Mon 27 May 2019 01:38:52 CEST
9097
9098 using Vulkan and glm and glfw for pretty pictures:
9099
9100 https://www.reddit.com/r/vulkan/comments/brvdan/the_story_of_optimizing_a_vulkan_program/
9101
9102
9103 ----
9104 Wed 1 May 16:03:37 BST 2019
9105
9106 https://stackoverflow.com/questions/4305911/opengl-depth-sorting
9107 https://stackoverflow.com/questions/6352908/opengl-transparency-translucency?noredirect=1&lq=1
9108 http://developer.download.nvidia.com/SDK/10/opengl/src/dual_depth_peeling/doc/DualDepthPeeling.pdf
9109 http://www.humus.name/index.php?page=3D&ID=61
9110 https://community.khronos.org/t/easy-depth-sorting-almost-maybe/59832
9111
9112
9113 ----
9114 Tue 7 May 17:38:42 BST 2019
9115
9116 SAXS tutorial/envelope info
9117 https://situs.biomachina.org/tutorial_saxs.html
9118
9119
9120 ---
9121 Thu 13 Jun 2019 08:24:13 BST
9122
9123 Ray tracing - ends with glass duck
9124 https://github.com/ssloy/tinyraytracer/wiki/Part-1:-understandable-raytracing
9125
9126 ---
9127 Wed 19 Jun 2019 15:38:48 CDT
9128
9129 To solve the canberra problem:
9130
9131 sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
9132
9133
9134 ---
9135 Thu 20 Jun 2019 15:41:02 CDT
9136
9137 focus follow mouse:
9138
9139 gsettings set org.gnome.desktop.wm.preferences focus-mode 'sloppy'
9140
9141
9142 ---
9143 Fri 21 Jun 2019 14:31:08 CDT
9144
9145 o phenix ncs-from-map:
9146
9147 https://www.phenix-online.org/documentation/reference/find_ncs_from_density.html
9148
9149
9150 ---
9151 Fri 21 Jun 2019 14:59:40 CDT
9152
9153 Conan: the C / C++ Package Manager for Developers
9154
9155 open source, decentralized and multi-platform package manager to create and
9156 share all your native binaries.
9157
9158 ---
9159
9160 Mon 8 Jul 18:12:26 BST 2019
9161
9162 Jiffies, linux ticks, Hz
9163
9164 $ getconf CLK_TCK
9165
9166
9167 ---
9168 Mon 24 Jun 2019 09:41:38 CDT
9169
9170 PDBe: ccdutils rdkit library
9171
9172 ---
9173 Mon 24 Jun 2019 10:14:03 CDT
9174
9175 Pavel lecture:
9176
9177 o 3noq real Rama outlier
9178 5a9z lots of Rama outliers.
9179 Voth and Shing 2007 for Hydrogen bond definition
9180
9181 ---
9182 Mon 24 Jun 2019 10:15:05 CDT
9183
9184 o Mac OSX and Gtk: John Ralls https://discourse.gnome.org/t/say-hello-thread/82/35
9185
9186
9187 ---
9188 Mon 24 Jun 2019 10:15:28 CDT
9189
9190 o Dominika OS: Ubuntu 16.04
9191
9192 ---
9193 Wed 3 Jul 2019 04:21:00 BST
9194
9195 o 26S Proteosome EMDB-4002
9196
9197 ---
9198 Tue 16 Jul 22:59:11 BST 2019
9199
9200 what is this?
9201
9202 https://github.com/exokitxr/exokit
9203
9204 ---
9205 Fri 26 Jul 20:51:17 BST 2019
9206
9207 o OpenGL tutorials: including SSAO:
9208
9209 http://ogldev.atspace.co.uk/
9210
9211 ---
9212 Tue 9 Jul 2019 18:19:46 BST
9213
9214 o Interesting (python) opengl stuff:
9215
9216 http://www.labri.fr/perso/nrougier/python-opengl/
9217
9218 ---
9219 Tue 9 Jul 2019 21:51:00 BST
9220
9221 RNA Forcefield Hydrogen bonds Amber
9222
9223 https://pubs.acs.org/doi/abs/10.1021/acs.jctc.8b00955
9224
9225 ---
9226 Tue 16 Jul 2019 00:09:20 BST
9227
9228 Project: tutorial/video examples
9229 elifesciences.org/articles/16105 for extra examples of big shift molecules
9230
9231 ---
9232 Thu 18 Jul 2019 09:44:15 BST
9233
9234 Scalable parallel programming
9235
9236 read this https://ieeexplore.ieee.org/abstract/document/7476525
9237
9238 ----
9239 Mon 9 Sep 18:16:04 BST 2019
9240
9241
9242 render to texture in OpenGL:
9243
9244 http://in2gpu.com/2014/09/24/render-to-texture-in-opengl/
9245
9246 -----
9247 Look at this too for Frame Buffer Objects
9248
9249 http://www.songho.ca/opengl/gl_fbo.html
9250
9251 ---
9252 Mon 16 Sep 16:59:51 BST 2019
9253
9254 MolProbity Score:
9255
9256 http://kinemage.biochem.duke.edu/suppinfo/CASP8/methods.html
9257
9258 interesting.
9259
9260 ---
9261 Wed 4 Sep 2019 08:54:02 BST
9262
9263 o Project:
9264 what is this? Systematic residue side-chain optimizations using grid searches in torsion-angle
9265 space (Oldfield, 2001).
9266
9267 A number of real-space torsion-angle refinement techniques for proteins, nucleic acids,
9268 ligands and solvent
9269
9270 ---
9271 Tue 17 Sep 2019 08:36:22 BST
9272
9273 example of morphing from Chimera X documentation:
9274
9275 inactive structure (PDB 3C4F, chain A)
9276 activated structure (PDB 3GQI, chain A)
9277
9278 ---
9279 Wed 18 Sep 2019 15:46:47 BST
9280
9281 o https://github.com/mozilla/DeepSpeech
9282
9283 ---
9284 Fri 20 Sep 21:13:27 BST 2019
9285
9286 de novo model building using Coot:
9287
9288 https://www.pnas.org/content/116/33/16535
9289
9290 How would you do it today?
9291
9292 ---
9293 Wed 9 Oct 2019 16:12:16 BST
9294
9295 zink:
9296
9297 https://kusma.xyz/blog/2018/10/31/introducing-zink.html
9298
9299 ---
9300 Tue 15 Oct 2019 00:18:40 BST
9301
9302 const iterators are not const on the left hand side!
9303
9304 ---
9305 Fri 6 Dec 2019 14:32:43 GMT
9306
9307 Kevin says that structure factor calculation is in csfcalc.cpp
9308
9309 ---
9310 Tue 3 Dec 11:03:55 GMT 2019
9311
9312 threaded sort:
9313
9314 http://quick-bench.com/n55SzmJ2k-FowEP_ERhre56ODWA
9315 https://hastebin.com/uceyumepis.cpp
9316
9317 ---
9318 Tue 14 Jan 2020 02:09:52 GMT
9319
9320 Project: What is this and can we do better?
9321 OPUS‐Rota: A fast and accurate method for side‐chain modeling
9322 https://onlinelibrary.wiley.com/doi/full/10.1110/ps.035022.108
9323
9324
9325 ---
9326 Fri 24 Jan 2020 16:10:04 ICT
9327
9328 4ebl B 70 SER has linked ligand - nice for tutorial.
9329 Has NCS, but not complete for all chains.
9330 Also wrong glycerols
9331
9332
9333 ---
9334 Sun 2 Feb 05:53:57 GMT 2020
9335
9336 mmdb bug I think: If you set the residue name to 2 chars, then
9337 in the pdb file the 2 chars are in the wrong columns (right
9338 justified - should be left).
9339
9340
9341 ---
9342 Thu 13 Feb 18:40:56 GMT 2020
9343
9344 EPG in 2xgb is an example of incorrect/changing chemistry
9345 on ligand covalent bond formation A 184 GLU
9346
9347
9348 ---
9349 Fri 14 Feb 16:21:30 GMT 2020
9350
9351 install gtk3+ on Ubuntu:
9352
9353 sudo apt-get install libgtk-3-dev
9354
9355 ---
9356 Thu 20 Feb 21:40:34 GMT 2020
9357
9358 Project:
9359
9360 https://www.cell.com/structure/pdf/S0969-2126(15)00511-0.pdf 3jci
9361
9362 They mention emringer - test this.
9363
9364 -----
9365 Thu 27 Feb 2020 12:48:11 IST
9366
9367 clustalw is LGPL? Use that for alignments.
9368
9369 * Done!
9370
9371 ---
9372 Sat 29 Feb 2020 17:52:41 IST
9373
9374
9375 o Ronan's talk:
9376
9377 Get the 1tj3 "bad" model without splitting - 1tj3 is the data or the model?
9378 Data presumably. Calculate/update maps? Likelihood improvements?
9379
9380 Get the "jelly body" refined map and model too. 3td6
9381
9382 Misha: has FimD-plug and FimDNTD needs jelly body refinement
9383 get the codes (2011?)
9384
9385 o domains with hinges: can you find a way to generate models that
9386 have a "hinge" - 3 angles to test? One is more common than the
9387 others?
9388
9389 o put sfcheck functions (graphs) into coot.
9390
9391
9392 ---
9393 HEAD
9394 Fri 10 Apr 17:07:51 BST 2020
9395
9396 o Gtk/Gdk mode touches OpenGL at glXChooseVisual
9397 THis is not called in Gtk3.24.11
9398
9399
9400 ---
9401 Fri 15 May 13:24:21 BST 2020
9402
9403 building from scratch
9404
9405 run the build-it-3-3 script
9406 pip3 install pycairo
9407 cd ~/compile/PyGObject-xyz
9408 python setup.py build
9409 python setup.py install
9410
9411 cd ~/autobuild/Linux-penelope-gtk3-python/include/
9412 ln -s ../lib/python3.6/site-packages/PyGObject-3.36.0-py3.6-linux-x86_64.egg/include/pygobject-3.0
9413
9414 now import gi works from python
9415
9416 ... or does it?
9417
9418
9419 make sure that g-ir-scanner is correctly installed (from gobject-introspection-1.50.0 or so)
9420
9421 cd PyGObject-3.36.0 # or so
9422 meson -Dprefix=/home/paule/autobuild/Linux-penelope-pre-release-gtk3-python build
9423 cd build
9424 ninja
9425 ninja install
9426
9427
9428 example:
9429 prfx=/home/paule/autobuild/Linux-penelope-pre-release-gtk3
9430 meson -Dprefix=$prfx build
9431 ninja
9432 ninja install
9433 # now we can use Gtk in python!
9434
9435
9436 ---
9437 Sun 17 May 03:08:44 BST 2020
9438
9439 problems with python:
9440
9441 This is trying to use python3.8. It used to work with 3.6 - I don't know if that is related.
9442
9443 enelope coot-gtk3/build/src> ./coot-bin --no-graphics
9444 Traceback (most recent call last):
9445 File "<string>", line 1, in <module>
9446 ModuleNotFoundError: No module named 'coot'
9447 ERROR:: could not import coot.py
9448 in PyInit_coot_gui_api() returing module 0x7fa9847def90
9449 INFO:: Using Standard CCP4 Refmac dictionary from CLIBD_MON: /home/paule/ccp4/ccp4-7.0/lib/data/monomers/
9450 INFO:: Reading coordinate file: /home/paule/autobuild/Linux-penelope-pre-release-gtk3-python/share/coot/standard-residues.pdb
9451 INFO:: file /home/paule/autobuild/Linux-penelope-pre-release-gtk3-python/share/coot/standard-residues.pdb has been read.
9452 Python 3.8.2 (default, May 17 2020, 01:35:28)
9453 [GCC 9.2.1 20191008] on linux
9454 Type "help", "copyright", "credits" or "license" for more information.
9455 >>> import _coot
9456 Traceback (most recent call last):
9457 File "<stdin>", line 1, in <module>
9458 ImportError: /home/paule/Projects/coot/git/coot-gtk3/build/src/.libs/_coot.so: undefined symbol: n_models
9459 >>>
9460
9461 penelope coot-gtk3/build/src> nm .libs/coot-bin | grep n_models
9462 00000000000ce800 T n_models
9463 0000000000055234 t n_models.cold
9464 00000000003f9660 T _ZNK21molecule_class_info_t8n_modelsEv
9465
9466 So, Does _coot.so want to be linked with all of coot, despite being "part of" coot-bin. Has the linking
9467 in 3.8 changed?
9468
9469 Read about embedding here: https://docs.python.org/3/whatsnew/3.8.html
9470
9471 ... but I get the same problems in 3.6?
9472
9473 ./coot-bin --no-graphics
9474 Traceback (most recent call last):
9475 File "<string>", line 1, in <module>
9476 File "/home/paule/autobuild/Linux-penelope-pre-release-gtk3-python/lib/python3.6/site-packages/coot.py", line 15, in <module>
9477 import _coot
9478 ImportError: /home/paule/Projects/coot/git/coot-gtk3/build/src/.libs/_coot.so: undefined symbol: n_models
9479 ERROR:: could not import coot.py
9480 in PyInit_coot_gui_api() returing module 0x7fbaf1d5b318
9481 INFO:: Using Standard CCP4 Refmac dictionary from CLIBD_MON: /home/paule/ccp4/ccp4-7.0/lib/data/monomers/
9482 INFO:: Reading coordinate file: /home/paule/autobuild/Linux-penelope-pre-release-gtk3-python/share/coot/standard-residues.pdb
9483 INFO:: file /home/paule/autobuild/Linux-penelope-pre-release-gtk3-python/share/coot/standard-residues.pdb has been read.
9484 Python 3.6.5 (default, Mar 29 2020, 05:23:17)
9485 [GCC 9.2.1 20191008] on linux
9486
9487 delete all *coot* in site-packages. Try again.
9488
9489
9490 Fri 10 Apr 10:49:21 BST 2020
9491
9492 o 3tib is a good structure for adding carbohydrates (tutorial)
9493
9494 ----
9495 Sat 23 May 03:05:12 BST
9496
9497 python -m ensurepip --default-pip
9498 python -m pip install --upgrade pip setuptools wheel
9499
9500 https://packaging.python.org/tutorials/installing-packages/
9501
9502 # use that to install pycairo
9503 pip3 install pycairo
9504 now we are ready to install PyGObject?
9505
9506
9507 ----
9508 Mon 15 Jun 09:28:20 BST 2020
9509
9510 Fresnel and related:
9511
9512 ---
9513 Wed 20 May 17:37:12 BST 2020
9514
9515 to install pip from python
9516
9517 python -m ensurepip --default-pip
9518
9519 ---
9520 Wed 20 May 19:11:11 BST 2020
9521
9522 http://click2drug.org/ for interesting applications
9523
9524 ---
9525 Mon 25 May 2020 11:13:41 BST
9526
9527 o How does ChimeraX do model morphing?
9528 https://www.rbvi.ucsf.edu/chimera/data/sbgrid-apr2017/cryomovie.html
9529
9530 ---
9531 Thu 4 Jun 10:53:57 BST 2020
9532
9533 The test-out-of-the-box build for hal is on teraraid
9534
9535 ---
9536 Tue 9 Jun 20:34:17 BST 2020
9537
9538 other than NED
9539 NASA/IPAC Extragalactic Database: ned.ipac.caltech.edu
9540 there is
9541 The Extragalactic Distance Database (EDD)
9542 http://edd.ifa.hawaii.edu/
9543
9544 ---
9545 Mon 15 Jun 08:57:41 BST 2020
9546
9547 ERRAT notes and improvement:
9548
9549 https://yeateslab.mbi.ucla.edu/structure-validation/
9550
9551 One weakness of the program was a high sensitivity to small
9552 deviations in atomic positions, owing mainly to the discontinuous
9553 nature of the error function arising from the distance
9554 cutoff. Around 2002, another undergraduate student Dennis Obukov,
9555 rewrote ERRAT with a continuous distance weighting scheme, which
9556 led to more stable and robust behavior.
9557
9558
9559 ---
9560
9561 Fresnel
9562 https://blog.demofox.org/2020/06/14/casual-shadertoy-path-tracing-3-fresnel-rough-refraction-absorption-orbit-camera/
9563
9564 ---
9565 lipids Carol Robinson
9566
9567 http://blogs.nature.com/ofschemesandmemes/2014/06/09/under-the-covers-nature-revealed-5-june-2014
9568
9569 ---
9570 Mon 24 Aug 2020 16:52:58 BST
9571
9572 high res dna 3p4j
9573
9574 ---
9575 Mon 24 Aug 2020 17:50:49 BST
9576
9577 what is the "ERRASER set" (published with the paper describing the rosetta updates)
9578
9579 ---
9580 Fri 21 Aug 15:46:31 BST 2020
9581
9582 Header-only C++ libraries
9583
9584 https://github.com/p-ranav/awesome-hpp
9585
9586 A Treasure Trove.
9587
9588 Look at stack trace and command line argument parser(s)
9589
9590 https://github.com/bombela/backward-cpp
9591
9592 ---
9593 Fri 4 Sep 15:13:15 BST 2020
9594
9595 header guards, wrapper ifndef
9596 http://www.dawnofthedata.com/2013/08/a-handful-of-emacs-utilities.html
9597
9598 https://elpy.readthedocs.io/en/latest/
9599
9600 https://martinsosic.com/development/emacs/2017/12/09/emacs-cpp-ide.html
9601
9602 ---
9603 Sat 12 Sep 07:22:01 BST 2020
9604
9605 assimp compiles out of the box
9606
9607 817 7:19 cmake -DCMAKE_INSTALL_PREFIX=$HOME/assimp CMakeLists.txt
9608 818 7:20 make -j 15
9609 819 7:21 make install
9610
9611 ---
9612 Tue 29 Sep 14:55:03 BST 2020
9613
9614 examples of how how to do stuff:
9615
9616 https://cpp.hotexamples.com/
9617
9618 ---
9619 Wed 14 Oct 16:09:39 BST 2020
9620
9621 bash iterate
9622
9623 for i in $(seq 1 $END) ;
9624 do
9625 echo $i
9626 done
9627
9628 https://stackoverflow.com/questions/169511/how-do-i-iterate-over-a-range-of-numbers-defined-by-variables-in-bash
9629
9630 ---
9631 Mon 12 Oct 15:28:53 BST 2020
9632
9633
9634 o microtubule - massive structure: code: 6u42
9635
9636 ---
9637 Tue 20 Oct 15:01:34 BST 2020
9638
9639 Merging vertices:
9640
9641 std::pair<std::vector<position_normal_vertex>, std::vector<g_triangle> > vi1 = pumpkin();
9642 std::pair<std::vector<position_normal_vertex>, std::vector<g_triangle> > vi2 = pumpkin_stalk();
9643
9644 unsigned int idx_base = vi1.first.size();
9645 unsigned int tri_base = vi1.second.size();
9646
9647 vi1.first.insert(vi1.first.end(), vi2.first.begin(), vi2.first.end());
9648 vi1.second.insert(vi1.second.end(), vi2.second.begin(), vi2.second.end());
9649 for (unsigned int i=tri_base; i<vi1.second.size(); i++)
9650 vi1.second[i].rebase(idx_base);
9651
9652 ----
9653 Wed 11 Nov 18:41:11 GMT 2020
9654
9655 Flex-EM tutorial is 4ki8 into 6422.
9656 (hahahaha!)
9657
9658 ----
9659 Wed 18 Nov 06:39:54 GMT 2020
9660
9661 Project: fix up the "no-density" "control points for (multi) add-terminal residue.
9662 The positions and the weights need optimization. Tests using experimental maps
9663 and deposited models?
9664
9665
9666 ----
9667 Wed 18 Nov 06:46:15 GMT 2020
9668
9669 How to do better baked AO for Python 3 Coot?
9670
9671 ----
9672 Wed 18 Nov 19:12:26 GMT 2020
9673
9674 2ddx is real non-pro cis peptide high res.
9675
9676 --
9677
9678
9679 11203 map model correlation and unmodelled density - linoleic acid
9680
9681 ----
9682 Fri 27 Nov 20:36:14 GMT 2020
9683
9684 Hateful python. Sigh... what the hell is going wrong? So difficult to diagnose...
9685
9686
9687 penelope coot-gtk3/build-into-release-dir/src> ./coot-bin --python --no-graphics
9688 debug:: in setup_python() pydirectory is /home/paule/autobuild/Linux-penelope-gtk3/lib/python3.6/site-packages/coot
9689 INFO:: coot.py imported
9690 ###debug require_version() available version: Gtk 3.0 []
9691 Traceback (most recent call last):
9692 File "/home/paule/autobuild/Linux-penelope-gtk3/lib/python3.6/site-packages/coot/coot_load_modules.py", line 131, in <module>
9693 import fitting
9694 File "/home/paule/autobuild/Linux-penelope-gtk3/lib/python3.6/site-packages/coot/fitting.py", line 21, in <module>
9695 import coot_gui
9696 File "/home/paule/autobuild/Linux-penelope-gtk3/lib/python3.6/site-packages/coot/coot_gui.py", line 35, in <module>
9697 gi.require_version('Gtk', '3.0')
9698 File "/home/paule/autobuild/Linux-penelope-gtk3/lib/python3.6/site-packages/gi/__init__.py", line 130, in require_version
9699 raise ValueError('Namespace %s not available' % namespace)
9700 ValueError: Namespace Gtk not available
9701
9702 # but
9703
9704 penelope coot-gtk3/build-into-release-dir/src> which python3
9705 /home/paule/autobuild/Linux-penelope-gtk3/bin/python3
9706 penelope coot-gtk3/build-into-release-dir/src> python3
9707 Python 3.6.5 (default, Nov 26 2020, 23:50:25)
9708 [GCC 9.2.1 20191008] on linux
9709 Type "help", "copyright", "credits" or "license" for more information.
9710 >>> import gi
9711 >>> gi.require_version('Gtk', '3.0')
9712 require_version() available version: Gtk 3.0 ['3.0', '2.0']
9713 >>>
9714
9715 ---
9716 Sat 12 Dec 03:15:07 GMT 2020
9717
9718 background mode for blender
9719
9720 $ for n in `seq 1 500`; do blender --background scene.blend -x 1 -f $n ; done
9721
9722 -x n render n frames
9723 -f N starting at frame N
9724
9725 ----
9726
9727
9728 11203 map model correlation and unmodelled density - linoleic acid
9729 -- is that part of the EMDA paper now?
9730
9731 ----
9732 Fri 27 Nov 12:28:00 GMT 2020
9733
9734
9735 https://aur.archlinux.org/packages/coot-git/
9736
9737
9738 ----
9739 Fri 27 Nov 20:04:12 GMT 2020
9740
9741 How to use GEMMI for sfs calc using electron scattering factors?
9742
9743 ---
9744 Fri 27 Nov 20:12:15 GMT 2020
9745
9746 get rid of libGLU
9747
9748 libMoleculesToTrianglesCXXSurface.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk3-python/lib/libMoleculesToTrianglesCXXSurface.so.0
9749 libGLU.so.1 => /lib/x86_64-linux-gnu/libGLU.so.1
9750
9751
9752 ----
9753 Tue 8 Dec 15:05:10 GMT 2020
9754
9755
9756 recordmydesktop -x 800 -y 30 '--width=1600' --height='1080'
9757
9758 bluray resolution is 1920x1080
9759
9760 ---
9761 Mon 14 Dec 14:37:02 GMT 2020
9762
9763 NVidia stereo and monitors:
9764
9765 https://nvidia.custhelp.com/app/answers/detail/a_id/4845
9766
9767 ----
9768 Sun 16 Dec 12:26:55 GMT 2020
9769
9770 Thanks to Takanori and Charles for the hints and prompts. You have
9771 brought 3 days of confusion and frustration to an end.
9772
9773 The answer (or current fix) is
9774
9775 export GI_TYPELIB_PATH /usr/lib/x86_64-linux-gnu/girepository-1.0
9776
9777 so that the gobject that I compiled uses the system girepository
9778 also. And that's where Gtk+3 lives.
9779
9780 It might be possible to properly populate that directory at
9781 compile/installation time and so the env var would not be needed (that
9782 would be my preferred solution). But this is certainly good enough for
9783 now.
9784
9785 ----
9786 Sat 27 Feb 15:30:21 GMT 2021
9787
9788 convert gtk2 glade to gtk3 glade:
9789
9790 Seems that its easy enough - at least for one file that I have tried:
9791 Replace the <glade-interface> tag with <interface> and replace all "widget
9792 class=" statements with "object class=". Glade 3 seems to read the edited file
9793 and even fix some discrepancies. Saving the file converts it to glade 3 format,
9794 which should be compatible with GTK+-3, I hope. It will take a lot more work to
9795 migrate the application source, before I find out ;-)
9796
9797 https://bbs.archlinux.org/viewtopic.php?id=145374
9798
9799 Mon 18 Jan 19:08:12 GMT 2021
9800
9801 Gtk-Message: 19:07:14.114: Failed to load module "appmenu-gtk-module"
9802 Gtk-Message: 19:07:14.119: Failed to load module "canberra-gtk-module"
9803
9804 $ sudo apt-get install appmenu-gtk2-module appmenu-gtk3-module
9805
9806 ---
9807 Wed 24 Feb 16:52:51 GMT 2021
9808
9809 Paul Bourke:
9810
9811 "Standard" character ramp for grey scale pictures, black -> white.
9812 "$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_+~<>i!lI;:,"^`'. "
9813 A more convincing but shorter sequence for representing 10 levels of grey is
9814 " .:-=+*#%@"
9815
9816
9817 ----
9818 Fri 26 Feb 15:42:29 GMT 2021
9819
9820 fill_map_sections() in slurp_map uses set_coord() on a set of map sections.
9821 Use as a template for threaded map manipulation. Can this be used in xmap_stats?
9822
9823
9824 ---
9825 Sun 28 Feb 19:25:50 GMT 2021
9826
9827 in ARG: CD-NE-CZ-NH1 should be cis:
9828
9829 Geometry of guanidinium groups in arginines
9830 Maura Malinska
9831 Miroslawa Dauter
9832 Zbigniew Dauter
9833 First published: 21 June 2016
9834 https://doi.org/10.1002/pro.297
9835
9836 In several instances, the nomenclature of the terminal nitrogen
9837 atoms in the deposited structures is wrong, but all cases were
9838 inspected and the atomic names reverted, if necessary, to ensure that
9839 the NH1 atoms are cis and NH2 atoms are trans with respect to the
9840 CZ‐NE bond.
9841
9842 ---
9843 Sun 28 Feb 2021 11:11:40 GMT
9844
9845 https://www.fluentcpp.com/2018/03/30/is-stdfor_each-obsolete/
9846
9847
9848 ----
9849 Fri 2 Apr 18:43:26 BST 2021
9850
9851 pip install oddt
9852
9853 depends on:
9854 oddt
9855 scikit_learn
9856 joblib
9857 pandas
9858 sphinx
9859 Jinja2
9860 Babel-2
9861 alabaster
9862 pytz
9863 snowballstemmer
9864 imagesize
9865 docutils
9866 requests
9867 MarkupSafe
9868 pyparsing
9869 chardet
9870 urllib3
9871 idn
9872 certifi
9873
9874 /home/autobuild/Linux-penelope-pre-release-gtk2-python/bin/pip
9875 penelope coot-refinement/build/src> pip install oddt
9876 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
9877 Collecting oddt
9878 Downloading oddt-0.7.tar.gz (2.3 MB)
9879 |████████████████████████████████| 2.3 MB 202 kB/s
9880 Collecting numpydoc
9881 Downloading numpydoc-0.9.2.tar.gz (27 kB)
9882 Requirement already satisfied: six in /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/python2.7/site-packages (from oddt) (1.14.0)
9883 Requirement already satisfied: numpy>=1.11 in /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/python2.7/site-packages/numpy-1.16.6-py2.7-linux-x86_64.egg (from oddt) (1.16.6)
9884 Requirement already satisfied: scipy>=0.17 in /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/python2.7/site-packages (from oddt) (1.2.3)
9885 Collecting scikit-learn>=0.18
9886 Downloading scikit_learn-0.20.4-cp27-cp27m-manylinux1_x86_64.whl (5.5 MB)
9887 |████████████████████████████████| 5.5 MB 217 kB/s
9888 Collecting joblib>=0.9.4
9889 Downloading joblib-0.14.1-py2.py3-none-any.whl (294 kB)
9890 |████████████████████████████████| 294 kB 206 kB/s
9891 Collecting pandas>=0.19.2
9892 Downloading pandas-0.24.2.tar.gz (11.8 MB)
9893 |████████████████████████████████| 11.8 MB 203 kB/s
9894 Collecting sphinx>=1.6.5
9895 Downloading Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB)
9896 |████████████████████████████████| 3.1 MB 209 kB/s
9897 Collecting Jinja2>=2.3
9898 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
9899 |████████████████████████████████| 125 kB 212 kB/s
9900 Collecting python-dateutil>=2.5.0
9901 Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
9902 Collecting pytz>=2011k
9903 Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
9904 Collecting babel!=2.0,>=1.3
9905 Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB)
9906 |████████████████████████████████| 8.8 MB 353 kB/s
9907 Collecting alabaster<0.8,>=0.7
9908 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
9909 Collecting packaging
9910 Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
9911 |████████████████████████████████| 40 kB 241 kB/s
9912 Collecting snowballstemmer>=1.1
9913 Downloading snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB)
9914 |████████████████████████████████| 93 kB 238 kB/s
9915 Requirement already satisfied: Pygments>=2.0 in /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/python2.7/site-packages (from sphinx>=1.6.5->numpydoc->oddt) (2.5.2)
9916 Collecting sphinxcontrib-websupport
9917 Downloading sphinxcontrib_websupport-1.1.2-py2.py3-none-any.whl (39 kB)
9918 Collecting typing; python_version < "3.5"
9919 Downloading typing-3.7.4.3-py2-none-any.whl (26 kB)
9920 Requirement already satisfied: setuptools in /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/python2.7/site-packages (from sphinx>=1.6.5->numpydoc->oddt) (39.0.1)
9921 Collecting imagesize
9922 Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB)
9923 Collecting docutils>=0.11
9924 Downloading docutils-0.16-py2.py3-none-any.whl (548 kB)
9925 |████████████████████████████████| 548 kB 250 kB/s
9926 Collecting requests>=2.0.0
9927 Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
9928 Collecting MarkupSafe>=0.23
9929 Downloading MarkupSafe-1.1.1-cp27-cp27m-manylinux1_x86_64.whl (24 kB)
9930 Collecting pyparsing>=2.0.2
9931 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
9932 Collecting chardet<5,>=3.0.2
9933 Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
9934 Collecting urllib3<1.27,>=1.21.1
9935 Downloading urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
9936 |████████████████████████████████| 153 kB 219 kB/s
9937 Collecting idna<3,>=2.5
9938 Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
9939 Collecting certifi>=2017.4.17
9940 Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
9941 Using legacy 'setup.py install' for oddt, since package 'wheel' is not installed.
9942 Using legacy 'setup.py install' for numpydoc, since package 'wheel' is not installed.
9943 Using legacy 'setup.py install' for pandas, since package 'wheel' is not installed.
9944 Installing collected packages: pytz, babel, alabaster, MarkupSafe, Jinja2, pyparsing, packaging, snowballstemmer, sphinxcontrib-websupport, typing, imagesize, docutils, chardet, urllib3, idna, certifi, requests, sphinx, numpydoc, scikit-learn, joblib, python-dateutil, pandas, oddt
9945 Running setup.py install for numpydoc ... done
9946 Running setup.py install for pandas ... done
9947 Running setup.py install for oddt ... done
9948 Successfully installed Jinja2-2.11.3 MarkupSafe-1.1.1 alabaster-0.7.12 babel-2.9.0 certifi-2020.12.5 chardet-4.0.0 docutils-0.16 idna-2.10 imagesize-1.2.0 joblib-0.14.1 numpydoc-0.9.2 oddt-0.7 packaging-20.9 pandas-0.24.2 pyparsing-2.4.7 python-dateutil-2.8.1 pytz-2021.1 requests-2.25.1 scikit-learn-0.20.4 snowballstemmer-2.1.0 sphinx-1.8.5 sphinxcontrib-websupport-1.1.2 typing-3.7.4.3 urllib3-1.26.4
9949 366.639u 8.658s 8:51.26 70.6% 0+0k 166488+2907208io 562pf+0w
9950
9951
9952 ---
9953 Mon 19 Apr 2021 17:19:28 BST
9954
9955 what is woo? non-blocking HTTP server. Sounds interesting.
9956
9957 ----
9958 Mon 10 May 16:42:18 BST 2021
9959
9960
9961 what is zeromq? https://zeromq.org/ for inter-process communication?
9962 (Art Lyubimov used it)
9963
9964 -----
9965 Thu 3 Jun 17:25:58 BST 2021
9966
9967 print_lock is useful elsewhere
9968
9969 std::atomic<bool> print_lock(false);
9970 auto get_print_lock = [&print_lock] () {
9971 bool unlocked = false;
9972 while (! print_lock.compare_exchange_weak(unlocked, true)) {
9973 std::this_thread::sleep_for(std::chrono::microseconds(1));
9974 unlocked = false;
9975 }
9976 };
9977 auto release_print_lock = [&print_lock] () {
9978 print_lock = false;
9979 };
9980 auto make_a_wiggled_ligand = [get_print_lock, release_print_lock] (int isample, const coot::minimol::molecule &ligand,
9981 const std::vector<float> &torsion_set ..) {};
9982
9983 ----
9984 Sun 6 Jun 2021 04:54:53 BST
9985
9986 1abr has a nice 3-10 helix
9987
9988
9989 -----
9990 Thu 10 Jun 16:14:17 BST 2021
9991
9992 https://stackoverflow.com/questions/14346090/importerror-no-module-named-backend-gdk
9993
9994 In addition to Haldean Brown's answer, note that if you really need to use pip you can force it to
9995 recompile matplotlib locally and get "the deep magic that setup.py does" with the --no-binary option:
9996
9997 pip uninstall matplotlib
9998 pip install matplotlib --no-binary=matplotlib
9999
10000 As you want to use the GTKAgg backend, Using pip may prove useful in the future to freeze matplotlib
10001 at a version where it is supported (the deprecation warning states it will be dropped in 3.0):
10002
10003 pip install matplotlib==2.2.2 --no-binary=matplotlib
10004
10005 ----
10006 Mon 14 Jun 10:53:16 BST 2021
10007
10008 was
10009 gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
10010 now
10011 gtk_label_set_xalign(GTK_LABEL(label), 0.0);
10012 Thu 1 Jul 18:26:44 BST 2021
10013
10014 Failed to load module "appmenu-gtk-module"
10015
10016 $ sudo apt install appmenu-gtk2-module
10017
10018 Failed to load module "canberra-gtk-module"
10019
10020 $ sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
10021
10022 ----
10023 Sun 4 Jul 00:42:11 BST 2021
10024
10025 This needs to be fixed
10026
10027 ==2187636== Conditional jump or move depends on uninitialised value(s)
10028 ==2187636== at 0x483EF58: strlen (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
10029 ==2187636== by 0x60E5354: ccp4_cmap_set_symop (cmap_symop.c:128)
10030 ==2187636== by 0x4F25875: void clipper::CCP4MAPfile::export_xmap<float>(clipper::Xmap<float> const&) (ccp4_map_io.cpp:309)
10031 ==2187636== by 0x48A491A: coot::ligand::output_map(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) const (ligand.cc:1404)
10032 ==2187636== by 0x1116C4: get_flood_molecule(clipper::Xmap<float> const&, float) (res-tracer.cc:41)
10033 ==2187636== by 0x11BD1A: proc(clipper::Xmap<float> const&, coot::fasta_multi const&, double, float) (res-tracer.cc:1815)
10034 ==2187636== by 0x1104F1: main (res-tracer.cc:1897)
10035
10036
10037 ----
10038 Sun 4 Jul 01:08:21 BST 2021
10039
10040 rdkit linking:
10041
10042
10043 /home/paule/Projects/coot/git/coot-refinement/build/ligand/.libs/res-tracer: error while loading shared libraries: libRDKitmaeparser.so.1: cannot open shared object file: No such file or directory
10044 linux-vdso.so.1 (0x00007ffe09add000)
10045 libcoot-ligand.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-ligand.so.0 (0x00007fa5b41bc000)
10046 libcoot-ideal.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-ideal.so.0 (0x00007fa5b4055000)
10047 libcoot-coord-utils.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-coord-utils.so.0 (0x00007fa5b3ea9000)
10048 libcoot-map-utils.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-map-utils.so.0 (0x00007fa5b3e3a000)
10049 libcoot-geometry.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-geometry.so.0 (0x00007fa5b3d30000)
10050 libcoot-mini-mol.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-mini-mol.so.0 (0x00007fa5b3d09000)
10051 libcoot-utils.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-utils.so.0 (0x00007fa5b3ccb000)
10052 libclipper-ccp4.so.2 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libclipper-ccp4.so.2 (0x00007fa5b3c7f000)
10053 libclipper-core.so.2 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libclipper-core.so.2 (0x00007fa5b3a93000)
10054 libmmdb2.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libmmdb2.so.0 (0x00007fa5b3943000)
10055 libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa5b3738000)
10056 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa5b371b000)
10057 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa5b36f8000)
10058 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa5b3506000)
10059 libcootaneer.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcootaneer.so.0 (0x00007fa5b34d9000)
10060 libcoot-db-main.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-db-main.so.0 (0x00007fa5b34b0000)
10061 libccp4mg-utils.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libccp4mg-utils.so.0 (0x00007fa5b3470000)
10062 libcoot-coord-extras.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-coord-extras.so.0 (0x00007fa5b3408000)
10063 libcoot-analysis.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-analysis.so.0 (0x00007fa5b33b3000)
10064 libclipper-minimol.so.2 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libclipper-minimol.so.2 (0x00007fa5b3363000)
10065 libclipper-contrib.so.2 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libclipper-contrib.so.2 (0x00007fa5b32c4000)
10066 libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fa5b319b000)
10067 libgsl.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libgsl.so.0 (0x00007fa5b2f65000)
10068 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa5b2e16000)
10069 /lib64/ld-linux-x86-64.so.2 (0x00007fa5b43a4000)
10070 libgomp.so.1 => /lib/x86_64-linux-gnu/libgomp.so.1 (0x00007fa5b2dd4000)
10071 libcoot-map-heavy.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-map-heavy.so.0 (0x00007fa5b2db3000)
10072 libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fa5b2d7b000)
10073 libmvec.so.1 => /lib/x86_64-linux-gnu/libmvec.so.1 (0x00007fa5b2d4d000)
10074 libcoot-lidia-core.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libcoot-lidia-core.so.0 (0x00007fa5b2cb5000)
10075 libclipper-mmdb.so.2 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libclipper-mmdb.so.2 (0x00007fa5b2cac000)
10076 libgslcblas.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libgslcblas.so.0 (0x00007fa5b2c6a000)
10077 libRDKitFileParsers.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitFileParsers.so.1 (0x00007fa5b2b29000)
10078 libRDKitRDGeneral.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitRDGeneral.so.1 (0x00007fa5b2b09000)
10079 libccp4c.so.0 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libccp4c.so.0 (0x00007fa5b2ad0000)
10080 librfftw.so.2 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/librfftw.so.2 (0x00007fa5b2a9c000)
10081 libfftw.so.2 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libfftw.so.2 (0x00007fa5b2a5d000)
10082 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa5b2a55000)
10083 libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa5b2a39000)
10084 libRDKitForceFieldHelpers.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitForceFieldHelpers.so.1 (0x00007fa5b29cf000)
10085 libRDKitDescriptors.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitDescriptors.so.1 (0x00007fa5b296d000)
10086 libRDKitForceField.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitForceField.so.1 (0x00007fa5b28b1000)
10087 libRDKitSubstructMatch.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitSubstructMatch.so.1 (0x00007fa5b288f000)
10088 libRDKitDepictor.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitDepictor.so.1 (0x00007fa5b284e000)
10089 libRDKitMolChemicalFeatures.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitMolChemicalFeatures.so.1 (0x00007fa5b2825000)
10090 libRDKitRDGeometryLib.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitRDGeometryLib.so.1 (0x00007fa5b2805000)
10091 libRDKitGraphMol.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitGraphMol.so.1 (0x00007fa5b26a2000)
10092 libRDKitSmilesParse.so.1 => /home/paule/autobuild/Linux-penelope-pre-release-gtk2-python/lib/libRDKitSmilesParse.so.1 (0x00007fa5b2610000)
10093 libRDKitmaeparser.so.1 => not found
10094 libRDKitPartialCharges.so.1 => not found
10095 libRDKitSubgraphs.so.1 => not found
10096 libRDKitcoordgenlib.so.1 => not found
10097 libRDKitDataStructs.so.1 => not found
10098
10099
10100 ----
10101 Sun 4 Jul 02:30:28 BST 2021
10102
10103 if the atom selection is misteriously going out of date, or changing, then check the function that
10104 calls this function hasn't deleted the atom selection before this function is called, DeleteSelection()
10105
10106
10107 ----
10108 Thu 8 Jul 16:48:13 BST 2021
10109
10110 a lambda function capturing a mutable reference:
10111
10112 auto update_worst = [&worst_score_in_top_10_local] (const std::pair<double, int> &s_inner) mutable {
10113 if (s_inner.first < worst_score_in_top_10_local) worst_score_in_top_10_local = s_inner.first; };
10114
10115
10116 ----
10117 Sat 17 Jul 15:40:16 BST 2021
10118
10119 the sfs calculation is
10120
10121 molecule_class_info_t::calculate_sfs_and_make_map
10122
10123 called by molecule_class_info_t::make_map_from_mtz_by_calc_phases
10124
10125 called by API function map_from_mtz_by_calc_phases()
10126
10127
10128 ----
10129 Mon 2 Aug 22:18:50 BST 2021
10130
10131 Different genomes have been sequenced by different institutes with
10132 different motivations and interests. As such there is no single site
10133 where you can find all the genome information that you may want.
10134
10135 Thus said the NCBI is a good place to start as they curate GenBank
10136 database whose contents get mirrored and exchanged with other
10137 meta-genomic warehouses such as EMBL and DDBJ.
10138
10139 Please have a look at this as well
10140 http://www.ncbi.nlm.nih.gov/sites/genome and this to download genome
10141 data for various organisms. ftp://ftp.ncbi.nlm.nih.gov/genomes/
10142
10143 -- hadasa https://www.biostars.org/p/9202/
10144
10145
10146 ----
10147 Wed 4 Aug 22:26:25 BST 2021
10148
10149 glade multiple uses of a dialog:
10150
10151 https://stackoverflow.com/questions/52703513/how-do-i-show-multiple-times-a-dialog-defined-with-glade
10152
10153 ----
10154 Thu 19 Aug 12:28:50 BST 2021
10155
10156 // for gtk2
10157 // gtk_misc_set_alignment(GTK_MISC(label_widget), 0.0, 0.5);
10158 // for gtk3
10159 gtk_label_set_xalign(GTK_LABEL(label_widget), 0.0);
10160
10161 gtk_label_set_text(GTK_LABEL(label_widget), label.c_str());
10162
10163 ---
10164 Wed 1 Sep 01:28:24 BST 2021
10165
10166 ebassi:
10167
10168 If you build GTK with debugging support, what happens when you set the GDK_DEBUG=opengl environment variable?
10169 If you’re using Mesa, what happens when you set the MESA_DEBUG=1 environment variable
10170
10171 ---
10172 Sat 4 Sep 18:37:06 BST 2021
10173
10174 iterator example
10175
10176 Shader shader_for_hud_lines;
10177 shader_for_hud_lines.init("hud-lines.shader", Shader::Entity_t::HUD_TEXT);
10178 std::vector<glm::vec2> data;
10179 data.reserve(frame_time_history_list.size());
10180 unsigned int time_count = 0;
10181 std::list<std::chrono::time_point<std::chrono::high_resolution_clock> >::const_iterator it;
10182 for (it = frame_time_history_list.begin(); it != frame_time_history_list.end(); it++) {
10183 if (it != frame_time_history_list.begin()) {
10184 float x = static_cast<float>(time_count);
10185 const std::chrono::time_point<std::chrono::high_resolution_clock> tp_this = *it;
10186 const std::chrono::time_point<std::chrono::high_resolution_clock> tp_prev= *std::prev(it);
10187 auto delta_t = std::chrono::duration_cast<std::chrono::microseconds>(tp_this - tp_prev).count();
10188 data.push_back(glm::vec2(x, delta_t));
10189 }
10190 }
10191
10192 ---
10193 Mon 6 Sep 23:54:21 BST 2021
10194
10195 cryo_fit:
10196
10197 https://phenix-online.org/documentation/reference/cryo_fit.html
10198
10199 has interesting citations
10200
10201 Have a look at this:
10202
10203 https://www.embopress.org/doi/full/10.15252/embj.2020106807
10204
10205 Model building, refinement, validation, and analysis
10206 EMD-10553 EMD-10554
10207 Uses PDB ID 4wrn as starting model
10208
10209 ---
10210 Wed 29 Sep 18:09:40 BST 2021
10211
10212 to add a dialog that uses response_id:
10213 When you add the buttons, don't give them callback in Signals, *do* give them a Response ID in General.
10214
10215 See add_reps_dialog, but note that "Close" button is a Response, not connected to
10216 on_add_reps_dialog_response_gtkbuilder_callback() (I am not sure how to activeate that callback).
10217
10218 ---
10219 Thu 7 Oct 07:37:59 BST 2021
10220
10221 freetype font atlas implementation
10222
10223 https://gist.github.com/baines/b0f9e4be04ba4e6f56cab82eef5008ff
10224
10225 ---
10226
10227 https://github.com/SuperflyJon/VulkanPlayground
10228 including font atlas
10229
10230 https://en.m.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Tutorial_Text_Rendering_02
10231
10232 ----
10233 Tue 19 Oct 08:18:30 BST 2021
10234
10235 Lots of blender materials - good stuff!
10236 https://blenderartists.org/t/yet-another-thread-about-cycles-materials/562346/276
10237
10238 ---
10239 Tue 19 Oct 14:09:13 BST 2021
10240
10241 Here's how to do a modern python Gtk molecule combobox
10242
10243 combobox = Gtk.ComboBox()
10244 combobox_mol_items = make_store_for_model_molecule_combobox()
10245 combobox.set_model(combobox_mol_items)
10246 renderer_text = Gtk.CellRendererText()
10247 combobox.pack_start(renderer_text, True)
10248 combobox.add_attribute(renderer_text, "text", 1)
10249 combobox.set_active(0) # or whatever
10250
10251 When the gui/dialog is read, use this:
10252
10253 def get_molecule():
10254 tree_iter = combobox_molecule.get_active_iter()
10255 imol = -1
10256 if tree_iter is not None:
10257 model = combobox_molecule.get_model()
10258 it = model[tree_iter]
10259 imol = it[0]
10260 return imol
10261
10262 ---
10263 Wed 20 Oct 14:02:54 BST 2021
10264
10265 Here's how to do a modern dialog with molecule combobox
10266
10267 graphics_info_t g;
10268 GtkWidget *dialog = widget_from_builder("copy_fragment_dialog");
10269 GtkWidget *vbox = widget_from_builder("copy_fragment_vbox");
10270 int imol = g.get_active_atom().first;
10271
10272 auto my_delete_box_items = [] (GtkWidget *widget, void *data) {
10273 if (GTK_IS_COMBO_BOX(widget))
10274 gtk_container_remove(GTK_CONTAINER(data), widget); };
10275 gtk_container_foreach(GTK_CONTAINER(vbox), my_delete_box_items, vbox);
10276 GtkWidget *combobox = gtk_combo_box_new();
10277 gtk_box_pack_start(GTK_BOX(vbox), combobox, FALSE, FALSE, 4);
10278 gtk_box_reorder_child(GTK_BOX(vbox), combobox, 1);
10279 GCallback callback_func = G_CALLBACK(NULL); // combobox is only used when it's read on OK response
10280 g.new_fill_combobox_with_coordinates_options(combobox, callback_func, imol);
10281 g_object_set_data(G_OBJECT(dialog), "combobox", combobox); // for reading
10282 gtk_widget_show(combobox);
10283 gtk_widget_show(dialog);
10284
10285 // Here's the callback
10286
10287 if (response_id == GTK_RESPONSE_OK) {
10288 graphics_info_t g;
10289 GtkWidget *entry = widget_from_builder("copy_fragment_entry");
10290 std::string text = gtk_entry_get_text(GTK_ENTRY(entry));
10291 GtkWidget *combobox = GTK_WIDGET(g_object_get_data(G_OBJECT(dialog), "combobox"));
10292 int imol = g.combobox_get_imol(GTK_COMBO_BOX(combobox));
10293 int imol_new = copy_fragment(imol, text);
10294 }
10295 if (response_id == GTK_RESPONSE_CANCEL) {
10296 gtk_widget_hide(GTK_WIDGET(dialog));
10297 }
10298
10299
10300 ---
10301 Fri 22 Oct 06:52:45 BST 2021
10302
10303 o Does your HOLE look like this? https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4078027/
10304
10305
10306 ---
10307 Sat 6 Nov 2021 12:28:51 GMT
10308
10309 This is how to update AC_TRY_LINK usage:
10310
10311 https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1899/diffs
10312
10313 ---
10314 Mon 15 Nov 01:06:56 GMT 2021
10315
10316 old style function (as a executable string)
10317
10318 func = "go_to_view_number(" + str(button_number) + ",0)" 20211115-PE no to string functions
10319 buttons.append([button_label, func, desciption])
10320
10321 so try this:
10322
10323 func = lambda w : coot.go_to_view_number(button_number, 0)
10324 buttons.append([button_label, func, desciption])
10325
10326 Doesn't work because button_number is not captured. We need a generator
10327
10328 def generator(button_number):
10329 func = lambda button_number_c=button_number : coot.go_to_view_number(button_number_c, 0)
10330 def action(arg):
10331 print("debug in action() arg is", arg, "button_number is", button_number)
10332 func(button_number)
10333 return action
10334
10335 ...
10336 func = generator(button_number)
10337 buttons.append([button_label, func, desciption])
10338
10339
10340 maybe this could be made more compact.
10341
10342 here's how I did it in pukka_puckers_qm():
10343
10344 Was:
10345
10346 if (len(residue_list) == 0):
10347 info_dialog("No bad puckers.")
10348 else:
10349 buttons = []
10350 for residue in residue_list:
10351 residue_spec = residue[1]
10352 pucker_atom = residue[0]
10353 at_name = get_ribose_residue_atom_name(imol, residue_spec, pucker_atom)
10354 ls = [residue_spec[0] + " " + str(residue_spec[1]) + residue_spec[2] + \
10355 ": " + residue[2],
10356 ["set_go_to_atom_molecule("+ str(imol) +")",
10357 "set_go_to_atom_chain_residue_atom_name(" +\
10358 "\"" + str(residue_spec[0]) + "\", " +\
10359 str(residue_spec[1]) + ", " +\
10360 "\"" + str(at_name) + "\")"]
10361 ]
10362 buttons.append(ls)
10363 dialog_box_of_buttons("Non-pukka puckers",
10364 [370, 250],
10365 buttons,
10366 " Close ")
10367
10368 Now:
10369
10370 def go(imol, residue_spec, at_name):
10371 ch_id = residue_spec_to_chain_id(residue_spec)
10372 res_no = residue_spec_to_res_no(residue_spec)
10373 coot.set_go_to_atom_molecule(imol)
10374 coot.set_go_to_atom_chain_residue_atom_name(ch_id, res_no, at_name)
10375
10376 def generator(imol, residue_spec, at_name):
10377 func = lambda imol_c = imol, residue_spec_c = residue_spec, at_name_c = at_name : go(imol_c, residue_spec_c, at_name_c)
10378 def action(arg):
10379 func(imol, residue_spec, at_name)
10380 return action
10381
10382 if len(residue_list) == 0:
10383 coot.info_dialog("No bad puckers.")
10384 else:
10385 buttons = []
10386 for residue in residue_list:
10387 residue_spec = residue[1]
10388 pucker_atom = residue[0]
10389 something = residue[2]
10390 at_name = get_ribose_residue_atom_name(imol, residue_spec, pucker_atom)
10391 label = residue_spec[0] + " " + str(residue_spec[1]) + residue_spec[2] + ": " + something
10392 func = generator(imol, residue_spec, at_name)
10393 ls = [label, func]
10394 buttons.append(ls)
10395 coot_gui.dialog_box_of_buttons("Non-pukka puckers", [370, 250], buttons, " Close ")
10396
10397 ----
10398 Fri 25 Feb 2022 07:14:47 GMT
10399
10400 Mac:
10401
10402 # glib-compile-schemas ~/gtk/inst/share/glib-2.0/schemas
10403 # makes gschemas.compiled in that directory
10404
10405 setenv XDG_DATA_DIRS ~/gtk/inst/share
10406
10407 ----
10408 Tue 17 Oct 22:32:02 BST 2023
10409
10410 Gtk4 is installed in a different directory to the one in which Coot is installed:
10411
10412 GLib-GIO-ERROR **: 22:26:14.852: No GSettings schemas are installed on the system
10413
10414 > echo $XDG_DATA_DIR
10415 /home/paule/gtk4/share/glib-2.0/schemas
10416 > cp $XDG_DATA_DIR/gschemas.compiled $prfx/share/glib-2.0/schemas
10417
10418
10419 ----
10420 Thu 9 Sep 22:15:06 BST 2021
10421
10422 Re: alphafold: 4lnz example from Tristan's presentation
10423
10424 There were a few snapshots from James' presentation that are worth more thought.
10425
10426 ----
10427 Fri 10 Sep 15:20:23 BST 2021
10428
10429 CCP4 workshop:
10430 Rob's ligand 00E got tangled in conformer generation?
10431
10432 ---
10433 Sun 19 Sep 2021 02:28:11 BST
10434
10435 interesting game design https://www.youtube.com/watch?v=7L1B5YaxxoA
10436 Jonas Tyroller
10437
10438 ---
10439 Mon 20 Sep 2021 17:16:29 BST
10440
10441 gtk3: a flipped residue (or rotamer fit residue) should flash "white" and emit
10442 particles (say little diamond shapes - 12 of them)
10443
10444 Maybe (like "active residue" marking) - render just the active residue, and blur it?
10445
10446 Rising pitch feed-back - I like the sound of a marimba
10447
10448
10449 ---
10450 Sat 23 Oct 08:02:34 BST 2021
10451
10452 implement this: (density contouring)
10453 http://www.sci.utah.edu/~csilva/papers/noskinny.pdf
10454
10455 ----
10456 Wed 5 Jan 18:57:11 GMT 2022
10457
10458 5rdh rupp presentation
10459
10460 ---
10461 Tue 18 Jan 17:29:37 GMT 2022
10462
10463 the function to generate a dictionary from a residue (the Roberto function) is
10464 dictionary_residue_restraints_t(mmdb::Residue *residue_p);
10465 search protein-geometry.hh for "fake up some bond"
10466
10467 ---
10468 Fri 28 Jan 12:58:25 GMT 2022
10469
10470 anom map only # get anom maps from refmac
10471
10472 ----
10473 Sat 29 Jan 00:00:13 GMT 2022
10474
10475 Cory Bloyd says look at this: https://0fps.net/2012/07/12/smooth-voxel-terrain-part-2/
10476 Do a literature search for Bloyd to find articles about improved contouring.
10477
10478
10479 ---
10480 Mon 7 Feb 17:14:06 GMT 2022
10481
10482 To make widget warnings such as:
10483
10484 (coot-bin:66652): Gtk-CRITICAL **: 17:13:54.340: gtk_widget_unref: assertion 'GTK_IS_WIDGET (widget)' failed
10485
10486 into crashes, use --g-fatal-warnings on the command line
10487
10488 but it might not help much (because it seems that the gtk_widget_unref() happens after the callback finishes.
10489
10490 ---
10491 Thu 3 Mar 23:42:55 GMT 2022
10492
10493 War and Peace is 600,000 words
10494
10495
10496 ----
10497 Tue 8 Mar 18:57:30 GMT 2022
10498
10499 what is this?
10500 https://cactus.nci.nih.gov/chemical/structure
10501
10502 ----
10503 Sun 13 Mar 08:39:24 GMT 2022
10504
10505 for decoding molecule buttons in a vbox
10506
10507 GtkWidget *map_vbox = widget_from_builder("find_waters_map_vbox");
10508 GtkWidget *protein_vbox = widget_from_builder("find_waters_protein_vbox");
10509
10510 auto get_mol_for_find_waters = [] (GtkWidget *item, void *data) {
10511 if (GTK_IS_TOGGLE_BUTTON(item)) {
10512 if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(item))) {
10513 int *imol_ptr = static_cast<int *>(data);
10514 int imol = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(item), "imol"));
10515 *imol_ptr = imol;
10516 }
10517 }
10518 };
10519
10520 if (GTK_IS_BOX(map_vbox)) {
10521 int imol_map = -1;
10522 void *imol_ptr = &imol_map;
10523 gtk_container_foreach(GTK_CONTAINER(map_vbox), get_mol_for_find_waters, imol_ptr);
10524 if (is_valid_map_molecule(imol_map)) {
10525 find_waters_map_mol = imol_map;
10526 }
10527 }
10528 if (GTK_IS_BOX(protein_vbox)) {
10529 int imol_protein = -1;
10530 void *imol_ptr = &imol_protein;
10531 gtk_container_foreach(GTK_CONTAINER(protein_vbox), get_mol_for_find_waters, imol_ptr);
10532 if (is_valid_model_molecule(imol_protein)) {
10533 find_waters_protein_mol = imol_protein;
10534 }
10535 }
10536
10537 // example of how to interate through children of a vbox:
10538
10539 GList *dlist = gtk_container_get_children(GTK_CONTAINER(vbox));
10540 GList *free_list = dlist;
10541
10542 while (dlist) {
10543 GtkWidget *list_item = GTK_WIDGET(dlist->data);
10544 if (GTK_IS_TOGGLE_BUTTON(list_item)) {
10545 if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(list_item))) {
10546 int imol = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(list_item), "imol"));
10547 closed_molecules.push_back(imol);
10548 }
10549 } else {
10550 std::cout << "not a toggle button" << std::endl;
10551 }
10552 dlist = dlist->next;
10553 }
10554 g_list_free(free_list);
10555
10556
10557
10558 ----
10559 Mon 14 Mar 09:25:01 GMT 2022
10560
10561
10562 Failed to load module "appmenu-gtk-module"
10563
10564 sudo apt-get install appmenu-gtk3-module
10565
10566
10567 ----
10568 Wed 16 Mar 10:30:38 GMT 2022
10569
10570 conkit-validate simkovic et al (involves alphafold)
10571
10572
10573 ----
10574 Fri 18 Mar 13:26:34 GMT 2022
10575
10576 Use libglyphy for text rendering:
10577
10578 https://github.com/behdad/glyphy/
10579
10580
10581 ----
10582 Sat 26 Mar 14:10:12 GMT 2022
10583
10584 Catalase map: 7P8W and EMD-13256
10585
10586 https://academic.oup.com/jmicro/article/71/Supplement_1/i51/6530492?login=true
10587
10588 Interaction of human erythrocyte catalase with air–water interface in cryoEM
10589
10590
10591 ----
10592 Sat 9 Apr 18:47:03 BST 2022
10593
10594 gtk_window_deiconify() - is this what I want to do when I get a dialog from builder?
10595
10596 ----
10597 Wed 2 Mar 11:33:42 GMT 2022
10598
10599 Update CentOS7 compiler:
10600
10601 $ yum install centos-release-scl
10602 $ yum install devtoolset-8
10603
10604 as a user, to use the new compiler:
10605 $ scl enable devtoolset-8 tcsh
10606
10607 Thank you Charles. I chose devtoolset-11
10608
10609 ---
10610 Wed 2 Mar 16:52:53 GMT 2022
10611
10612 python with ctypes (libffi)
10613 https://unix.stackexchange.com/questions/631725/how-do-i-build-pkgconf-and-libffi-and-subsequently-python3-9-with-ctypes-support
10614
10615 ---
10616 Fri 15 Apr 20:13:37 BST 2022
10617
10618 1781 occurrances of _gtkbuilder_callback in *.cc *.h *.hh ../a6.glade
10619
10620
10621 ---
10622 Sat 23 Apr 22:56:05 BST 2022
10623
10624 In the Makefile
10625 CXXLD = $(CXX) -fuse-ld=gold
10626
10627 -----
10628 Sun 5 Jun 18:02:01 BST 2022
10629
10630 How to set a GtkBox to style ToolBar
10631
10632 gtk_widget_add_css_class (toolbar, "toolbar");
10633 same can be done in xml file too.
10634
10635 <object class="GtkBox">
10636 ... childs here
10637 <style>
10638 <class name="toolbar"/>
10639 </style>
10640 </object>
10641
10642
10643 https://discourse.gnome.org/t/hope-gtktoolbar-back-to-gtk4/6201/5
10644
10645 -----
10646 Sun 5 Jun 22:34:51 BST 2022
10647
10648 GNOME standard
10649
10650 Ctrl ? to open keyboard shortcuts (do they mean Ctrl /?)
10651
10652 Ctrl + to open Preferences (Ctrl =?)
10653
10654
10655 https://developer.gnome.org/hig/reference/keyboard.html
10656
10657 ----
10658 Sat 11 Jun 02:38:27 BST 2022
10659
10660 GTK4 FIXME dates:
10661
10662 20220528-PE
10663 20220602-PE
10664
10665 ---
10666 Wed 15 Jun 2022 16:27:05 BST
10667
10668 CGLCreateContext
10669
10670 https://github.com/servo/surfman/issues/82
10671
10672 ----
10673 Tue 14 Jun 01:12:05 BST 2022
10674
10675 OpenGL on Mac
10676
10677 https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_contexts/opengl_contexts.html
10678
10679
10680 ----
10681 Wed 15 Jun 18:31:56 BST 2022
10682
10683
10684 GTK4 Tutorials
10685
10686 https://github.com/ToshioCP/Gtk4-tutorial
10687
10688 ----
10689 Thu 9 Jun 01:00:03 BST 2022
10690
10691 Structures for "Let's Build"
10692
10693 7SC0
10694 7P8V
10695 catalase: https://www.ebi.ac.uk/emdb/EMD-13256
10696
10697 ---
10698 Wed 29 Jun 04:10:16 BST 2022
10699
10700
10701 Look for "maching learning exmples" here
10702
10703 https://www.neuraldesigner.com/blog - you will need to sign up first though.
10704
10705
10706 ----
10707 Wed 3 Aug 06:46:59 BST 2022
10708
10709 Here's how to do a protected download:
10710
10711 std::string fn_tail = std::string("AF-") + uniprot_id + std::string("-F1-model_v3.pdb");
10712 // make coot-download if needed
10713 std::string download_dir = "coot-download";
10714 download_dir = coot::get_directory(download_dir.c_str());
10715 std::string fn = coot::util::append_dir_file(download_dir, fn_tail);
10716 std::string url = std::string("https://alphafold.ebi.ac.uk/files/") + fn_tail;
10717 bool needs_downloading = true;
10718 if (coot::file_exists_and_non_empty(fn))
10719 needs_downloading = false;
10720 if (needs_downloading) {
10721 coot_get_url(url.c_str(), fn.c_str());
10722 }
10723
10724 ----
10725
10726 Wayland for MacOS: https://github.com/owl-compositor/owl
10727
10728 ----
10729
10730 Project items
10731
10732 1: Compile GooCanvas with GTK4? Possible?
10733
10734 2: How to get PyGObject working with GTK4?
10735
10736 3: Put coot_utils coot_gui and extenstion and all the others inside the coot module in Python
10737
10738 4: Doxygen, Breathe, Sphinx documentation
10739
10740 5: How to make a flatpak for coot?
10741
10742 6: Restore the command line arguments
10743
10744
10745 ---
10746 Sat 13 Aug 08:42:27 BST 2022
10747
10748 how to iterate through a widget's children in GTK4:
10749
10750 GtkWidget *item_widget = gtk_widget_get_first_child(box);
10751 while (item_widget) {
10752 if (some_test) {
10753 some assignment;
10754 }
10755 item_widget = gtk_widget_get_next_sibling(item_widget);
10756 };
10757
10758
10759 ---
10760 Tue 16 Aug 2022 11:47:59 BST
10761
10762 PyGObject and GTK4 info:
10763
10764 https://discourse.gnome.org/t/gtk4-pygobject-testing/4197
10765 It is not clear to me at the moment what to try next from the above page.
10766
10767 Ah. Here:
10768
10769 https://github.com/Taiko2k/GTK4PythonTutorial/blob/main/README.md
10770
10771
10772 ---
10773 Tue 16 Aug 2022 18:21:12 BST
10774
10775 Maybe this will fix the linking problems on introducing MoleculesToTriangles:
10776
10777 https://stackoverflow.com/questions/35006614/what-does-symbol-not-found-expected-in-flat-namespace-actually-mean
10778
10779
10780 ---
10781 Wed 10 Aug 07:45:45 BST 2022
10782
10783 how to make sphinx documentation:
10784
10785 "Sphinx documentation requires first generating Doxygen documentation, then using the outputted xml with Breathe,
10786 to generated the sphinx documentation."
10787
10788 https://github.com/tbattz/openGLPlotLive
10789
10790 ----
10791 Wed 10 Aug 08:58:04 BST 2022
10792
10793 OpenGL text (better than I have done it so far)
10794
10795 https://sourceforge.net/projects/ftgl/
10796
10797 ---
10798 Tue 30 Aug 03:11:57 BST 2022
10799
10800 How to run a safe python command for create-menu-item-actions.cc
10801
10802 std::pair<bool, std::pair<int, coot::atom_spec_t> > pp = active_atom_spec();
10803 if (pp.first) {
10804 graphics_info_t g;
10805 int imol = pp.second.first;
10806 short int lang = coot::STATE_PYTHON;
10807 std::vector<coot::command_arg_t> args = { coot::command_arg_t(imol), coot::command_arg_t(chain_id) };
10808 std::string sc = g.state_command("coot_utils", "", args, lang);
10809 safe_python_command("import coot_utils");
10810 safe_python_command(sc);
10811 }
10812
10813
10814 ---
10815 Tue 30 Aug 17:41:18 BST 2022
10816
10817 when trying to add an overlay dialog to the main graphics window, you need to use the vbox of the
10818 dialog - and not the dialog itself. The vbox should not be part of a dialog - that should be stripped
10819 out in the .ui file.
10820
10821
10822 ---
10823 Mon 12 Sep 18:29:06 BST 2022
10824
10825 have a look at vkbasalt - related to mangohud maybe?
10826
10827 ---
10828 Tue 27 Sep 17:26:28 BST 2022
10829
10830 convert to overlay:
10831
10832 - set_transient_for_main_window(window);
10833 - gtk_widget_show(window);
10834 + // set_transient_for_main_window(window);
10835 + // gtk_widget_show(window);
10836 +
10837 +
10838 + // ---------------- User an overlay ---------
10839 +
10840 + {
10841 + GtkWidget *overlay = widget_from_builder("main_window_graphics_overlay");
10842 + GtkWidget *vbox = widget_from_builder("new_accession_code_vbox"); // create this
10843 +
10844 + gtk_overlay_add_overlay(GTK_OVERLAY(overlay), vbox);
10845 + gtk_widget_set_halign(vbox, GTK_ALIGN_CENTER);
10846 + gtk_widget_set_valign(vbox, GTK_ALIGN_START);
10847 +
10848 + GtkWidget *entry = widget_from_builder("new_get_accession_code_entry");
10849 + gtk_widget_set_can_focus(entry, TRUE);
10850 + gtk_widget_set_focusable(entry, TRUE);
10851 + gtk_widget_grab_focus(entry);
10852 +
10853 + gtk_widget_show(vbox);
10854 + }
10855 +
10856
10857 ---
10858 Thu 27 Apr 07:15:04 BST 2023
10859
10860 gtk4 iterate through children:
10861
10862 for (GtkWidget* child = gtk_widget_get_first_child(vbox_for_molecules);
10863 child != nullptr;
10864 child = gtk_widget_get_next_sibling(child)) {
10865
10866 int imol_for_child = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(child), "imol"));
10867 if (imol_for_child == imol)
10868 gtk_box_remove(GTK_BOX(vbox_for_molecules), child);
10869 break; // child no longer valid
10870 }
10871
10872 Python:
10873
10874 child = box.get_first_child()
10875 while child is not None:
10876 next_child = child.get_next_sibling()
10877 box.remove(child)
10878 child = next_child
10879
10880 ----
10881 Sun 25 Sep 14:06:27 BST 2022
10882
10883 6pkh is a candidate for glyco tutorial. Needs blurring.
10884
10885
10886 ---
10887 Tue 16 Aug 2022 11:47:59 BST
10888
10889 PyGObject and GTK4 info:
10890
10891 https://discourse.gnome.org/t/gtk4-pygobject-testing/4197
10892 It is not clear to me at the moment what to try next from the above page.
10893
10894 Ah. Here:
10895
10896 https://github.com/Taiko2k/GTK4PythonTutorial/blob/main/README.md
10897
10898
10899 ---
10900 Tue 16 Aug 2022 18:21:12 BST
10901
10902 Maybe this will fix the linking problems on introducing MoleculesToTriangles:
10903
10904 https://stackoverflow.com/questions/35006614/what-does-symbol-not-found-expected-in-flat-namespace-actually-mean
10905
10906
10907 ---
10908 Thu 19 Jan 00:43:28 GMT 2023
10909
10910 an instanced sphere:
10911
10912 instanced_geometry_t ig_empty;
10913 im.add(ig_empty);
10914 instanced_geometry_t &ig = im.geom.back();
10915
10916 std::pair<std::vector<glm::vec3>, std::vector<g_triangle> > octaphere_geom =
10917 tessellate_octasphere(num_subdivisions);
10918 ig.vertices.resize(octaphere_geom.first.size());
10919 for (unsigned int i=0; i<octaphere_geom.first.size(); i++)
10920 ig.vertices[i] = api::vn_vertex(octaphere_geom.first[i], octaphere_geom.first[i]);
10921 ig.triangles = octaphere_geom.second;
10922
10923
10924
10925
10926 ---
10927 Sun 19 Feb 13:32:39 GMT 2023
10928
10929 fix these functions:
10930
10931 void
10932 graphics_info_t::remove_coordinates_glob_extension(const std::string &extension) {
10933
10934 std::vector<std::string>::iterator it;
10935 for (it = coordinates_glob_extensions->begin(); it<coordinates_glob_extensions->end(); ++it) {
10936 if (*it == extension) {
10937 coordinates_glob_extensions->erase(it);
10938 // could put in break here!?
10939 // avoid since it could happen that you have multiples of same entry
10940 }
10941 }
10942 }
10943
10944 void graphics_info_t::remove_data_glob_extension(const std::string &extension)
10945 void graphics_info_t::remove_map_glob_extension(const std::string &extension)
10946 void graphics_info_t::remove_dictionary_glob_extension(const std::string &extension)
10947
10948
10949 ---
10950 Mon 8 May 2023 03:33:30 BST
10951
10952 Make a snippet for this function:
10953 g_object_set_data(G_OBJECT(checkbutton), "imol", GINT_TO_POINTER(imol));
10954
10955
10956 ---
10957 Tue 9 May 2023 20:35:05 BST
10958
10959 New Style combobox
10960
10961 GtkWidget *model_combobox = widget_from_builder("generate_diff_map_peaks_molecule_combobox");
10962 GtkWidget *map_combobox = widget_from_builder("generate_diff_map_peaks_map_combobox");
10963
10964 auto get_model_molecule_vector = [] () {
10965 graphics_info_t g;
10966 std::vector<int> vec;
10967 int n_mol = g.n_molecules();
10968 for (int i=0; i<n_mol; i++)
10969 if (g.is_valid_model_molecule(i))
10970 vec.push_back(i);
10971 return vec;
10972 };
10973
10974 graphics_info_t g;
10975 int imol_active = -1;
10976 GCallback func_combobox_changed = G_CALLBACK(nullptr); // we don't care until this dialog is read
10977 auto model_list = get_model_molecule_vector();
10978 g.fill_combobox_with_molecule_options(model_combobox, func, imol_active, model_list);
10979
10980 if func_combobox_changed is needed for direct action, the signature is:
10981 void func_combobox_changed(GtkWidget *combobox, gpointer data);
10982
10983 Here is how you read the imol:
10984
10985 int imol_coords = my_combobox_get_imol(GTK_COMBO_BOX(model_combobox));
10986 int imol_map = my_combobox_get_imol(GTK_COMBO_BOX(map_combobox));
10987
10988
10989 ---
10990 Sun 11 Jun 01:10:48 BST 2023
10991
10992 use cpulimit for gdb interrupting slow parts of the program
10993
10994 https://www.cyberciti.biz/faq/cpu-usage-limiter-for-linux/
10995
10996
10997 ---
10998 Tue 13 Jun 08:31:31 BST 2023
10999
11000 Godot:
11001 Create Mesh with Code: ArrayMesh Basics
11002 https://www.youtube.com/watch?v=w9KBxifGYiU
11003
11004 ----
11005 Sun 18 Jun 11:18:37 BST 2023
11006
11007 ## --- Widgets that have changed in GTK ---
11008
11009 - Padding is gone, margins and layout are in.
11010 - Tables are out, Grids are in.
11011 - Radio buttons are gone, use check buttons instead.
11012 - HBoxes and VBoxes are gone, use generic Box
11013 - Toolbuttons, Toolcheckbutton, tooltogglebuttons are gone, use the non-tool version
11014 - Canvas is gone, use widget lists instead (how?)
11015
11016 Have a look at adding thing this:
11017 <style>
11018 <class name="suggested-action"/>
11019 </style>
11020 after a buttons's properties
11021 Here are other styles:
11022
11023 .image-button: used when the button contains only an image
11024 .text-button: used when the button contains only a label
11025 .flat: used for buttons with no border or background
11026 .keyboard-activating: used when the button is activated by keyboard input
11027 .suggested-action: used for buttons that are recommended or suggested actions
11028 .destructive-action: used for buttons that perform a destructive action, such as deleting data
11029 .circular: used for circular buttons
11030
11031
11032 ----
11033 Sun 23 Jul 02:32:13 BST 2023
11034
11035 GTK4 on Windows:
11036 https://www.collabora.com/news-and-blog/blog/2021/03/18/build-and-run-gtk-4-applications-with-visual-studio/
11037 https://www.collabora.com/news-and-blog/blog/2021/04/29/build-your-own-application-with-gtk4-as-a-meson-subproject/
11038
11039
11040 ----
11041 Tue 1 Aug 2023 02:02:39 BST
11042
11043 MacOS linking notes
11044
11045 https://stackoverflow.com/questions/33991581/install-name-tool-to-update-a-executable-to-search-for-dylib-in-mac-os-x
11046
11047
11048 ---
11049 Sat 26 Aug 15:38:09 BST 2023
11050
11051 For the old morphing method:
11052 Here is how to (better?) handle the averaging of the fragment rotations.
11053 https://stackoverflow.com/questions/12374087/average-of-multiple-quaternions
11054
11055
11056 ---
11057 Wed 13 Sep 23:08:19 BST 2023
11058
11059 Godot and steam deck
11060
11061 https://www.kodeco.com/41495624-targeting-the-steam-deck-with-godot
11062
11063 ---
11064 Sat 16 Sep 22:08:13 BST 2023
11065
11066 ChimeraX Ambient Occlusion notes from 9 years ago
11067 https://www.cgl.ucsf.edu/chimera/data/ambient-jul2014/ambient.html
11068 Mentions 3D textures.
11069
11070
11071 ---
11072 Sun 17 Sep 00:43:45 BST 2023
11073
11074 6zhp is a good example for model specularity (failure) when shadows are on.
11075
11076 ---
11077 Sun 1 Oct 18:27:35 BST 2023
11078
11079 have a look at this:
11080 https://t.co/MmQzn1BJjk daqdb.kiharalab.org
11081
11082
11083 ---
11084 Tue 3 Oct 11:20:14 BST 2023
11085
11086 how to setup a cylinder for instancing:
11087
11088 auto convert_vertices = [] (const std::vector<coot::api::vnc_vertex> &v_in) {
11089 std::vector<coot::api::vn_vertex> v_out(v_in.size());
11090 for (unsigned int i=0; i<v_in.size(); i++) {
11091 const auto &v = v_in[i];
11092 v_out[i] = coot::api::vn_vertex(v.pos, v.normal);
11093 }
11094 return v_out;
11095 };
11096
11097 auto clipper_to_glm = [] (const clipper::Coord_orth &co) {
11098 return glm::vec3(co.x(), co.y(), co.z());
11099 };
11100
11101
11102 coot::instanced_geometry_t igeom;
11103 unsigned int n_slices = 6;
11104 unsigned int n_stacks = 6;
11105 std::pair<glm::vec3, glm::vec3> pp(glm::vec3(0,0,0), glm::vec3(0,0,1));
11106 cylinder c_00(pp, 1.0, 1.0, 1.0, n_slices, n_stacks);
11107 c_00.add_flat_end_cap();
11108 c_00.add_flat_start_cap();
11109 igeom.vertices = convert_vertices(c_00.vertices);
11110 igeom.triangles = c_00.triangles;
11111
11112
11113 ----
11114 Mon 9 Oct 22:46:13 BST 2023
11115
11116 typescript type-fest:
11117
11118 https://github.com/sindresorhus/type-fest
11119
11120 ---
11121 Fri 13 Oct 09:43:51 BST 2023
11122
11123 Use this for jiggle-fit
11124 https://www.blopig.com/blog/2021/08/uniformly-sampled-3d-rotation-matrices/
11125 Thanks Jack Scantlebury
11126
11127
11128 ----
11129 Sat 14 Oct 17:26:23 BST 2023
11130
11131 Marc Baaden http://www.baaden.ibpc.fr
11132
11133 ----
11134 Sat 14 Oct 19:03:12 BST 2023
11135
11136 shaders: https://www.youtube.com/watch?v=3mfvZ-mdtZQ
11137
11138 ---
11139 Tue 24 Oct 21:30:11 BST 2023
11140
11141 It's infuriating that gtk4 requires a version of meson that is newer
11142 than the one provided by pip
11143
11144
11145 ----
11146 Fri 27 Oct 01:39:28 BST 2023
11147
11148 # compiling
11149 install_top_dir=$HOME/gtk4
11150 epxort PKG_CONFIG_PATH=$install_top_dir/lib/x86_64-linux-gnu/pkgconfig:$install_top_dir/lib/pkgconfig
11151 meson setup -Dprefix=$install_top_dir build
11152 cd build
11153 ninja
11154
11155 meson-logs/meson-log.txt says
11156
11157 Dependency glib-2.0 found: NO found 2.66.8 but need: '>= 2.72.0'
11158
11159 ---
11160 Sun 3 Dec 00:12:03 GMT 2023
11161
11162 From phind.com, Sound on a Mac:
11163
11164
11165 FILE* file = fopen("path_to_your_file.ogg", "rb");
11166 OggVorbis_File vf;
11167 ov_open(file, &vf, NULL, 0);
11168
11169 Decode the audio data: Use libogg to decode the audio data. This
11170 will convert the raw audio data into a format that can be played
11171 by the Audio Queue Services API:
11172
11173 vorbis_info* vi = ov_info(&vf, -1);
11174
11175 Set up the Audio Queue: Use the Audio Queue Services API to set up
11176 an audio queue. This will be used to play the decoded audio data:
11177
11178 AudioQueueRef queue;
11179 AudioQueueNewOutput(&format, AudioCallback, this, NULL, 0, &queue);
11180
11181 Play the audio data: Use the Audio Queue Services API to play the
11182 decoded audio data:
11183
11184 AudioQueueStart(queue, NULL);
11185
11186 Clean up: When you're done playing the audio data, make sure to
11187 clean up by closing the .ogg file and freeing any resources that
11188 were allocated:
11189
11190 ov_clear(&vf);
11191 fclose(file);
11192
11193 ----
11194 Mon 4 Dec 2023 17:49:51 GMT
11195
11196 Colour-blind colour scheme:
11197
11198 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4987940/
11199
11200 ----
11201 Thu 7 Dec 2023 08:42:36 GMT
11202
11203 https://www.blopig.com/blog/2022/08/retrieving-alphafold-models-from-alphafolddb/
11204 ---
11205 Sun 17 Dec 19:18:31 GMT 2023
11206
11207 ax boost thread
11208
11209 https://www.gnu.org/software/autoconf-archive/ax_boost_thread.html
11210
11211 ---
11212 Sun 17 Dec 19:31:23 GMT 2023
11213
11214 for random numbers: make a table of size 21247 (it's prime) and sample from
11215 that with a static unsigned int counter/index.
11216
11217 ---
11218 Fri 29 Dec 2023 23:25:32 GMT
11219
11220 This looks interesting
11221 https://github.com/nmwsharp/geometry-central
11222
11223 ---
11224 Sat 30 Dec 2023 11:23:15 GMT
11225
11226 Dual marching cubes
11227 https://ieeexplore.ieee.org/abstract/document/1372234
11228
11229 ---
11230 Thu 4 Jan 2024 16:34:33 GMT
11231
11232 Tristan Croll talk:
11233 7adk is problematic but appear to be not too terrible given current
11234 model validation.
11235
11236 ---
11237 Mon 15 Jan 2024 09:20:06 GMT
11238
11239 Inspiration for Chemical Feature Clustering:
11240
11241 http://www.ub.edu/cbdd/?q=content/mapping-chemical-features-molecules-using-rdkit
11242
11243 ---
11244 Fri 26 Jan 15:43:37 GMT 2024
11245
11246 Jordan: privateer
11247
11248 2h6o is problematic
11249
11250 ---
11251 Thu 25 Jan 2024 22:48:55 GMT
11252
11253 https://www.rcsb.org/structure/7QSD
11254 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7614227
11255 in Bendix style - rendered in Blender
11256
11257 ---
11258 Mon 5 Feb 15:41:05 GMT 2024
11259
11260 If you want to change the molecule "key" to a vector of ints for restraints you will
11261 need to start here:
11262
11263 protein-geometry.hh
11264 1346 std::vector<std::pair<int, dictionary_residue_restraints_t> > dict_res_restraints;
11265
11266 ---
11267 Tue 13 Feb 2024 08:26:15 GMT
11268
11269 Python on macOS
11270 https://spin.atomicobject.com/compiling-python-openssl/
11271
11272
11273 ---
11274 Sun 18 Feb 19:04:30 GMT 2024
11275
11276 https://www.codetyper.io/
11277
11278 ---
11279 Fri 16 Feb 2024 09:49:53 GMT
11280
11281 outline shader (via Stuart)
11282 https://roystan.net/articles/outline-shader/
11283
11284 ---
11285 Tue 20 Feb 18:53:16 GMT 2024
11286
11287 Code of Conduct:
11288 https://github.com/catchorg/Catch2/blob/devel/CODE_OF_CONDUCT.md
11289
11290 ---
11291 Wed 6 Mar 16:25:43 GMT 2024
11292
11293 mmdb documentation:
11294
11295 https://www.ebi.ac.uk/pdbe/docs/cldoc/object/cl_obj_surf.html
11296 https://www.ebi.ac.uk/pdbe/docs/cldoc/object/cl_obj_selfnc.html
11297
11298 ---
11299 Wed 6 Mar 2024 12:49:58 GMT
11300
11301 VS Code copy line keybindings:
11302 https://github.com/microsoft/vscode/issues/6197
11303
11304 ---
11305 Fri 8 Mar 2024 03:54:36 GMT
11306
11307 Time resolved cryo-EM
11308 https://www.biorxiv.org/content/10.1101/2023.03.20.533387v2
11309
11310 ---
11311 Fri 12 Apr 14:57:48 BST 2024
11312
11313 emd_43330.map
11314 emd_43331.map: a tomogram too big for clipper (are they related?)
11315
11316 ---
11317 Sun 21 Apr 15:55:19 BST 2024
11318
11319 It would be nice to have a python console/terminal
11320 Consider also nbterm:
11321
11322 https://blog.jupyter.org/nbterm-jupyter-notebooks-in-the-terminal-6a2b55d08b70
11323
11324 and Textualize:
11325
11326 https://github.com/Textualize/textual
11327
11328 ---
11329 Wed 8 May 2024 21:58:43 PDT
11330
11331 Helix middle relative based on residue 2.
11332 [2.7933435440063477, 3.245997428894043, 2.19431734085083]
11333
11334 ---
11335
11336 7GYY might be part of a series - useful for CFC
11337
11338 Crystal structure of SARS-CoV-2 NSP3 Macrodomain in complex with ASAP-0013385-001 (and related)
11339
11340 7GYY 7GYZ 7GZ0 7GZ1 7GZ2 7GZ3 7GZ4 7GZ5 7GZ6 7GZ7 7GZ8 7GZ9 7GZA 7GZB 7GZC 7GZD 7GZE 7GZF
11341 7GZG 7GZH 7GZI 7GZJ 7GZK 7GZL 7GZM 7GZN 7GZO 7GZQ 7GZR 7GZS 7GZT 7GZU 7GZV 7GZW 7GZX 7GZY
11342 7GZZ 7H00 7H01 7H02 7H03 7H04 7H05 7H06 7H07 7H08 7H09 7H0A 7H0B 7H0C 7H0D 7H0E 7H0F 7H0G
11343 7H0H 7H0I 7H0J 7H0K 7H0L 7H0M 7H0N 7H0O 7H0P 7H0Q 7H0R 7H0S 7H0T 7H0U 7H0V 7H0W 7H0X 7H0Y
11344 7H0Z 7H10 7H11 7H12 7H13 7H14 7H15 7H16 7H17 7H18 7H19 7H1A 7H1B 7H1C 7H1D 7H1E 7H1F 7H1G
11345
11346
11347 ---
11348 Sun 26 May 2024 18:12:44 BST
11349
11350 how did I miss this?
11351 https://link.springer.com/article/10.1186/s13321-020-00429-4
11352 https://durrantlab.pitt.edu/autogrow4/
11353
11354
11355 ---
11356 Sun 26 May 2024 22:02:51 BST
11357
11358 https://buildd.debian.org/status/package.php?p=coot
11359
11360 coot on armel needs to be linked with libatomic
11361
11362 libtool: compile: g++ -DPACKAGE_NAME=\"coot\" -DPACKAGE_TARNAME=\"coot\" -DPACKAGE_VERSION=\"1.x-pre\" "-DPACKAGE_STRING=\"coot 1.x-pre\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"coot\" -DVERSION=\"1.x-pre\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_OPENMP=1 -DHAVE_CXX11=1 -DHAVE_CXX_THREAD=1 -DHAVE_PYTHON=\"3.11\" "-DHAVE_BOOST=/**/" "-DHAVE_BOOST_THREAD=/**/" "-DHAVE_BOOST_PYTHON=/**/" -I. -I.. -DMAKE_ENHANCED_LIGAND_TOOLS -DCLIPPER_HAS_TOP8000 -I/usr/lib/i386-linux-gnu/include -DUSE_GEMMI=1 -DMMDB_HAS_LINK_DISTANCE -I/usr/include -I/usr/include/rdkit -DRDKIT_HAS_CAIRO_SUPPORT -pthread -I/usr/include -DUSE_PYTHON -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_GSL -DPKGDATADIR=\"/usr/share/coot\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused -std=c++17 -c atom-selection-container.cc -fPIC -DPIC -o .libs/atom-selection-container.o
11363 In file included from /usr/include/gemmi/model.hpp:18,
11364 from /usr/include/gemmi/chemcomp_xyz.hpp:12,
11365 from /usr/include/gemmi/mmread.hpp:8,
11366 from atom-selection-container.cc:38:
11367 /usr/include/gemmi/elem.hpp: In function ‘double gemmi::molecular_weight(El)’:
11368 /usr/include/gemmi/elem.hpp:100:50: error: static assertion failed: Hmm
11369 100 | static_assert(weights[static_cast<int>(El::D)] == 2.0141, "Hmm");
11370 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
11371 /usr/include/gemmi/elem.hpp:100:50: note: the comparison reduces to ‘(2.01410000000000000142e+0l == 2.0140999999999999999e+0l)’
11372 /usr/include/gemmi/elem.hpp: In function ‘float gemmi::covalent_radius(El)’:
11373 /usr/include/gemmi/elem.hpp:141:48: error: static assertion failed: Hmm
11374 141 | static_assert(radii[static_cast<int>(El::D)] == 0.31f, "Hmm");
11375 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
11376 /usr/include/gemmi/elem.hpp:141:48: note: the comparison reduces to ‘(3.10000002384185791016e-1l == 3.10000000000000000002e-1l)’
11377 /usr/include/gemmi/elem.hpp: In function ‘float gemmi::vdw_radius(El)’:
11378 /usr/include/gemmi/elem.hpp:186:48: error: static assertion failed: Hmm
11379 186 | static_assert(radii[static_cast<int>(El::D)] == 1.2f, "Hmm");
11380 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
11381
11382
11383 ---
11384 Fri 31 May 23:47:08 BST 2024
11385
11386 #include <GraphMol/MolPickler.h>
11387
11388 auto test_pickle = [] (const RDKit::RWMol &mol) {
11389 std::cout << "pickle mol" << std::endl;
11390 RDKIT_GRAPHMOL_EXPORT RDKit::MolPickler mp;
11391 std::string pickle_string;
11392 mp.pickleMol(mol, pickle_string);
11393
11394 std::ofstream f("test-mol.pickle");
11395 f << pickle_string;
11396 f.close();
11397 };
11398
11399 ---
11400 Sat 15 Jun 2024 14:17:30 BST
11401
11402 change the number of graphcs per page in R
11403 par(mfrow=c(2,1))
11404
11405
11406 ---
11407 Thu 4 Jul 2024 14:03:10 BST
11408
11409 GTK4 pixel scaling
11410
11411 https://www.reddit.com/r/GTK/comments/1c0xaar/gtk4_any_way_to_lock_the_size_of_a_logical_pixel/
11412 https://news.ycombinator.com/item?id=30796841
11413
11414 -----
11415 Fri 26 Jul 2024 19:16:14 BST
11416
11417 modelangelo build example 24677
11418 https://cosmic-cryoem.org/tools/modelangelo/
11419
11420 ---
11421 Fri Aug 30 09:04:18 PM BST 2024
11422
11423 Good example for tubes:
11424 https://www.ebi.ac.uk/pdbe/entry/pdb/7uaa
11425 There is a low resolution map EMD-26312
11426
11427 ---
11428 Fri Aug 30 09:11:27 PM BST 2024
11429
11430 DPS dataset is EMD-11210
11431 https://www.ebi.ac.uk/emdb/EMD-11210
11432 https://www.ebi.ac.uk/pdbe/entry/pdb/6zgl
11433
11434 ---
11435 Fri Sep 6 10:14:55 PM BST 2024
11436
11437 o Sketch out the widgets on paper
11438 o Add a dialog to coot-gtk4.ui. Use the dialog snippet
11439 o The button to invoke this is in a module?
11440 - Look in python/coot_gui.py for neighboring menu item
11441 - Add a add_action() line
11442 - Add a wrapper and the function it wraps
11443 else
11444 - add your action to create-menu-item-actions.cc
11445 o Add a coot api function that is called by the function
11446 e.g. display the new dialog, which fills the entries
11447 and comboboxes.
11448
11449 Use
11450 g.new_fill_combobox_with_coordinates_options(combobox_2, callback, imol_active);
11451 fill_combobox_with_map_options(combobox_1, callback);
11452
11453 o The response handler, on_new_function_dialog_response() is
11454 added to glade-callback.cc, make it call an api cc-interface.hh
11455 function
11456
11457 e.g. see commit 0aee836257053b5c9cdbceb6b3896b39cddfd797
11458
11459 ---
11460 Sat Sep 7 03:41:40 PM BST 2024
11461
11462 map_partition_by_chain_threaded() is a good example of non-blocking
11463 map generation. It creates a detacted thread and a callback to look
11464 for the results of the thread. The results are stored in graphics_info_t.
11465
11466 In this case the selector is a dialog, it should be, for such a small
11467 interface, a main-window overlay.
11468
11469 see commit 0cf8c4679a84a6dd4f51011c49bbc489ad2cba83
11470 d18123bc1ef908a2a833e05a6a02a5ccaa5ea615
11471
11472 ---
11473 Thu 22 Aug 2024 03:57:42 BST
11474
11475 what is the Intel Open Image Denoise 2.2 benchmark?
11476
11477
11478 ---
11479 Thu 5 Sep 2024 16:41:54 BST
11480
11481 Plant FASTA genome
11482 https://ftp.ensemblgenomes.ebi.ac.uk/pub/plants/release-59/fasta/chlamydomonas_reinhardtii/pep
11483 more in
11484 https://ftp.ensemblgenomes.ebi.ac.uk/pub/
11485 you want the peps
11486
11487 ----
11488
11489 updateFloatParameter("ribbonStyleCoilThickness",0.3);
11490 updateFloatParameter("ribbonStyleHelixWidth",1.2);
11491 updateFloatParameter("ribbonStyleStrandWidth",1.2);
11492 updateFloatParameter("ribbonStyleArrowWidth",1.5);
11493 updateFloatParameter("ribbonStyleDNARNAWidth",1.5);
11494 updateFloatParameter("cylindersStyleCylinderRadius",0.2);
11495 updateFloatParameter("cylindersStyleBallRadius",0.2);
11496 updateFloatParameter("surfaceStyleProbeRadius",1.4);
11497 updateFloatParameter("ballsStyleRadiusMultiplier",1.);
11498 updateIntParameter ("ribbonStyleAxialSampling",6);
11499 updateIntParameter ("cylindersStyleAngularSampling",6);
11500 updateIntParameter ("dishStyleAngularSampling",32);
11501
11502
11503 ---
11504 Fri Sep 13 04:03:17 AM BST 2024
11505
11506 To move the Preferences Close button to the right-hand side, I added
11507 <property name="halign">end</property>
11508 to the GtkBox which contained the button
11509
11510
11511 ----
11512 Sun 6 Oct 18:04:53 BST 2024
11513
11514 arch linux by default redirects the core dumps
11515 To fix:
11516 kernel.core_pattern=core in /etc/sysctl.d/50-coredump.conf
11517
11518 ---
11519
11520 Old Coot: package glib2-devel needed on arch to provide glib-mkenums gtkglext
11521
11522 ---
11523 Tue 12 Nov 14:21:20 GMT 2024
11524
11525 PyVOL
11526 Avner Schlessinger
11527
11528 ---
11529 Mon 25 Nov 2024 10:44:25 GMT
11530
11531 Find coot.rb here:
11532 https://github.com/brewsci/homebrew-bio/tree/develop/Formula
11533
11534 to install coot from homebrew:
11535 brew install brewsci/bio/coot
11536 ---
11537
11538 interesting?
11539 xclip -r -selection clipboard
11540
11541 ----
11542 Fri 13 Dec 22:37:16 GMT 2024
11543
11544 7gww is part of a multi tetrapeptide screen (it seems)
11545
11546 ---
11547
11548 nerd fonts:
11549 https://gist.github.com/davidteren/898f2dcccd42d9f8680ec69a3a5d350e
11550
11551 -----
11552
11553 https://huggingface.co/spaces/Qwen/Qwen2.5-Coder-demo
11554 https://huggingface.co/Qwen/Qwen2.5-Coder-32B
11555
11556 ---
11557
11558 enamine.net for fragmenst and ligand manipulation gui? Arno.
11559
11560 ----
11561 Sat 4 Jan 03:32:14 GMT 2025
11562
11563 stumbling block removed?
11564 https://github.com/rdkit/rdkit/pull/7389/commits/407ef993981de44c72efa7df11a2cca9354df4c2
11565
11566
11567 ---
11568 Wed 22 Jan 2025 07:36:17 GMT
11569
11570 the value of tests:
11571 https://www.youtube.com/shorts/u49giZDzSDI
11572
11573 ---
11574 Sat 25 Jan 20:03:47 GMT 2025
11575
11576 When debugging the lighting, the molecular surface of 1ajs looks bad/weird.
11577
11578 ---
11579 Sun 26 Jan 19:43:47 GMT 2025
11580
11581 Nice graphs? Job for Jakub.
11582 https://gitlab.gnome.org/World/Graphs
11583 o Nope. Python and vala. Do it in svg.
11584
11585 ---
11586 Sun 26 Jan 20:21:59 GMT 2025
11587
11588 turn off deprecated in a particular function:
11589
11590 #pragma GCC diagnostic push
11591 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
11592 ...
11593 #pragma GCC diagnostic pop
11594
11595 https://stackoverflow.com/questions/13459602/how-can-i-get-rid-of-deprecated-warnings-in-deprecated-functions-in-gcc
11596
11597 ----
11598 Sun 26 Jan 21:27:29 GMT 2025
11599
11600 suggested action for OK buttons:
11601
11602 <object class="GtkButton" id="find_waters_ok_button">
11603 <property name="label" translatable="yes">Find Waters</property>
11604 <property name="can-focus">1</property>
11605 <property name="margin-start">4</property>
11606 <property name="margin-end">4</property>
11607 <property name="margin-top">4</property>
11608 <property name="margin-bottom">4</property>
11609 <signal name="clicked" handler="on_find_waters_ok_button_clicked" swapped="no"/>
11610 <style>
11611 <class name="suggested-action"/>
11612 </style>
11613
11614
11615 ---
11616 Fri 31 Jan 2025 04:09:26 GMT
11617
11618 https://lbc-lnbio.github.io/KVFinder-web/
11619
11620 ---
11621 gtk4 python startup:
11622
11623 https://stackoverflow.com/questions/56823857/valueerror-namespace-gtk-not-available
11624
11625 ---
11626 Wed Feb 5 13:18:33 GMT 2025
11627
11628 getting python to start up correctly:
11629
11630 https://stackoverflow.com/questions/47885615/python-systemerror-when-using-the-c-api-pyrun-string
11631
11632
11633 ---
11634 Sun 23 Feb 03:20:25 GMT 2025
11635
11636 c-interface-superpose.cc - make fill-combobox-with-molecule-options.hh
11637
11638 // make this available
11639 void
11640 fill_combobox_with_molecule_options_simple(GtkWidget *combobox) {
11641
11642 auto get_model_molecule_vector = [] () {
11643 graphics_info_t g;
11644 std::vector<int> vec;
11645 int n_mol = g.n_molecules();
11646 for (int i=0; i<n_mol; i++)
11647 if (g.is_valid_model_molecule(i))
11648 vec.push_back(i);
11649 return vec;
11650 };
11651 int imol_active = -1;
11652 auto mol_vec = get_model_molecule_vector();
11653 if (! mol_vec.empty()) imol_active = mol_vec[0];
11654 graphics_info_t g;
11655 g.fill_combobox_with_molecule_options(combobox, G_CALLBACK(nullptr), imol_active, mol_vec);
11656 }
11657
11658 ----
11659 Sun 2 Mar 15:22:53 GMT 2025
11660
11661 don't use
11662 gtk_widget_set_size_request(drawing_area, 800, 600);
11663 because it sets the minimum size
11664
11665 consider use
11666 gtk_window_set_default_size(window, w, h);
11667
11668 ----
11669 Mon 3 Mar 16:23:38 GMT 2025
11670 Key Atom Pair Distances:
11671
11672 Adenine-Thymine (A-T) Base Pairs:
11673 N1 of Adenine to N3 of Thymine: Approximately 2.86 Å
11674 N6 of Adenine to O4 of Thymine: Approximately 2.90 Å
11675 Guanine-Cytosine (G-C) Base Pairs:
11676 N1 of Guanine to N3 of Cytosine: Approximately 2.91 Å
11677 N2 of Guanine to O2 of Cytosine: Approximately 2.89 Å
11678 O6 of Guanine to N4 of Cytosine: Approximately 2.93 Å
11679
11680 ----
11681 Sat 8 Mar 19:53:59 GMT 2025
11682
11683 have a look at 3decision videos on YouTube.
11684
11685 https://www.discngine.com/discngine-labs-live-in-cambridge
11686
11687 ----
11688 Wed 12 Mar 13:49:49 GMT 2025
11689
11690 put this somewhere perhaps
11691
11692 auto debug_instancing_meshes = [] (const coot::instanced_mesh_t &im) {
11693 std::cout << "im has " << im.geom.size() << " geoms" << std::endl;
11694 for (unsigned int ig=0; ig<im.geom.size(); ig++) {
11695 unsigned int n_A = im.geom[ig].instancing_data_A.size();
11696 unsigned int n_B = im.geom[ig].instancing_data_B.size();
11697 std::cout << " geom " << ig << " has " << im.geom[ig].vertices.size() << " vertices and "
11698 << im.geom[ig].triangles.size() << " triangles "
11699 << n_A << " type A instances and " << n_B << " type B instances" << std::endl;
11700 }
11701 };
11702
11703
11704 ---
11705
11706 Thu 13 Mar 2025 18:49:24 GMT
11707
11708 new ligand search:
11709
11710 pdbe ligands latest release
11711
11712 ---
11713 Sat 15 Mar 14:21:29 GMT 2025
11714
11715 gdb flatpak coot
11716
11717 $ flatpak run --command=sh --devel --filesystem=`pwd` io.github.pemsley.coot/x86_64/test
11718 $ gdb /app/libexec/coot-1 core.3
11719
11720
11721 ----
11722 Wed 19 Mar 01:36:23 GMT 2025
11723
11724 from gtk4 demos:
11725
11726 /* So we can make a good guess whether the current theme is dark by checking for
11727 * either: it is suffixed `[:-]dark`, or Settings:…prefer-dark-theme is TRUE. */
11728 static gboolean
11729 theme_is_dark (void)
11730 {
11731 const char *env_theme;
11732 GtkSettings *settings;
11733 char *theme;
11734 gboolean prefer_dark;
11735 gboolean dark;
11736
11737 /* Like GtkSettings, 1st see if theme is overridden by environment variable */
11738 env_theme = g_getenv ("GTK_THEME");
11739 if (env_theme != NULL)
11740 return has_dark_suffix (env_theme);
11741
11742 /* If not, test Settings:…theme-name in the same way OR :…prefer-dark-theme */
11743 settings = gtk_settings_get_default ();
11744 g_object_get (settings,
11745 "gtk-theme-name", &theme,
11746 "gtk-application-prefer-dark-theme", &prefer_dark,
11747 NULL);
11748 dark = prefer_dark || has_dark_suffix (theme);
11749 g_free (theme);
11750 return dark;
11751 }
11752
11753 ----
11754 Sun 30 Mar 00:18:52 GMT 2025
11755
11756 Here is how to show a validation vbox:
11757
11758 graphics_info_t g;
11759
11760 GtkWidget *mwravp = widget_from_builder("main_window_ramchandran_and_validation_pane");
11761 GtkWidget *mwgrvgp = widget_from_builder("main_window_graphics_rama_vs_graphics_pane");
11762 GtkWidget* vbox_vbox = widget_from_builder("validation_boxes_vbox");
11763 GtkWidget* vvf = widget_from_builder("main_window_vertical_validation_frame");
11764 gtk_widget_set_visible(vbox_vbox, TRUE);
11765
11766 GtkWidget *vbox_outer = widget_from_builder("interesting_places_outer_vbox");
11767 GtkWidget *vbox = widget_from_builder("interesting_places_vbox");
11768 GtkWidget *label = widget_from_builder("interesting_places_label");
11769
11770 int pos = gtk_paned_get_position(GTK_PANED(mwgrvgp));
11771 if (pos < 200)
11772 gtk_paned_set_position(GTK_PANED(mwgrvgp), 200);
11773
11774 gtk_label_set_text(GTK_LABEL(label), title.c_str());
11775 gtk_widget_set_visible(mwravp, TRUE);
11776 gtk_widget_set_visible(mwgrvgp, TRUE);
11777 gtk_widget_set_visible(vvf, TRUE);
11778 gtk_widget_set_visible(vbox_outer, TRUE);
11779 gtk_widget_set_visible(vbox, TRUE);
11780 gtk_widget_set_visible(label, TRUE);
11781
11782 ----
11783 Wed 2 Apr 04:32:06 BST 2025
11784
11785 Here is how to add a stack trace:
11786
11787 Add to the Makefile.am:
11788
11789 if USE_BACKWARD
11790 BACKWARD_FLAGS=-DUSE_BACKWARD
11791 endif
11792
11793 Add to the AM_CPPFLAGS:
11794 $(BACKWARD_FLAGS)
11795
11796
11797 Add to the code:
11798
11799 #ifdef USE_BACKWARD
11800 backward::StackTrace st;
11801 backward::Printer p;
11802 st.load_here(32);
11803 p.print(st);
11804 #endif
11805
11806 ----
11807
11808 Magit:
11809
11810 C-x g
11811 press [TAB] on the file to see the diffs
11812 for each @@ that you want to add
11813 Move the cursor to the @@ and press "s" to stage
11814 Press c c to commit as usual.
11815
11816
11817
11818 ----
11819 Wed 23 Apr 2025 06:43:12 -03
11820
11821 block of validation boxes and panes:
11822
11823 GtkWidget *frame = widget_from_builder("main_window_validation_graph_frame");
11824 gtk_widget_set_visible(frame, TRUE);
11825
11826 GtkWidget *validation_graph_vbx = widget_from_builder("main_window_validation_graph_vbox");
11827 gtk_widget_set_visible(validation_graph_vbx, TRUE);
11828
11829 GtkWidget *pane_to_show = widget_from_builder("main_window_ramchandran_and_validation_pane");
11830 gtk_widget_set_visible(pane_to_show, TRUE);
11831
11832 GtkWidget *pane = widget_from_builder("main_window_graphics_rama_vs_graphics_pane");
11833 int pos = gtk_paned_get_position(GTK_PANED(pane));
11834 if (pos < 300)
11835 gtk_paned_set_position(GTK_PANED(pane), 380);
11836
11837 GtkWidget *validation_boxes_vbox = widget_from_builder("validation_boxes_vbox");
11838 gtk_widget_set_visible(validation_boxes_vbox, TRUE);
11839
11840 GtkWidget *outer_vbox = widget_from_builder("dialog-vbox78");
11841 gtk_widget_set_visible(outer_vbox, TRUE);
11842
11843
11844 ----
11845 Mon 12 May 2025 09:35:29 CEST
11846
11847 proteopedia can use chapi?
11848
11849
11850 ----
11851 Mon 2 Jun 17:35:22 BST 2025
11852
11853 How to set an adjustment of a scale (looked up from builder)
11854
11855 GtkWidget *scale = widget_from_builder("tomo_scale");
11856 GtkAdjustment *adjustment = gtk_range_get_adjustment(GTK_RANGE(scale));
11857 if (adjustment) {
11858 g_object_set_data(G_OBJECT(adjustment), "imol", GINT_TO_POINTER(imol));
11859 std::string end_str = std::to_string(n_sections - 1);
11860 double dns_1 = static_cast<double>(n_sections-1);
11861 gtk_adjustment_set_lower(adjustment, 0);
11862 gtk_adjustment_set_upper(adjustment, n_sections-1);
11863 gtk_adjustment_set_step_increment(adjustment, 1.0);
11864 gtk_adjustment_set_page_increment(adjustment, 5.0);
11865 gtk_adjustment_set_page_size(adjustment, 0.0);
11866 gtk_adjustment_set_value(adjustment, mid_section);
11867 gtk_scale_set_draw_value(GTK_SCALE(scale), TRUE);
11868 gtk_scale_set_digits(GTK_SCALE(scale), 0);
11869 gtk_scale_add_mark(GTK_SCALE(scale), 0, GTK_POS_BOTTOM, "0");
11870 gtk_scale_add_mark(GTK_SCALE(scale), dns_1, GTK_POS_BOTTOM, end_str.c_str());
11871 }
11872
11873 ---
11874 Mon 16 Jun 18:42:05 BST 2025
11875
11876 2 rows in a R plot:
11877
11878 par(mfrow=c(2,1))
11879
11880 ---
11881 Sat 28 Jun 2025 09:13:57 CDT
11882
11883 getting a screenshot:
11884
11885 https://stackoverflow.com/questions/78771600/how-to-take-screenshot-in-gtk4
11886
11887 ---
11888 Fri 4 Jul 16:35:20 BST 2025
11889
11890 converting coot-download
11891
11892 std::string download_dir = "coot-download";
11893
11894 becomes
11895
11896 xdg_t xdg;
11897 std::string download_dir = join(xdg.get_cache_home().string(), "coot-download");
11898
11899 ---
11900 Sat 19 Jul 2025 18:54:32 BST
11901
11902 To add c++ lsp to nvim with nvchad, edit ~/.config/nvim/lua/configs/lspconfig.lua
11903
11904 local servers = { "html", "cssls" }
11905
11906 to
11907
11908 local servers = { "html", "cssls", "clangd" }
11909
11910 and also (unrelated I think) in ~/.config/nvim/lua/plugins/init.lua
11911
11912 {
11913 "nvim-treesitter/nvim-treesitter",
11914 opts = {
11915 ensure_installed = {
11916 "vim", "lua", "vimdoc", "html", "css", "python", "cpp"
11917 },
11918 },
11919 },
11920
11921 i.e. I added "cpp"
11922
11923 treestitter does nice code markup.
11924
11925 tabs:
11926 to show a tab as equivalent spacing to 8 spaces:
11927
11928 in ~/.config/nvim/lua/options.lua
11929
11930 vim.opt.tabstop = 8
11931
11932 # to check the file type in nvim:
11933
11934 :set filetype?