#%Module #########
set is_module_rm [module-info mode remove]

#---- whatis is used by module apropos
module-whatis   "Set environnement for kSNP3 (1)"
module-whatis   "topic_3299"
module-whatis   "operation_0484"
module-whatis   "operation_0291"
module-whatis   "operation_0292"
module-whatis   "operation_0361"


#---- module help message
proc ModulesHelp { } {
  puts stderr "This modulefile defines the requisite environement"
  puts stderr "needed to use package: kSNP3 version (1)"
  puts stderr ""
  puts stderr "kSNP identifies the pan-genome SNPs in a set of genome sequences, and estimates phylogenetic trees based upon those SNPs. SNP discovery is based on k-mer analysis, and requires no multiple sequence alignment or the selection of a reference genome, so kSNP can take 100s of microbial genomes as input. A SNP locus is defined by an oligo of length k surrounding a central SNP allele. kSNP can analyze both complete (finished) genomes and unfinished genomes in assembled contigs or raw, unassembled reads. Finished and unfinished genomes can be analyzed together, and kSNP can automatically download Genbank files of the finished genomes and incorporate the information in those files into the SNP annotation"
  puts stderr "URL: http://ksnp.sourceforge.net/"
  puts stderr ""
  puts stderr "local documentation available:" 
  puts stderr "\thttp://gensoft.pasteur.fr/docs/kSNP3/1"
  puts stderr ""
  ## is there any program to document.
  puts stderr "package provides following commands:"
  puts stderr "\tCheckFileNames"
  puts stderr "\tFFG"
  puts stderr "\tFG2IF"
  puts stderr "\tFGFD"
  puts stderr "\tFTPgenomes"
  puts stderr "\tFastTreeMP"
  puts stderr "\tKchooser"
  puts stderr "\tLE2Unix"
  puts stderr "\tMakeFasta"
  puts stderr "\tMakeKSNP3infile"
  puts stderr "\tNodeChiSquare2tree31"
  puts stderr "\tParAnn"
  puts stderr "\tSNP_matrix2dist_matrix3"
  puts stderr "\tSNPs2fastaQuery3"
  puts stderr "\tSNPs2nodes-new3"
  puts stderr "\tSNPs_all_2_fasta_matrix3"
  puts stderr "\tadd_paths3"
  puts stderr "\tannotate_SNPs_from_genbankFiles3"
  puts stderr "\tcheck_genbank_from_NCBI"
  puts stderr "\tconsense"
  puts stderr "\tcore_SNPs3"
  puts stderr "\tdelete_allele_conflicts3"
  puts stderr "\tdistance_tree3"
  puts stderr "\tdivide_input3"
  puts stderr "\textract_nth_locus3"
  puts stderr "\tfasta_remove_new_lines3"
  puts stderr "\tfind_allele3"
  puts stderr "\tfind_unresolved_clusters3"
  puts stderr "\tfix_old_fasta_headers"
  puts stderr "\tforce_binary_tree"
  puts stderr "\tgenome_names3"
  puts stderr "\tget_genbank_file3"
  puts stderr "\tget_quantile3"
  puts stderr "\tjellyfish"
  puts stderr "\tkSNP3"
  puts stderr "\tlabelTree_AlleleCount-new3"
  puts stderr "\tlabelTree_HGT3"
  puts stderr "\tlabel_tree_nodes3"
  puts stderr "\tmerge_fasta_reads3"
  puts stderr "\tmummer"
  puts stderr "\tnumber_SNPs_all3"
  puts stderr "\tparallel_commands3"
  puts stderr "\tparse_SNPs2VCF3"
  puts stderr "\tparse_assembly_summary"
  puts stderr "\tparse_mummer4kSNP3"
  puts stderr "\tparse_protein_annotation_counts3"
  puts stderr "\tparsimonator"
  puts stderr "\tpick_snps_from_kmer_genome_counts3"
  puts stderr "\trc_kmer_freqs3"
  puts stderr "\trename_from_table3"
  puts stderr "\trenumber_probes3"
  puts stderr "\trm_node_names_from_tree3"
  puts stderr "\tsa"
  puts stderr "\tselect_node_annotations3"
  puts stderr "\tsplit_by_fasta_entry3"
  puts stderr "\tsubset_SNPs_all3"
  puts stderr "\tsubset_mer_list3"
  puts stderr "\tsubset_mers3"
  puts stderr "\ttree_bioperl3"
  puts stderr "\ttree_nodes3"
  puts stderr "\ttree_plotter3"
  puts stderr ""
}



#---- set PATHs.
prepend-path PATH   /opt/gensoft/exe/kSNP3/1/bin 

#---- set library path

#---- set pkgconfig path

#---- set include path

#---- prepend specified env var

#---- set ACLOCAL_PATH

#---- export usefull variables

#---- export aliases

