Re: pbs scripts

2009-12-03 Thread r0g
aoife wrote: > Hi,very new.hoping to incorporate python into my postgrad. > > Basically I have 2,000 files.I want to write a script that says: > > open each file in turn > for each file: >open this pbs script and run MUSCLE (a sequence alignment tool) > on each file >close this fi

Re: pbs scripts

2009-12-02 Thread Simon Brunning
2009/12/2 aoife : > Hi,very new.hoping to incorporate python into my postgrad. > > Basically I have 2,000 files.I want to write a script that says: > > open each file in turn If they are in one directory, look at the glob module. If they are in a bunch of sub-directories, see os.walk(), or

pbs scripts

2009-12-02 Thread aoife
Hi,very new.hoping to incorporate python into my postgrad. Basically I have 2,000 files.I want to write a script that says: open each file in turn for each file: open this pbs script and run MUSCLE (a sequence alignment tool) on each file close this file move on to next file.