From edeee112a6ce32e7047c19e69f16d83dbfd41f52 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 14 Oct 2020 14:10:35 +0530 Subject: [PATCH] Files added --- gccontent.py | 9 +++++++++ helloworld.c | 8 +++----- 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 gccontent.py diff --git a/gccontent.py b/gccontent.py new file mode 100644 index 0000000..d625cbd --- /dev/null +++ b/gccontent.py @@ -0,0 +1,9 @@ +from Bio import SeqIO +from Bio.Seq import Seq +from Bio.SeqUtils import GC + +for seq_record in SeqIO.parse("gccontent.txt","fasta"): + print(seq_record.id) + x=str((seq_record.seq)) + print(GC(x)) + diff --git a/helloworld.c b/helloworld.c index 53889d1..2d6ebe0 100644 --- a/helloworld.c +++ b/helloworld.c @@ -1,7 +1,5 @@ -#include -#include - +#include int main(){ - printf("Hello world"); - return 0; + printf("Hello World"); + return 0; }