Skip to content

Commit

Permalink
add progression messages
Browse files Browse the repository at this point in the history
  • Loading branch information
l-modolo committed Dec 22, 2015
1 parent 3f712df commit 4716bd4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@

countTE.ini
pingpongpro/.DS_Store
6 changes: 5 additions & 1 deletion TEcount.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,18 +533,22 @@ def write(self):
def kill_subprocesses():
count.kill_subprocesses()

print("loading rosette file...")
rosette = Rosette(args.rosette_file, args.count_column, args.count_file,
sample_number, args.count_sirna_file)
print("loading rosette fasta file...")
count = Count(config['programs'], rosette, args.mapq, args.bowtie2,
args.fasta_file)

for i in range(sample_number):
if args.sam_files is not None and path.isfile(args.sam_files[i]):
print("counting " + str(args.sam_files[i]) + "...")
count.from_sam(args.sam_files[i])
else:
paired_file = None
print("counting " + str(args.fastq_files[i]) + "...")
if args.fastq_pair_files is not None and len(args.fastq_files) == len(args.fastq_pair_files):
paired_file = args.fastq_pair_files[i]
print("counting " + str(args.fastq_pair_files[i]) + "...")
if args.quality_control and not rosette.sirna():
count.from_raw_fastq(args.fastq_files[i], paired_file,
args.insert_size)
Expand Down
Binary file modified pingpongpro/.DS_Store
Binary file not shown.

0 comments on commit 4716bd4

Please sign in to comment.