mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix for extract_genomic_dna, a sequence of 0 will now be correctly extracted.
This commit is contained in:
@@ -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,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>
|
||||
|
||||
Reference in New Issue
Block a user