You should be able to do that with awk. Something along the lines of:
Code:
awk 'BEGIN { RS = ">" } ; $1 ~ /SRR035294.94312.2/ { print $0 }' <your dna file name>
where RS is the record seperator and /SRR035294.94312.2/ is the string to match, and print $0 prints the record which contains the matching string.
Caution: it's been a few years since I did anything with awk. The code above probably needs some correction to make it work.