Skip to content

emlec/NTContent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTContent

NTContent is a sliding window based tool used to assess the evolution of the percentage of specific nucleotides along a DNA/RNA sequence.

The input is a DNA/RNA sequence in fasta format.

The output is a tab-delimited text file showing for each window its central position and the percentage of the desired nucleotides.

Additionally, a gnuplot script can be created with the -p option.

Requirements

  • gcc
  • zlib

Compilation

$ make

Usage

$ NTContent [options] sequence.fasta

Options

OptionDescription
-o FILEFile output. Default: stdout
-w INTWindow Size. Default: Sequence length / 25
-s INTStep. Default: Window Size / 10
-n STRNucleotide(s) to look for [ACGTUWSMKRYBDHVNZ]. Default: GC
-r STRRegion of interest [FROM:TO]
-pCreate a gnuplot script
-dCombine 'samtools depth' results with NTContent in the gnuplot script
-hHelp

Example

Command Line

$ NTContent -n GC -w 50 -s 10 hiv.fasta > GC.txt

Output

(...)
25	54.00
35	56.00
45	56.00
55	52.00
65	48.00
75	48.00
85	46.00
95	46.00
105	52.00
115	48.00
125	52.00
135	48.00
145	46.00
155	42.00
165	54.00
175	54.00
185	54.00
195	56.00
205	60.00
(...)

Author

Aurélien Guy-Duché

Contribute

License

The project is licensed under the MIT2 license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.8%
  • Makefile 9.6%
  • C++ 4.6%