Thank you. Initially I want to provide a txt file with the filenames, for example, DsspCodes.txt:
2bx2.dssp 3cob.dssp 1nwn.dssp
Based on your comments and my novice use of perl, I have modified the code to:
use strict; use warnings; use Bio::Structure::SecStr::DSSP::Res; my @filenames; for my $filename (@filenames) { open my $dsspIn, '<', $filename or die "Unable to open $filename: $!\n +"; #Create a new DSSP object my $dssp_obj = Bio::Structure::SecStr::DSSP::Res->new ('-file'=> $dssp +In); .... close dsspIn; }
But if call in the commandline:
DSSP_output.pl DsspCodes.txtI don't get any errors but I also don't get any output??
Thanks for your patience as I learn this..
InfoSeeker
In reply to Re^2: Confused when reading Input within Perl and Shell Scripts
by InfoSeeker
in thread Confused when reading Input within Perl and Shell Scripts
by InfoSeeker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |