Fix for extract_genomic_dna, a sequence of 0 will now be correctly extracted.

This commit is contained in:
Greg Von Kuster
2008-03-28 19:25:33 +00:00
parent 598462643a
commit 51ecbc86b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ def __main__():
first_invalid_line = i + 1
invalid_line = line
continue
if not sequence:
if sequence == '':
warning = "Chrom: '%s', start: '%s', end: '%s' is either invalid or not present in build '%s'. " %( chrom, start, end, dbkey )
warnings.append( warning )
skipped_lines += 1
+1 -1
View File
@@ -1,4 +1,4 @@
<tool id="Extract genomic DNA 1" name="Extract Genomic DNA" version="2.0.0">
<tool id="Extract genomic DNA 1" name="Extract Genomic DNA" version="2.1.0">
<description>using coordinates from assembled/unassebmled genomes</description>
<command interpreter="python">extract_genomic_dna.py $input $out_file1 $input_chromCol $input_startCol $input_endCol $input_strandCol $dbkey $out_format ${GALAXY_DATA_INDEX_DIR}</command>
<inputs>