I have a .fasta file that I'm trying to use
bedtools getfasta on. When I run it I get the error
WARNING. chromosome (N) was not found in the FASTA file. Skipping.
which I think is because my .fasta headers look like this
>HWI-D00270:252:CB1D5ANXX:8:1303:19141:48584/1 ACAGCTGATTAGACACAATGTCAACAAAGTACTGAAGACCAGAGAAAAACACTTATTATACTC TTTGTTTTCAGGTGTGGAATGTGCTTTCTACCACGGCTACAAATACTACAAAGGATGTAGTA
and not like this
>chrI ACAGCTGATTAGACACAATGTCAACAAAGTACTGAAGACCAGAGAAAAACACTTATTATACTC TTTGTTTTCAGGTGTGGAATGTGCTTTCTACCACGGCTACAAATACTACAAAGGATGTAGTA
Is there a way I can edit the header to reflect only the chromosome.