Skip to content

Commit

Permalink
fix contig_id variable append to array
Browse files Browse the repository at this point in the history
  • Loading branch information
Chienchi Lo committed Jul 24, 2024
1 parent 4a9cda7 commit 5ba7e41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbin_nmdc.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ task check_id_map{
with open("~{contig_file}","r") as c_file:
for line in c_file:
if line.startswith(">"):
file_id = line[1:].rstrip().split()[0]
contigIDs.append("file_id")
file_id = line[1:].rstrip().split()[0] # nmdc:wfmgan-12-gbysvd76.1_0000001
contigIDs.append(file_id)
with open("~{proteins_file}","r") as p_file:
for line in p_file:
if line.startswith(">"):
Expand Down

0 comments on commit 5ba7e41

Please sign in to comment.