Skip to content

Commit ca99831

Browse files
authored
Merge pull request #86 from microbiomedata/85-incorrect-variable-usage-in-call-check_id_map
Compare annotation contig names between the contigs.fasta and annotation mapping file
2 parents cf4bcd8 + 62a25ff commit ca99831

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mbin_nmdc.wdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ task check_id_map{
434434
for line in c_file:
435435
if line.startswith(">"):
436436
seq_id = line[1:].rstrip().split()[0]
437-
if seq_id not in contigIDs:
437+
if seq_id not in contig_anno_IDs:
438438
print(f"{seq_id} is not in {map_file_name}.", file=sys.stderr)
439439
sys.exit(1)
440440

0 commit comments

Comments
 (0)