[Bio] / FigKernelScripts / prepare_metagenome_files_for_download.pl Repository:
ViewVC logotype

Diff of /FigKernelScripts/prepare_metagenome_files_for_download.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Tue Jan 29 21:57:33 2008 UTC revision 1.4, Wed Jan 30 15:40:49 2008 UTC
# Line 13  Line 13 
13  close(DIR);  close(DIR);
14    
15  foreach my $job (@jobs){  foreach my $job (@jobs){
16      if($job != 13){next;}  
17        if(! -e "$jobs_dir/$job/PUBLIC"){next}
18    
19        print "working on $job\n";
20    
21      my $mg_id;      my $mg_id;
22      open(IN,"$jobs_dir/$job/GENOME_ID");      open(IN,"$jobs_dir/$job/GENOME_ID");
# Line 50  Line 53 
53      print INDEX "$mg_id.dna.fa.gz        Normalized DNA FASTA\n";      print INDEX "$mg_id.dna.fa.gz        Normalized DNA FASTA\n";
54      print INDEX "$mg_id.functions.txt.gz Assigned Protein Functions\n";      print INDEX "$mg_id.functions.txt.gz Assigned Protein Functions\n";
55      print INDEX "$mg_id.protein.fa.gz    Assigned Protein Sequences FASTA\n";      print INDEX "$mg_id.protein.fa.gz    Assigned Protein Sequences FASTA\n";
56        print INDEX "$mg_id.user_id_to_normalized_unique.txt    User Fragment ID Mapping to MG-RAST ID\n";
57      close(INDEX);      close(INDEX);
58    
59      `tar -czf $jobs_dir/$job/download/$mg_id.all_internal_data.tar.gz $jobs_dir/$job/proc $jobs_dir/$job/rp/$mg_id`;      `tar -czf $jobs_dir/$job/download/$mg_id.all_internal_data.tar.gz $jobs_dir/$job/proc $jobs_dir/$job/rp/$mg_id`;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3