Skip to content

Commit 0f93946

Browse files
committed
adding in some more iterables
1 parent 0a7d8c4 commit 0f93946

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

lib/BioX/Workflow/Command/run/Utils/Directives.pm

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,13 @@ has 'HPC' => (
264264
##This is useful for features where we want to do things like
265265
##split a file into parts
266266
##count by kmers, etc
267+
=head2 Iterables
268+
269+
Lists to iterate by
270+
271+
Chunks and chroms are included by default
272+
273+
=cut
267274

268275
has 'chunks' => (
269276
is => 'rw',
@@ -283,6 +290,15 @@ has 'use_chunks' => (
283290
}
284291
);
285292

293+
294+
has 'chroms' => (
295+
is => 'rw',
296+
isa => 'ArrayRef',
297+
default => sub {
298+
return [1 .. 22, 'X', 'Y', 'MT'];
299+
},
300+
)
301+
286302
=head2 stash
287303
288304
This isn't ever used in the code. Its just there incase you want to persist objects across rules

0 commit comments

Comments
 (0)