Spaces:
Sleeping
Sleeping
Update README.txt
Browse files123456789101112131415161718# Multi-group unique k-mer analysisThis tool compares multiple groups of FASTA sequences (one directory per group) and identifies **k-mers unique to each group** relative to all other groups. It outputs per-group TSV files, a summary Excel file, and two plots.## Installpip install -r requirements.txt## Runpython kmer_unique.py \--group-dirs path/to/groupA path/to/groupB path/to/groupC \--k-min 15 --k-max 31 --min-freq 5 \--outdir results## Outputs- `results/unique_k{k}_{group}.tsv` : unique k-mers and counts- `results/kmer_summary.xlsx` : summary table across k- `results/unique_kmers_per_group.png`- `results/total_freq_per_group.png`123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475# K-mer–based Sequence PredictorThis Space predicts the most likely group of **unknown sequences** usinggroup-specific **unique k-mers** generated by the companion Space:?? **Unique k-mer discovery Space:**https://huggingface.co/spaces/<your-username>/<space-1-name>---## OverviewThis tool assigns each unknown sequence to a group by detectinggroup-specific k-mers and computing a confidence score.It is designed to work directly with the `kmer_results.zip`produced by the Unique k-mer discovery Space.---## Inputs### 1. Unknown sequencesUpload one or more FASTA files containing unknown sequences:- `.fa`, `.fasta`, `.fas`, `.fna`### 2. K-mer results ZIPUpload **`kmer_results.zip`** generated by the Unique k-mer discovery Space.> ?? This Space only accepts ZIP input for k-mers to ensure compatibility> and reproducibility.---## Parameters- **Sequence type**- `dna` or `protein`- **Mode**- **fast**: exact k-mer matching (recommended)- **full**: alignment-based matching + Fisher test + FDR (slower)- **Identity / Coverage / FDR**- Used only in *full* mode---## Outputs- **predictions_by_alignment.csv**- One row per sequence- Predicted group and confidence metrics- **predicted_results_summary.png**- Group counts and confidence distribution- **prediction_outputs.zip**- ZIP containing all outputs---## Performance notes- The **fast** mode is recommended for large datasets.- The **full** mode is computationally intensive and best suited forsmall validation sets.---## CitationIf you use this tool, please cite:Muhamed-Kheir TAHA, Institut Pasteur, Paris France.---## LicenseOthers
README.txt+75-18