Skip to content

Commit

Permalink
handle empty clonotype ids in 10x contigs file
Browse files Browse the repository at this point in the history
  • Loading branch information
phbradley committed Oct 6, 2021
1 parent e4b6a30 commit c839920
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion make_10x_clones_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ def read_tcr_data(
else:
clonotype2barcodes[clonotype].append( bc )

print l['productive']
if not clonotype:
print 'empty clonotype id:', l
continue
assert clonotype
## experimenting here ########################################3
if l['productive'].lower() != 'true':
continue
Expand Down

0 comments on commit c839920

Please sign in to comment.