Thanks for the info, I was working with a postdoc in my lab on the sed -i issue yesterday for a few hours and we agreed that I should just use BUSCO on Linux. But maybe you have some further insight, when I run with the modified line "subprocess.call('sed -i \'\' -e \'1,3d\' %saugustus/%s' % (mainout,entry), shell = True)", I get this as the out put:
Building a new DB, current time: 05/20/2016 09:36:04
New DB name: /Users/maxhaase/BUSCO/BUSCO_v1.2/sample_data/sample
New DB title: target.fa
Sequence type: Nucleotide
Keep Linkouts: T
Keep MBits: T
Maximum file size: 1000000000B
Adding sequences from FASTA; added 1 sequences in 0.00824285 seconds.
* Getting coordinates for candidate regions! *
* pre-Augustus scaffold extraction *
* Running Augustus prediction *
=> 10% of predictions performed
=> 25% of predictions performed
=> 50% of predictions performed
=> 75% of predictions performed
=> 100%% of predictions performed
* Extracting predicted proteins *
* Running HMMER to confirm orthology of predicted proteins *
Complete: 0
Single: 0
Multi: 0
Fragment: 0
Missing: 10
Total BUSCO groups searched: 10
Phase Two
* Training Augustus using Single-Copy Complete BUSCOs *
cat: ./run_sample/gb/*.gb: No such file or directory
* Re-running Augustus with the new metaparameters, number targets: 10 *
=> 10.0% of predictions performed
=> 25.0% of predictions performed
=> 50.0% of predictions performed
=> 75.0% of predictions performed
=> 100.0% of predictions performed
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner self.run()
File "/Users/maxhaase/BUSCO/BUSCO_v1.2/BUSCO_v1.2_m.py", line 617, in run process_dataself.name, self.q)
File "/Users/maxhaase/BUSCO/BUSCO_v1.2/BUSCO_v1.2_m.py", line 633, in process_data if state > slate[-1]:
IndexError: list index out of range
The other alternative you gave also gives this error.
What is the full command you're running?
My command is: Maxs-MacBook:sample_data maxhaase$ python3 /Users/maxhaase/School/Phylo563/BUSCO_v1.2/BUSCO_v1.2.py -in target.fa -o sample -l ./example -m genome