Re: Need some help with RecordReader

2014-10-28 Thread jay vyas
great question . i like the idea of using the existing FASTA Record Reader if it works for you. In general, you should know that this isnt too hard: If you want to implement your own - here is how: Yes, your right that a file typically has delimiters at the end of records, and so it makes sense t

Re: Need some help with RecordReader

2014-10-28 Thread Steve Lewis
This InputFormat reads a Fasta file (See below) Format is a line starting > plus N lines of Data The projects in https://code.google.com/p/distributed-tools/ Have other samples of more complex input formats >YDR356W SPC110 SGDID:S02764, Chr IV from 1186099-1188933, Verified ORF, "Inner plaq

Need some help with RecordReader

2014-10-28 Thread John Dison
Hello! I have a file in the following format:+ InvoiceNo=1sometext1+ InvoiceNo=2somemoretext2<...> Each record starts with a line beginning with five "+", then number of invoice.Then several lines of text.I want the invoice number to become a key for Map operation, and the text to become