pritykinlab / guidescanpy

1 stars 0 forks source link

Simplified decision on add-tag output file format. #60

Closed 1rzhu closed 1 year ago

1rzhu commented 1 year ago

Used .endswith() methods on output file name in add-tag command. Deleted the get_format function.

The logic now is like: if the output filename ends with .bam or .bam.sorted, then generate a bam file; elif it ends with .sam, then generate a sam file; otherwise print an "unknown" prompt and generate a bam file by default.