This project is read-only.

Error runing ISequence

May 5, 2014 at 12:46 PM

I am running the AlignSequences sample application included in the .NET Bio programming guide. I am using C# in Visual Studio 2010. However, I am getting an error on line 3 ' " is not a valid header'. I have double checked my sequences to ensure they are in genbank format and tried line 2 with and with out the '@' but to no avail. Other than that I have largerly copy and pasted this script in.

1 GenBankParser parser1 = new GenBankParser();
2 parser1.Open(@"c:\Users\Chris\seq1.gbk"); 3 ISequence testSequence1 = parser1.Parse().First();

Thanks for any advice you can offer,
May 5, 2014 at 4:50 PM
Hi Chris,

That indicates a problem with the genbank file, namely a header line that is not being parsed correctly. Feel free to upload your file with the issue tracker, it is likely a format problem.

May 12, 2014 at 7:12 AM
Thanks N,

I was able to add this to the Issue section.