Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Lucas-Servi/SA2SU into main
Browse files Browse the repository at this point in the history
Added the main check for module usage.
  • Loading branch information
Lucas-Servi committed May 7, 2021
2 parents aaf7295 + 936663d commit 9da714e
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
# SA2SU
SALMON to SUPPA table converter

SA2SU
==========

SALMON (https://github.com/COMBINE-lab/salmon) to SUPPA2 (https://github.com/comprna/SUPPA) table converter.

## How to use the script

This script runs on terminal with the following parameters:
```
python3 SA2SU.py -i <input-file.sf> <input-file.sf> <input-file.sf> -o <output-file.tsv>
```

- **-i** | **--input-file**: **.sf**(tabular) files from SALMON output separated by a space
- **-o** | **--output-file**: a .tsv format file from the input tables merged by 'Name' and the 'TPM' column (each column labeled as sample_N)



## Output (SUPPA2 input)

A transcript expression file with multiple samples:

```
sample1 sample2 sample3 sample4
transcript1 <expression> <expression> <expression> <expression>
transcript2 <expression> <expression> <expression> <expression>
transcript3 <expression> <expression> <expression> <expression>
```


### AUTHOR/SUPPORT

Lucas Servi, [email protected] </br>

0 comments on commit 9da714e

Please sign in to comment.