All pastes #2089792 Raw Edit

Anonymous

public text v1 · immutable
#2089792 ·published 2011-10-13 16:45 UTC
rendered paste body

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class ValidDNA

{

    public static void main(String[] arg)
    {
    	Scanner in = new Scanner(new File("sampleTranscript.txt")); throw FileNotFoundException;
    	String id = in.nextLine();
    	System.out.println("Transcript ID is " + id.substring(1) + ".");
    	String DNA = "";
    	while (in.hasNext());
    	{
    		DNA+= in.nextLine();
    		
    	}
    		


    }