All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.singlehtml.include.sequences.ftl Maven / Gradle / Ivy

[#ftl]
数据库共计${sequences?size}个序列,分别如下:


  [#if sequences?size>0]
  [#assign seqcnt = (sequences?size/2)?int]
  [#if sequences?size%2>0][#assign seqcnt = seqcnt+1][/#if]
  [#assign sortedSeqs = sequences?sort_by("name")/]
  [#list 1..seqcnt as i]
  
  	[#assign seq= sortedSeqs[i-1] /]
    
    [#if sequences[i-1+seqcnt]??]
    [#assign seq= sortedSeqs[i-1+seqcnt] /]
    
    [#else]
    
    [/#if]
  
  [/#list]
  [/#if]
序号 序列名 序号 序列名
${i} ${seq.name.value?lower_case}
${seq.comment!}
${i+seqcnt} ${seq.name.value?lower_case}
${seq.comment!}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy