[Swift-commit] r7239 - in SwiftApps/Swift-MapRed/mapred_combiner_V4: . examples/blast
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Mon Oct 28 14:09:37 CDT 2013
Author: ketan
Date: 2013-10-28 14:09:37 -0500 (Mon, 28 Oct 2013)
New Revision: 7239
Added:
SwiftApps/Swift-MapRed/mapred_combiner_V4/examples/blast/sequence.seq
Modified:
SwiftApps/Swift-MapRed/mapred_combiner_V4/blastreduce.swift
Log:
Modified: SwiftApps/Swift-MapRed/mapred_combiner_V4/blastreduce.swift
===================================================================
--- SwiftApps/Swift-MapRed/mapred_combiner_V4/blastreduce.swift 2013-10-28 18:57:59 UTC (rev 7238)
+++ SwiftApps/Swift-MapRed/mapred_combiner_V4/blastreduce.swift 2013-10-28 19:09:37 UTC (rev 7239)
@@ -4,7 +4,6 @@
type query;
type script;
-type exec;
type headerfile;
type indexfile;
@@ -54,8 +53,8 @@
}
string num_partitions = arg("n", "10");
-fastaseq partition[] <ext;exec = "examples/splitmapper.sh", n = num_partitions>;
-database formatdbout[] <ext; exec = "examples/formatdbmapper.sh", n = num_partitions>;
+fastaseq partition[] <ext;exec = "examples/blast/splitmapper.sh", n = num_partitions>;
+database formatdbout[] <ext; exec = "examples/blast/formatdbmapper.sh", n = num_partitions>;
script map_wrapper <"map_wrapper.sh">;
script red_wrapper <"reduce_wrapper.sh">;
@@ -63,14 +62,11 @@
script map_func <"examples/blast/map_blast.sh">;
script red_func <"examples/reduce_sort.sh">;
-exec exeblastall <"examples/blastall">;
-exec exeblastmerge <"examples/blastmerge">;
-
fileptr map_out[] <simple_mapper; prefix="map", suffix=".out">;
file map_err[] <simple_mapper; prefix="map", suffix=".err">;
fastaseq dbin <single_file_mapper;file = arg("d", "/home/maheshwari/Swift-MapRed/blast/nr")>;
-query query_file <single_file_mapper;file = arg("i", "sequence.seq")>;
+query query_file <single_file_mapper;file = arg("i", "examples/blast/sequence.seq")>;
partition=split_database(dbin, num_partitions);
Added: SwiftApps/Swift-MapRed/mapred_combiner_V4/examples/blast/sequence.seq
===================================================================
--- SwiftApps/Swift-MapRed/mapred_combiner_V4/examples/blast/sequence.seq (rev 0)
+++ SwiftApps/Swift-MapRed/mapred_combiner_V4/examples/blast/sequence.seq 2013-10-28 19:09:37 UTC (rev 7239)
@@ -0,0 +1,106 @@
+>gnl|md5|e0785fc0b8720a5c4d78be370ef19af0
+MEVLESGEQGVLQWDRKLSELSEPGDGEALMYHTHFSELLDEFSQNVLGQLLNDPFLSEK
+SVSMEVEPSPTSPAPLIQAEHSYSLCEEPRAQSPFTHITSDSFNDDEVESEKWYLSTDFP
+STSIKTEPITDEPPPGLVPSVTLTITAISTPLEKEEPPLEMNTGVDSSCQTIIPKIKLEP
+HEVDQFLNFSPKEAPVDHLHLPPTPPSSHGSDSEGSLSPNPRLHPFSLPQTHSPSRAAPR
+APSALSSSPLLTAPHKLQGSGPLVLTEEEKRTLIAEGYPIPTKLPLSKSEEKALKKIRRK
+IKNKISAQESRRKKKEYMDSLEKKVESCSTENLELRKKVEVLENTNRTLLQQLQKLQTLV
+MGKVSRTCKLAGTQTGTCLMVVVLCFAVAFGSFFQGYGPYPSATKMALPSQHSLQEPYTA
+SVVRSRNLLIYEEHSPPEESSSPGSAGELGGWDRGSSLLRVSGLESRPDVDLPHFIISNE
+TSLEKSVLLELQQHLVSAKLEGNETLKVVELDRRVNTTF
+>gnl|md5|f67549f249c59ecd0b48ff02ca209442
+MAEETRQSKLAIAKEKLKEYWQRNSLGVPAGVKRNRKTSGSSPETATSGGCHSPEDSATG
+IHGEGPTSSATLKDLESPCQELAVVLDSRSIKISQLNNTIKSLVIMANILVFVFPKCIVI
+DLNRNVDTEISKMSMG
+>gnl|md5|cd0de5548a14c880425dc87f8486310c
+MNSGAMRIHSKGHFQGGIQVKNEKNRPSLKSLKTDNRPEKSKCKPLWGKVFYLDLPSVTI
+SEKLQKDIKDLGGRVEEFLSKDISYLISNKKEAKFAQTLGRISPVPSPESAYTAETTSPH
+PSHDGSSFKS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DLE
+VRFGLNMNVLIDGRVPKVCSLKEVLRAFLDHRREVLVRRSNHRLDKIAARLEVLEGYMIA
+FLNLDRVIEIIRHEDDPKAVMIAEFKLSDVQVEAILNMRLRALRRLEEIELRAEHENLTR
+EREGLAAMLADEGAQWARIAEELRETRAKFGKSASGGQRRTEIGEAGEVAEIDMDAMIER
+EPITVILSKMGWIRAMKGHQPLDAEVKFKDGDGPFMALHAETTDKLMVFAANGRFYTLPA
+NNLPGGRGMGEPLRLMIDLPNDAAVIDMFPWRDGERYLVASKAGDGFVVAGADILAQTRA
+GKQVLNGEAALCRRVTGDHVAVVGQNRKLLVFPLSELPEMARGKGVRLQKYKDGGLSDAV
+CITLAEGLRWQETGGRTRSEPDLTEWLGKRAGAGYMAPRGFPRDNRFN
+>gnl|md5|ccc28dbc1a3ca81c8dd929af669b1173
+MDRAERIGFWVSGFAHAGLLGAALVGGALFRPQPLEAVRMAEVATMSEAEFQSLAAAAAG
+RGPVSDVAATTPAQPRPPADENRLGEVEAVSPPAPDAQAAELSTPSDRPEARPDLSDFQT
+PNRPVAVATDAPRPAEPENTVELAAL
+>gnl|md5|9d3da0729b348bbcaba8c65c444b6fee
+MAGPAHGRAHRGAALMLEVAFRHRFPGLSLEVAFQAPGGVTALFGPSGCGKSTAINAIAG
+LLRPDQGRIALDGRVLFDGATNLSPQARRIGCVFQDARLFPHMTVAANLRYPSRWRRGAA
+RDFDRITEMLALGPLLHRRPGTLSGGERQRVAIGRALLSDPALLVMDEPLAALDEARKAE
+IMPWLERLRDQIRLPILYVSHSVPEVLRLATTVVLMRQGRVTHSGALADILADPELAPQL
+GAREAGALIRATVEAREADGLTRVATAGGPMLLPELDLAPGRVLRLRILAHEVILAREAP
+RGLSALNALPVAVTRIEGGLVQLALGHGAQHERMLAQVTPRSVKALELQPGTACHAIVKS
+VSVLPS
+>gnl|md5|4276fd81078276b607fce4cf16581984
+MPRRRSSCCPRSLAGRPVPRNTRQPSRGSTLPGSPRRWKSPRPHGRSISEGLARPGKGRT
+FIGRPSPSLNIWPGIAGIMPPLAVGSWVAAVEQTYAADAGMRRDEAIRSATPGAAFPIFA
+AQAHGLASCPMVGFDAERLAREFALAADEIPVLLVAVGHAAEGNRPQKPRLPVAQILTTL
+QQPEVDMPKPSDILLTALAPAVWGSTYIVATELLPGAPPLSVAAIRALPTGLILLLLVRQ
+LPKGDWLWRSFVLGALNFTVFWALLFVAAYRLPGGIAATVGAVQPLIVVFAASAVLGTRI
+RVLSVLAAVMGMAGVALLVLQDGAVPDMPGIAAALGGAFSMAFGTVLTRKWRPPVSALVL
+TAWQLTAGGLLLLPLALLLDPPMPPLDAANAAGMGYLVLFTALTYILWFRGVARLEPAAV
+SSLGFLSPLTAILLGWAILGQALSASQMIGAAVVVASIWLSQRATPSRQVHAR
+>gnl|md5|6803c5e1ab1272ec69688700d3c02e0e
+MKVYLANQPVDFRKGPDSQLSLVRDAGSDPFSFELEILAAHVLGEILKGPRVFADETGLP
+TLAPGTGTVNKAWLWAYARDDSTFGGSGPPMVPYRFEDSRSGECVHRHLGGYGGILQVDG
+YAAYNQLVRKDGGNAGPSLAECWAHSRRRFYELHTAGTVRSPPPRSSGWPISGSSNPRFV
+AKTPTFAPPRGRPSPPPPSPDCSPSGNRPCRASRANRSWPRPSAMPSPGATSSSDS
+>gnl|md5|c63587eb43399c568f1164527fc27358
+PFWATPFALAACTPEAPPPPEPETVSVDPCGAARYSHLIGQTSPTISVPEGQMYRIARED
+RPMTMEMIQDRLTFIVDSRGKLLSVSCS
+>gnl|md5|3f0af0be21624a9da7db4d62141deca1
+MSRHRGAKRCRRYGLLGIISLLSPAYLLSVERWPFHSGPPDHYGRLSSLLDLSVLQSGWL
+LPLHSTSDFRPL
+>gnl|md5|bfd0bd685d4ee94a015cd061816ab82d
+RHIRRDALEASVLNGLKKHLMEPELFREFCAEFTREVNRLRMERGADLEVARRELDKIGR
+QISQIIEAITDGMYHPSMKEKMTKLEARKAEATEKLANADEPPPLLHPNMAALYAQRITE
+LSENLQHEDSRAQAAEILRSLVDQVTLLPEEGELAIVLRGDLGAILRFAAGKKDPDFLSE
+AEALDNLLGQMAVSRKPGRTKAKTSALNATEVSQLSLVAGVGFEPTTFRL
+>gnl|md5|458f535dc6b3a85dbf0b50bf0ffae312
+MMMPTARSMTLPRAMNSLNSLNMGLPFPACCACSGRGCHITLTPCNMRQDMTGNDMTALS
+EFPITRRWPPRRPDVIQLYTLNTPNGIKTSVMLEECGLDYDAHRISIGDPEDQFTPEFLS
+LNPNNKIPAMIDPNGPDGKPMGLFETGAMLVYLGDKTGKFLPASGAARYHTIQWLMWQMG
+GVGPMFGQVGYFHRYKGSEIEDARPRTRYYNEARRLLGVLDRQLEGRDWITGEYSIADMA
+VGPWLRTVRVNYEAEKETGMDGFANVQAYLDRFLARPAVQRGIEVGAE
+>gnl|md5|f53520edd5c9ba7e5bed2fd08cb44ad7
+MPSWRRNWAAATRIRPAVRFWPRSGWTDAAGPMRPDPRPAACAAAPAGAEPRHRCTEEPA
+LTESRKINPWLKAALEFGPLILFFLVFMRFRDQTVSLAGRDYSGFILATLAFVPVLALST
+LALWRLTGRLSPMQVATLVLVVVFGGLSVWLNDPKFFKMKPTIIYLIFAALLGTSLALRR
+NWLELVMSEALPMNAEGWRILTLRMALLFLGLAAANEAVWRLMSETAWVNFKTFGLPAIM
+VAFFIANSRLFERHAQPRDGE
+>gnl|md5|68631421ddc36a3fd81617d12227b1dd
+MILHRPDDDSTARRLEIELRNGPALEAKLVDKIGGAWVELNARHERLVRQEVGARLDAER
+DRKAEVILDLLYEEAAEGRLYTSTQFASNFENRAGLGSQHTIQDRLNVLATKGFIKYQRN
+GALYGLPLVRSRFGYMCVEGMRFGRVEQVDPETGEITGQGLAVLPSHYRCASSGAALEVE
+NPSVWVWPEVVDV
+>gnl|md5|04b3fad17b0d40e02b489a48c451ecc3
+MPVACCRPCGAADGGADLGRSGGEGWLHLFPVLLGAGQARTHEALRRQGRIARRTAGTPR
+PWFIVIITAGLLARRSLPLPAFPMPCGTSGVIRRRLAAYSCGGSAGLAPKGAPASLFAFG
+SDRPERTVMPTYRDDEAISVKMLYWPATLCPREEVSPLTTTGAEDLKQADTVLYMQFFRL
+R
+>gnl|md5|0fab0da718e659ed5fb9c7a5f6a3d18e
+MAEHLPFLAHCSPAPRGLARAWGFGRRPGSNDRGNDTLTHNVLRFASGLWRGQPGRVILY
+TIHYKAFTMTASTTMTIRVSPETKQKLERIAGETRRSKSFLAAEAVSAYVERELEIIDGI
+RRGMADAAAGRVVSHEDAMAEIHAVIDAAEATRAGKA
More information about the Swift-commit
mailing list