Skip to content

Commit b8afc16

Browse files
committed
new pipeline
1 parent cdd63ff commit b8afc16

10 files changed

+1702809
-340
lines changed

Sam_count.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#/usr/bin/python
2+
import sys
3+
def count_reads(samfile_path):
4+
logfile = samfile_path.replace(".sam",".log")
5+
with open(logfile, 'r') as f:
6+
count = f.readline().split(' ')[0]
7+
print(count)
8+
return int(count)
9+
if __name__=='__main__':
10+
count_reads(sys.argv[1])
11+

downloadfusion.py

-287
This file was deleted.

0 commit comments

Comments
 (0)