Mercurial > repos > peterjc > sample_seqs
changeset 20:9cedad578085 draft
planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/sample_seqs commit 3ab3d1a9650dec0533344d710ceb027e482d2b10-dirty
author | peterjc |
---|---|
date | Fri, 09 Nov 2018 11:00:13 -0500 |
parents | 9e191e8df041 |
children | 8cc7672b0fd1 |
files | tools/sample_seqs/sample_seqs.py tools/sample_seqs/sample_seqs.xml |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 == "":
--- 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