bioperl

Installing Bio::DB::Sam perl module

故事扮演 提交于 2019-12-01 02:13:00
问题 I am trying to install a perl module Bio::DB::Sam on my home directory on a remote server. I downloaded the module, extracted the files, and ran: perl Build.pl prefix=~/local this is what happens next: This module requires samtools 0.1.10 or higher (samtools.sourceforge.net). Please enter the location of the bam.h and compiled libbam.a files: **/some_places/samtools-0.1.19** Found /some_places/samtools-0.1.19/bam.h and /some_places/samtools-0.1.19/libbam.a. Created MYMETA.yml and MYMETA.json

Calculating the distance between atomic coordinates

若如初见. 提交于 2019-11-28 05:31:32
问题 I have a text file as shown below ATOM 920 CA GLN A 203 39.292 -13.354 17.416 1.00 55.76 C ATOM 929 CA HIS A 204 38.546 -15.963 14.792 1.00 29.53 C ATOM 939 CA ASN A 205 39.443 -17.018 11.206 1.00 54.49 C ATOM 947 CA GLU A 206 41.454 -13.901 10.155 1.00 26.32 C ATOM 956 CA VAL A 207 43.664 -14.041 13.279 1.00 40.65 C . . . ATOM 963 CA GLU A 208 45.403 -17.443 13.188 1.00 40.25 C I would like to calculate the distance between two alpha carbon atoms i.e calculate the distance between first and