博文

python 解决 多层差数表问题

图片
code: import itertools def get_number(high=4):     number=0     for i in range(1,high+1):         number+=i     number_list = list(range(1,number+1))     random_value = list(itertools.permutations(number_list,high))     results=[]     for top_value in random_value:         top_value = list(top_value)         result=top_value         a = high                 while a > 1:             top_list = [abs(top_value[i]-top_value[i+1]) for i in range(0,a-1)]             if len(set(top_list)|set(result)) != len(top_list + result):                 a = 1             else:                 a-=1           ...

conda无法改变环境Your shell has not been properly configured to use 'conda activate'

解决办法: 1. source activate 2. source deactivate 3. conda activate r

CREST 结构变异检测工具安装指南

CREST ( C lipping  Re veals  St ructure) is a new algorithm for detecting genomic structural variations at base-pair resolution using next-generation sequencing data.  article: CREST maps somatic structural variation in cancer genomes with base-pair resolution (2011) download:  http://ftp.stjude.org/pub/software/CREST/CREST.tgz tar zxvf  CREST.tgz ============= Requirements: ============= Before running CREST, you need to make sure that several pieces of software and/or modules are installed on the system: 1. BLAT software suite, especially blat, gfClient, and gfServer. BLAT can be obtained from these links:     BLAT for academic use: http://www.soe.ucsc.edu/~kent     BLAT commercial license: http://www.kentinformatics.com/ 2. CAP3 assembly program, available here:     CAP3 for academic use: http://seq.cs.iastate.edu/cap3.html     CAP3 commercial license: Contact Robin Kolehmainen at Michigan Tech,...