Open fredkneeland opened 6 years ago
Any specific language you want this done in? I'm assuming bash.
@Splinxyy bash would be perfect
@fredkneeland Do you want it to replace N with anything, or just leave a space there?
No, there should be nothing there i.e. 'ANTGNC' => 'ATGC'
Alrighty.
Sorry for the delay, it is done now. Will send a PR
In the DNA strings there are places where the scientists were unable to discover what letter a dna base pair was so they put in an N.
For the purposes of this experiment a script should be written that can take a file and remove all 'N' and print it out to an output file.
i.e.
$ ./remove_ns dna_chr_1.txt dna_chr_1_no_ns.txt