Mercurial > repos > greg > extract_genomic_dna
changeset 4:6333e08869fc draft
Uploaded
author | greg |
---|---|
date | Thu, 14 Jan 2016 09:40:51 -0500 |
parents | c46db4f7c869 |
children | ee00b3c68801 |
files | extract_genomic_dna.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/extract_genomic_dna.py Thu Jan 14 09:38:50 2016 -0500 +++ b/extract_genomic_dna.py Thu Jan 14 09:40:51 2016 -0500 @@ -79,12 +79,12 @@ input_is_gff = args.input_format == 'gff' interpret_features = input_is_gff and args.interpret_features == "yes" -if len(args.cols.split(',')) == 5: +if len(args.columns.split(',')) == 5: # Bed file. - chrom_col, start_col, end_col, strand_col, name_col = parse_cols_arg(args.cols) + chrom_col, start_col, end_col, strand_col, name_col = parse_cols_arg(args.columns) else: # Gff file. - chrom_col, start_col, end_col, strand_col = parse_cols_arg(args.cols) + chrom_col, start_col, end_col, strand_col = parse_cols_arg(args.columns) name_col = False if args.reference_genome_source == "history":