Mercurial > repos > peterjc > seq_primer_clip
diff tools/primers/seq_primer_clip.txt @ 1:06e6112091aa draft
Uploaded v0.0.9, modifies tests to cope with current Tool Shed limitation.
author | peterjc |
---|---|
date | Tue, 30 Apr 2013 11:04:13 -0400 |
parents | b8ca95338e77 |
children |
line wrap: on
line diff
--- a/tools/primers/seq_primer_clip.txt Mon Apr 29 06:09:15 2013 -0400 +++ b/tools/primers/seq_primer_clip.txt Tue Apr 30 11:04:13 2013 -0400 @@ -12,25 +12,14 @@ * seq_primer_clip.xml (the Galaxy tool definition) The suggested location is a new tools/primers folder. You will also need to -modify the tools_conf.xml file to tell Galaxy to offer the tool and also do -this to tools_conf.xml.sample in order to run the tests: +modify the tools_conf.xml file to tell Galaxy to offer the tool: <tool file="primers/seq_primer_clip.xml" /> -There are optionally some example files required to run the functional tests, -put these in the test-data/primers folder. +If you wish to run the unit tests, also add this to tools_conf.xml.sample +and move/copy the test-data files under Galaxy's test-data folder. Then: -test-data/primers/dop_primers.fasta -test-data/primers/MID4_GLZRM4E04_rnd30.fasta -test-data/primers/MID4_GLZRM4E04_rnd30.fastqsanger -test-data/primers/MID4_GLZRM4E04_rnd30.sff -test-data/primers/MID4_GLZRM4E04_rnd30_fclip.fasta -test-data/primers/MID4_GLZRM4E04_rnd30_fclip.fastqsanger -test-data/primers/MID4_GLZRM4E04_rnd30_fclip.sff - -You should then be able to run the tests with: - -sh run_functional_tests.sh -id seq_primer_clip +$ ./run_functional_tests.sh -id seq_primer_clip You will also need to install Biopython 1.54 or later. That's it. @@ -47,6 +36,7 @@ v0.0.7 - Added error check for bad filename arguments v0.0.8 - Record version of Python script when run from Galaxy. - Check for errors using Python script's return code. +v0.0.9 - Moved test data to workaround Galaxy Tool Shed limititation. Developers @@ -61,7 +51,7 @@ For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use the following command from the Galaxy root folder: -$ tar -czf seq_primer_clip.tar.gz tools/primers/seq_primer_clip.* test-data/primers/* +$ tar -czf seq_primer_clip.tar.gz tools/primers/seq_primer_clip.* test-data/dop_primers.fasta test-data/MID4_GLZRM4E04_rnd30* Check this worked: @@ -69,16 +59,16 @@ tools/primers/seq_primer_clip.py tools/primers/seq_primer_clip.txt tools/primers/seq_primer_clip.xml -test-data/primers/dop_primers.fasta -test-data/primers/MID4_GLZRM4E04_rnd30.fasta -test-data/primers/MID4_GLZRM4E04_rnd30.fastqsanger -test-data/primers/MID4_GLZRM4E04_rnd30_fclip.fasta -test-data/primers/MID4_GLZRM4E04_rnd30_fclip.fastqsanger -test-data/primers/MID4_GLZRM4E04_rnd30_fclip.sff -test-data/primers/MID4_GLZRM4E04_rnd30_frclip.fasta -test-data/primers/MID4_GLZRM4E04_rnd30_frclip.fastqsanger -test-data/primers/MID4_GLZRM4E04_rnd30_frclip.sff -test-data/primers/MID4_GLZRM4E04_rnd30.sff +test-data/dop_primers.fasta +test-data/MID4_GLZRM4E04_rnd30.fasta +test-data/MID4_GLZRM4E04_rnd30.fastqsanger +test-data/MID4_GLZRM4E04_rnd30_fclip.fasta +test-data/MID4_GLZRM4E04_rnd30_fclip.fastqsanger +test-data/MID4_GLZRM4E04_rnd30_fclip.sff +test-data/MID4_GLZRM4E04_rnd30_frclip.fasta +test-data/MID4_GLZRM4E04_rnd30_frclip.fastqsanger +test-data/MID4_GLZRM4E04_rnd30_frclip.sff +test-data/MID4_GLZRM4E04_rnd30.sff Licence (MIT/BSD style)