Skip to content

Commit bcd8561

Browse files
committed
update VirFac
1 parent d9068ca commit bcd8561

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

scripts/generate_sample_yaml.pl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/data/ousmane.cisse/conda/bin/perl -w
2+
#
3+
#
4+
use IO::All;
5+
use feature 'say';
6+
use Carp;
7+
use strict;
8+
use Data::Dumper;
9+
10+
my $dir = io($ARGV[0]);
11+
my @contents = @$dir;
12+
13+
say "samples:";
14+
my $c = 1;
15+
16+
my $f = "";
17+
foreach $f (@contents){
18+
if ($f =~ m/\.fasta/){
19+
say " G$c: $f";
20+
$c++;
21+
}
22+
}

0 commit comments

Comments
 (0)