# HG changeset patch # User peterjc # Date 1541779213 18000 # Node ID 9cedad578085efdad7a099795e70e28657172e22 # Parent 9e191e8df0412a04f03975e7c7d55ab2f08fd135 planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/sample_seqs commit 3ab3d1a9650dec0533344d710ceb027e482d2b10-dirty diff -r 9e191e8df041 -r 9cedad578085 tools/sample_seqs/sample_seqs.py --- a/tools/sample_seqs/sample_seqs.py Fri Sep 15 10:27:28 2017 -0400 +++ b/tools/sample_seqs/sample_seqs.py Fri Nov 09 11:00:13 2018 -0500 @@ -7,7 +7,7 @@ Cock et al 2009. Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3. -http://dx.doi.org/10.1093/bioinformatics/btp163 pmid:19304878. +https://doi.org/10.1093/bioinformatics/btp163 pmid:19304878. This script is copyright 2014-2015 by Peter Cock, The James Hutton Institute (formerly the Scottish Crop Research Institute, SCRI), UK. All rights reserved. @@ -208,7 +208,7 @@ sys.stderr.write("Sampling %i sequences\n" % N) if N == total: def sampler(iterator): - """Dummy filter to filter nothing, taking everything.""" + """No-operation dummy filter, taking everything.""" global N taken = 0 for record in iterator: @@ -257,7 +257,7 @@ def raw_fasta_iterator(handle): - """Yields raw FASTA records as multi-line strings.""" + """Yield raw FASTA records as multi-line strings.""" while True: line = handle.readline() if line == "": diff -r 9e191e8df041 -r 9cedad578085 tools/sample_seqs/sample_seqs.xml --- a/tools/sample_seqs/sample_seqs.xml Fri Sep 15 10:27:28 2017 -0400 +++ b/tools/sample_seqs/sample_seqs.xml Fri Nov 09 11:00:13 2018 -0500 @@ -235,7 +235,7 @@ Cock et al (2009). Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3. -http://dx.doi.org/10.1093/bioinformatics/btp163 pmid:19304878. +https://doi.org/10.1093/bioinformatics/btp163 pmid:19304878. This tool is available to install into other Galaxy Instances via the Galaxy Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/sample_seqs