<opt
  name="fbbulk-r4" 
  relid="4"
>
  <!-- see site_defaults for more included configs -->
  <include>site_defaults</include>

  <title>FlyBase Chado DB r4.0</title>
  <about>
   Configurations to extract feature and sequence data for
   bulk files from FlyBase chado databases, including various
   release information.
  </about>
  
  <doc name="Release.txt"><![CDATA[
    D. melanogaster euchromatin genome data from FlyBase
    Release  ${rel}, dated ${date}.
    This release provides new chromosomal dna from release 3, and associated features.
    
    See release notes at <a href="http://flybase.net${release_url}">
    http://flybase.net${release_url}</a>
  ]]></doc>
   

  <include>fbreleases</include>

  <!-- db is release-dependent ; use fbreleases info 
    this is standard public access to curren dmel_chado
  -->
  <db
    driver="Pg"
    name="dmel_chado"
    host="localhost"
    port="7302"
    user=""
    password=""
    />

  <org>dmel</org>
  <species>Drosophila melanogaster</species>
  <golden_path>'chromosome_arm'</golden_path>
  <seq_ontology>SO</seq_ontology>
  <featureprops>'cyto_range','dicistronic','gbunit'</featureprops>
  
  <featdump
    path="tmp/featdump/\w+.tsv"
    config="chadofeatsql"
    tag="feature_sql"
    type="feature_table"
    splitname="chadofeat"
    >
    <target>chromosomes</target>
    <target>features</target>
    <target>analysis</target>
    <!-- <target>matches</target> -->
    <target>synteny</target>
  </featdump>

  <!-- use to add parent ids to features FBgn|FBti ; NOT these - FBan|CG|CR -->
  <idpattern>(FBgn|FBti)\d+</idpattern>

  <featmap
    name="scaffold"   
    alt_name0 = "golden_path_region" 
    alt_name1 = "golden_path_fragment" 
    alt_name2 = "databank_scaffold"
    alt_name3 = "scaffold"
    alt_name4 = "supercontig"
    types="golden_path_region scaffold"
    typelabel="scaffold"
    NOT_fromdb="1"
    />
  <featmap name="dummy" note="here for xml parser" />

</opt>
