[med-svn] r2138 - trunk/community/infrastructure/getData

smoe-guest at alioth.debian.org smoe-guest at alioth.debian.org
Fri Jul 4 14:27:41 UTC 2008


Author: smoe-guest
Date: 2008-07-04 14:27:40 +0000 (Fri, 04 Jul 2008)
New Revision: 2138

Modified:
   trunk/community/infrastructure/getData/getData
Log:
Fix of config display.


Modified: trunk/community/infrastructure/getData/getData
===================================================================
--- trunk/community/infrastructure/getData/getData	2008-07-04 12:32:52 UTC (rev 2137)
+++ trunk/community/infrastructure/getData/getData	2008-07-04 14:27:40 UTC (rev 2138)
@@ -228,7 +228,8 @@
 		"post-download" => "d=uncompressed; if [ ! -d \$d ]; then mkdir \$d; fi; "
 				  ."rm -rf \$d/trembl.dat; "
 				  ."(find ftp.ebi.ac.uk -name '*.dat.gz' | xargs -r zcat ) > \$d/trembl.dat; "
-				  ."[ -x /usr/bin/dbxflat ] && cd \$d && dbxflat -dbresource embl -dbname trembllocal -fields acc,des -auto"
+				  ."[ -x /usr/bin/dbxflat ] && cd \$d && dbxflat -dbresource embl -dbname trembllocal -idformat swiss -filenames=trembl.dat -fields id,acc -auto",
+		"test" => "seqret trembllocal:Q9YZN7"
 	},
 
 	"swiss.dat" => {
@@ -237,8 +238,9 @@
 		"post-download" => "d=uncompressed; if [ ! -d \$d ]; then mkdir \$d; fi; "
 				  ."rm -rf \$d/swissprot.dat; "
 				  ."(find ftp.ebi.ac.uk -name '*.dat.gz' | xargs -r zcat ) > \$d/swissprot.dat; "
-				  ."[ -x /usr/bin/dbiflat ] && cd \$d && dbiflat -dbname swisslocal -fields acc,des -idformat swiss -auto"
+				  ."[ -x /usr/bin/dbiflat ] && cd \$d && dbiflat -dbname swisslocal -fields acc,des -idformat swiss -auto",
 	#	source => "wget --mirror ftp://ftp.ebi.ac.uk/pub/databases/swissprot/release_compressed/uniprot_sprot.dat.gz"
+		"test" => "seqret -feature swisslocal:p12345 -osf swiss -stdout -auto"
 	},
 
 	"swiss.fasta" => {
@@ -369,7 +371,7 @@
 					else {
 						print "  # method: unknown\n";
 					}
-					print "  directory: $mirrordir/$db/uncompressed/$db\n";
+					print "  directory: $mirrordir/$db/uncompressed\n";
 					print "]\n";
 					print "\n";
 					print "####################################\n";




More information about the debian-med-commit mailing list