# HG changeset patch # User Jim Johnson # Date 1364830097 18000 # Node ID b61f1466ce8f1f32ce9d89d2ccbb7b9fb1ea033e # Parent 217aedbdd0d0b7c14102baf943be5880fe2b8a22 Add tool_dependencies.xml and test case diff -r 217aedbdd0d0 -r b61f1466ce8f README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Mon Apr 01 10:28:17 2013 -0500 @@ -0,0 +1,19 @@ + +== ea-utils Galaxy Wrapper == + +This is a Galaxy wrapper for some ea-utils tools, fastq-join and sam-stats. + +** Installation ** + +Installation from a tool shed provides the necessary tool dependencies. + +Otherwise, make sure fastq-join and sam-stats are in the path. +Move the test data files to your galaxy root test-data. +Move the xml files to a subdirectory of your tools directory and add lines in tool_conf.xml to point to them. +Restart the Galaxy server. + +** Attribution ** + +The ea-utils package and associated documentation can be found at: http://code.google.com/p/ea-utils/ + + diff -r 217aedbdd0d0 -r b61f1466ce8f fastq-mcf.xml --- a/fastq-mcf.xml Tue Mar 13 14:44:46 2012 -0400 +++ b/fastq-mcf.xml Mon Apr 01 10:28:17 2013 -0500 @@ -1,7 +1,7 @@ sequence quality filtering and clipping - fastq-mcf + ea-utils fastq-mcf -V fastq-mcf @@ -41,7 +41,9 @@ #if len($trimming.sampcnt.__str__) > 0 -s $trimming.sampcnt #end if - $trimming.ilv3 + #if len($trimming.ilv3.__str__.strip()) > 0 + -$trimming.ilv3 + #end if $trimming.rmns #end if #if $noclip == True : @@ -120,9 +122,9 @@ - - - + + + @@ -143,7 +145,24 @@ (noclip == False and mates != None) + + + + + + + + + + + + + + + + + **What it does** @@ -156,6 +175,8 @@ Detect N's, and remove from ends Remove reads with CASAVA 'Y' flag (purity filtering) Discard sequences that are too short after all of the above + + Keep multiple mate-reads in sync while doing all of the above .. _fastq-mcf: http://code.google.com/p/ea-utils/wiki/FastqMcf diff -r 217aedbdd0d0 -r b61f1466ce8f test-data/adapters.fa --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/adapters.fa Mon Apr 01 10:28:17 2013 -0500 @@ -0,0 +1,2 @@ +>Trufseq_Universal_Adaptor +AATGATACGGCGACCACCGAGATCTACACTCTTTCCCTACACGACGCTCTTCCGATCT diff -r 217aedbdd0d0 -r b61f1466ce8f test-data/test_mcf_mates.fq --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test_mcf_mates.fq Mon Apr 01 10:28:17 2013 -0500 @@ -0,0 +1,20 @@ +@3VFXHS1:278:D13Y4ACXX:1:1101:1472:2209 2:N:0:CGATGT +CTGGATTTGAAATCTTTAGCGGAGCGGGAACGCCGGCGCGGAAGGGTCTCTACACAGGGCCCGGTCCGCCCTTGCGCTCTCCTTAATGNNNNNNNNNNCGC ++ +@CCF?EFFHHHGHHHIFGI@HGGIEHIGIJGI6@@E>B8>??:DBD++399>ACCDDDD@DBDD58@BBDDDDD@@<@BDDDDC>CDC############# +@3VFXHS1:278:D13Y4ACXX:1:1101:1434:2224 2:N:0:CGATGT +CCCGGGGCCTCCCATTAAGGTCGCACTTGGACCCATTGCCATAGGTCTGGCTGTGGTAGCGTTTAAGACGATGCTGCTTGGAGGCCTTGGCTGTTTCATCA ++ +BCCFFFFDHFFHGIHIHGJJIJJGGIIJJJIDHGJIJEIIIIIJJIIJIJHHHEEF;>DDA>BBB@CAABBBDDCDDDDDDAD@@?CDDDCCB?ACCDDC# +@3VFXHS1:278:D13Y4ACXX:1:1101:1712:2247 2:N:0:CGATGT +GTTACTCAGCATTTATTCATGCCTGCTGTGTACGGAAAGGGCAGTTACAAAGGAAAGCCTTGATGATTCTGCTTCCAAGAAACGTGAAGATCAGATAATAT ++ +CBCFFFFFHHHHHJIJJIIJJJJJIIJIHIHIJJJIJIJIJJIIIIIIJJGGIIJJJIJJJJHIJJJJHIJHGHHHHFFFFFEDECBDDDDDCCDDDCDEE +@3VFXHS1:278:D13Y4ACXX:1:1101:3318:2215 2:N:0:CGATGT +AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATTAAAAAAAAAAAAAAAACAGAAAAAGAAAGAAGGAAAGGNGAGT ++ +CCCFFFFFHHHHHJJJJFHHHJJJIJJGGIDGHIEIJJJIIJGIJ5@FHIB?DFFEEEDEEEDD?#################################### +@3VFXHS1:278:D13Y4ACXX:2:1101:5344:2243 2:N:0:ACAGTG +GGATCGGGAAAGGGGGGGGGGGGGGAAAAGGGGGGATTTCCGGGGGGGCCGGTTCTTTTAAAAAAAAAAAAAAAGAAAACAGAAACAGAAGATGGACAACA ++ +CCCFFFFFHHHHHJJJJFHHHJJJIJJGGIDGHIEIJJJIIJGIJ5@FHIB?DFFEEEDEEEDD?#################################### diff -r 217aedbdd0d0 -r b61f1466ce8f test-data/test_mcf_reads.fq --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test_mcf_reads.fq Mon Apr 01 10:28:17 2013 -0500 @@ -0,0 +1,20 @@ +@3VFXHS1:278:D13Y4ACXX:1:1101:1472:2209 1:N:0:CGATGT +CTGGTATTGTCTCTTCCCACACTGAACTCTGGGGAATTCGATGTGTGGCACAGCCCGGCTCAGCCTGCCCGCTGGTGGGAGCCCCTGGGAAGCTGCGGCGC ++ +@@CFDDFFGH>CAEH:CGHIJJJJEIHJJHIJJJ?DHIDIJHGEGHJG;FHC9@B(5@6A=EH:B@B@2=>>B?BDCBDB### +@3VFXHS1:278:D13Y4ACXX:1:1101:1434:2224 1:N:0:CGATGT +GGCAGAGCCAATCTTCGGACGTGGTGATTGTCTCCTCTAAGTACAAACAGCGCTATGAGTGTCGCCTGCCAGCTGGAGCTATTCACTTCCAGCGTGAAAGG ++ +BC@FFFFFHHHGFHIIJJIJGFHICFCGIHGFHFGGCHD@F?B?BGGHJJIG6D@EHEHHEHCD259?AACD@AC59?,(5>A,;>:@C(::(029?8>@A +@3VFXHS1:278:D13Y4ACXX:1:1101:1712:2247 1:N:0:CGATGT +GTACACTTGAACACATTTTTCTAACCTTAGAAAATACCTACAAGGCCTGTTGTCTTGACCCATTACTCAATTGTCCCTGGCATATTATCTGATCTTCACGT ++ +CCCFFFFFHHHHGJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJIJGIIJGGGDHHHIHIHHEIJIJJIIGGIIIIFEHHHHFEFFFDEEEDCEEEDEDC?A +@3VFXHS1:278:D13Y4ACXX:1:1101:3318:2215 1:N:0:CGATGT +AGATCGGAAGAGCACACGTCTGAACTCCAGTCACCGATGTATCTCGTATGCCGTCTTCTGCTTGAAAAAAAAAAGAAAAAAAAACAAGCGACAAGGACAGA ++ +CCCFFFFFHHHHHJJJJJIJJJJJJJJJIJGHFFHIAHIFGGIIJJIJJFIJIHJIHHHGEGFE>CFFEB############################### +@3VFXHS1:278:D13Y4ACXX:2:1101:5344:2243 1:N:0:ACAGTG +GATCGGAAGAGCACACGTCTGAACTCCAGTCACACAGTGATCTCGTATGCCGTCTTCTGCTTGAAAAAAAAACAACAGAAAAAACAAAGCGCGAACAGTGC ++ +CCCFFFFFHHHHHJIJJIJIJHJJJJJJJHIGIGIHJFHFFDIIJGIIIJJJHHFIJJJJJJHCEHHFD################################ diff -r 217aedbdd0d0 -r b61f1466ce8f test-data/testout_mcf_mates.fq --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/testout_mcf_mates.fq Mon Apr 01 10:28:17 2013 -0500 @@ -0,0 +1,20 @@ +@3VFXHS1:278:D13Y4ACXX:1:1101:1472:2209 2:N:0:CGATGT +CTGGATTTGAAATCTTTAGCGGAGCGGGAACGCCGGCGCGGAAGGGTCTCTACACAGGGCCCGGTCCGCCCTTGCGCTCTCCTTAATG ++ +@CCF?EFFHHHGHHHIFGI@HGGIEHIGIJGI6@@E>B8>??:DBD++399>ACCDDDD@DBDD58@BBDDDDD@@<@BDDDDC>CDC +@3VFXHS1:278:D13Y4ACXX:1:1101:1434:2224 2:N:0:CGATGT +CCCGGGGCCTCCCATTAAGGTCGCACTTGGACCCATTGCCATAGGTCTGGCTGTGGTAGCGTTTAAGACGATGCTGCTTGGAGGCCTTGGCTGTTTCATC ++ +BCCFFFFDHFFHGIHIHGJJIJJGGIIJJJIDHGJIJEIIIIIJJIIJIJHHHEEF;>DDA>BBB@CAABBBDDCDDDDDDAD@@?CDDDCCB?ACCDDC +@3VFXHS1:278:D13Y4ACXX:1:1101:1712:2247 2:N:0:CGATGT +GTTACTCAGCATTTATTCATGCCTGCTGTGTACGGAAAGGGCAGTTACAAAGGAAAGCCTTGATGATTCTGCTTCCAAGAAACGTGAAGATCAGATAATAT ++ +CBCFFFFFHHHHHJIJJIIJJJJJIIJIHIHIJJJIJIJIJJIIIIIIJJGGIIJJJIJJJJHIJJJJHIJHGHHHHFFFFFEDECBDDDDDCCDDDCDEE +@3VFXHS1:278:D13Y4ACXX:1:1101:3318:2215 2:N:0:CGATGT +AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATTAAAAAAA ++ +CCCFFFFFHHHHHJJJJFHHHJJJIJJGGIDGHIEIJJJIIJGIJ5@FHIB?DFFEEEDEEEDD? +@3VFXHS1:278:D13Y4ACXX:2:1101:5344:2243 2:N:0:ACAGTG +GGATCGGGAAAGGGGGGGGGGGGGGAAAAGGGGGGATTTCCGGGGGGGCCGGTTCTTTTAAAAAA ++ +CCCFFFFFHHHHHJJJJFHHHJJJIJJGGIDGHIEIJJJIIJGIJ5@FHIB?DFFEEEDEEEDD? diff -r 217aedbdd0d0 -r b61f1466ce8f test-data/testout_mcf_reads.fq --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/testout_mcf_reads.fq Mon Apr 01 10:28:17 2013 -0500 @@ -0,0 +1,20 @@ +@3VFXHS1:278:D13Y4ACXX:1:1101:1472:2209 1:N:0:CGATGT +CTGGTATTGTCTCTTCCCACACTGAACTCTGGGGAATTCGATGTGTGGCACAGCCCGGCTCAGCCTGCCCGCTGGTGGGAGCCCCTGGGAAGCTGCGG ++ +@@CFDDFFGH>CAEH:CGHIJJJJEIHJJHIJJJ?DHIDIJHGEGHJG;FHC9@B(5@6A=EH:B@B@2=>>B?BDCBDB +@3VFXHS1:278:D13Y4ACXX:1:1101:1434:2224 1:N:0:CGATGT +GGCAGAGCCAATCTTCGGACGTGGTGATTGTCTCCTCTAAGTACAAACAGCGCTATGAGTGTCGCCTGCCAGCTGGAGCTATTCACTTCCAGCGTGAAAGG ++ +BC@FFFFFHHHGFHIIJJIJGFHICFCGIHGFHFGGCHD@F?B?BGGHJJIG6D@EHEHHEHCD259?AACD@AC59?,(5>A,;>:@C(::(029?8>@A +@3VFXHS1:278:D13Y4ACXX:1:1101:1712:2247 1:N:0:CGATGT +GTACACTTGAACACATTTTTCTAACCTTAGAAAATACCTACAAGGCCTGTTGTCTTGACCCATTACTCAATTGTCCCTGGCATATTATCTGATCTTCACGT ++ +CCCFFFFFHHHHGJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJIJGIIJGGGDHHHIHIHHEIJIJJIIGGIIIIFEHHHHFEFFFDEEEDCEEEDEDC?A +@3VFXHS1:278:D13Y4ACXX:1:1101:3318:2215 1:N:0:CGATGT +AGATCGGAAGAGCACACGTCTGAACTCCAGTCACCGATGTATCTCGTATGCCGTCTTCTGCTTGAAAAAA ++ +CCCFFFFFHHHHHJJJJJIJJJJJJJJJIJGHFFHIAHIFGGIIJJIJJFIJIHJIHHHGEGFE>CFFEB +@3VFXHS1:278:D13Y4ACXX:2:1101:5344:2243 1:N:0:ACAGTG +GATCGGAAGAGCACACGTCTGAACTCCAGTCACACAGTGATCTCGTATGCCGTCTTCTGCTTGAAAAAA ++ +CCCFFFFFHHHHHJIJJIJIJHJJJJJJJHIGIGIHJFHFFDIIJGIIIJJJHHFIJJJJJJHCEHHFD diff -r 217aedbdd0d0 -r b61f1466ce8f tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Apr 01 10:28:17 2013 -0500 @@ -0,0 +1,23 @@ + + + + + + http://ea-utils.googlecode.com/files/ea-utils.1.1.2-484.tar.gz + + sed -i.bak 's/varcall$//' Makefile + PREFIX=$INSTALL_DIR make install + + + sam-stats + $INSTALL_DIR/bin + + + $INSTALL_DIR/bin + + + + + + +