Commit 5ce3bcaa authored by yy1533's avatar yy1533

💊 ST coord name is x-y instead of row-col

parent fa9574f9
......@@ -38,7 +38,7 @@ def celseq2stpipeline(celseq2_fpath, spatial_map, out,
genes = map(lambda x: x.replace(' ', '_'), expr_valid.index.values)
colnames = expr_valid.columns.values
# fhout.write('{}\t{}\n'.format('', '\t'.join(genes))) # header
fhout.write('{}\t{}\t{}\n'.format('Row', 'Col', '\t'.join(genes))) # header
fhout.write('{}\t{}\t{}\n'.format('X', 'Y', '\t'.join(genes))) # header
for colname in colnames:
tmp = colname.replace('.', '-') # BC-1-ATGC or ATGC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment