Skip to content

Commit

Permalink
Add an output for read_entropy_csv, for #442.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Dec 5, 2019
1 parent 67b2b49 commit 1228ac5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ From: centos:7
failed_csv cascade_csv nuc_csv amino_csv coord_ins_csv conseq_csv \
conseq_region_csv failed_align_csv coverage_scores_csv \
coverage_maps_tar aligned_csv g2p_aligned_csv genome_coverage_csv \
genome_coverage_svg contigs_csv
genome_coverage_svg contigs_csv read_entropy_csv
KIVE_THREADS 2
KIVE_MEMORY 6000

Expand Down
3 changes: 2 additions & 1 deletion micall/monitor/kive_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
'alignment_svg',
'alignment_png',
'assembly_fasta',
'genome_coverage_svg']
'genome_coverage_svg',
'read_entropy_csv']

# noinspection PyArgumentList
FolderEventType = Enum('FolderEventType', 'ADD_SAMPLE FINISH_FOLDER')
Expand Down
4 changes: 4 additions & 0 deletions micall_kive.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def parse_args():
parser.add_argument('contigs_csv',
nargs='?',
help='CSV containing contigs built by de novo assembly')
parser.add_argument('read_entropy_csv',
nargs='?',
help='CSV containing read pair length counts')

return parser.parse_args()

Expand Down Expand Up @@ -107,6 +110,7 @@ def load_sample(args):
contigs_csv=args.contigs_csv,
genome_coverage_csv=args.genome_coverage_csv,
genome_coverage_svg=args.genome_coverage_svg,
read_entropy_csv=args.read_entropy_csv,
scratch_path=scratch_path)
sample.name = None # Since the file names are messy in Kive.
return sample
Expand Down

0 comments on commit 1228ac5

Please sign in to comment.