-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: add pytest * build: add pysam dependency * build: add pytest and coverage dependencies * refactor: add necessary things to pass pytest * test: add test for filter_multimappers.py * test: add test file for filter_multimappers.py * refactor: change some lines * revert: revert to initial version * test: remove test file * test: remove test file * test: add test file * test: modify test_write_output * build: add pysam dependencies * test: add coverage file * Delete snakemake_report.html * build: delete unused import * build: remove pysam dependency * build: remove pytest-cov and add pysam dependency * ci: remove .coverage * refacor: change path to files * ci: ypdate unit tests call * test: add files for testing * test: add test for secondary and supp. alingments * test: add pragma to avoid testing * ci: update codecov-actions to v3 * ci: update pytest call * build: add pytest-cov dependency * ci: update pytest call * ci: update pytest call * ci: update pytest call * ci: update pytest call * ci: update pytest call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report and pytest call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage report call * ci: update coverage call * ci: update coverage call * ci: update coverage call * ci: update coverage call * ci: update submit coverage call * style: correct whitespaces in pragma * refactor: change first iteration * refactor: delete unuseful tests * refactor: modify functions * test: modify output file * refactor: remove skip secondary alns * test: add codecov.yml * test: add codecov.yml * test: add codecov.yml * test: update path on codecov.yml * refactor: remove first assignment * test: add token in coverage call * build: remove codecov.yml * test: delete coverage call * style: remove whitespaces --------- Co-authored-by: Iris Mestres <[email protected]>
- Loading branch information
Showing
15 changed files
with
419 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name: mirflowz | ||
channels: | ||
- bioconda | ||
- defaults | ||
dependencies: | ||
- coverage>=7.2 | ||
- pytest>=7.1.2 | ||
- pytest-cov | ||
- pysam>=0.21.0 | ||
- snakefmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
1-1 16 19 77595 255 14M1D8M * 0 0 GCAGGAGAATCACTGATGTCAG * MD:Z:14^T2A1C3 NH:i:2 NM:i:3 XA:Z:Q XI:i:1 | ||
1-1 0 19 330456 255 4M1D1M1I3M1D13M * 0 0 CTGACATCAGTGATTCTCCTGC * MD:Z:4^G4^A13 NH:i:2 NM:i:3 XA:Z:Q XI:i:0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
@PG ID:samtools PN:samtools VN:1.16.1 CL:samtools sort -n -o results/test_lib/header_sorted_catMappings.sam results/test_lib/concatenated_header_catMappings.sam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
1-1 0 19 142777 255 15M1I5M * 0 0 GCTAGGTGGGAGGCTTGAAGC * MD:Z:4C0T14 NH:i:3 NM:i:3 XA:Z:Q XI:i:0 | ||
1-1 16 19 270081 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14G0G4 NH:i:3 NM:i:3 XA:Z:Q XI:i:2 | ||
1-1 16 19 545543 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14A0G4 NH:i:3 NM:i:3 XA:Z:Q XI:i:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
1-1 0 19 7589 255 24M * 0 0 ATTTCAAGCCAGGTGGCGTTTTTC * MD:Z:13G10 NH:i:1 NM:i:1 | ||
2-1 0 19 63250 255 22M * 0 0 GAAAGCGCTTCGCTTCAGAGTG * MD:Z:11C10 NH:i:1 NM:i:1 | ||
3-1 0 19 63251 255 22M * 0 0 AAAGCGCTTCCCTTCAGAGTGA * MD:Z:21T NH:i:1 NM:i:1 | ||
4-1 0 19 63250 255 22M * 0 0 TAAAGCGCTTCCCTTCAGAGTG * MD:Z:G21 NH:i:1 NM:i:1 | ||
5-1 0 19 7589 255 24M * 0 0 CTTTCAAGCCAGGGGGCGTTTTTC * MD:Z:A23 NH:i:1 NM:i:1 | ||
6-1 0 19 7590 255 24M * 0 0 TTTCAAGCCAGGTGGCGTTTTTCT * MD:Z:12G11 NH:i:1 NM:i:1 | ||
7-1 0 19 142777 255 15M1I5M * 0 0 GCTAGGTGGGAGGCTTGAAGC * MD:Z:4C0T14 NH:i:3 NM:i:3 XA:Z:Q XI:i:0 | ||
7-1 16 19 270081 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14G0G4 NH:i:3 NM:i:3 XA:Z:Q XI:i:2 | ||
7-1 16 19 545543 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14A0G4 NH:i:3 NM:i:3 XA:Z:Q XI:i:1 | ||
8-1 16 19 77595 255 14M1D8M * 0 0 GCAGGAGAATCACTGATGTCAG * MD:Z:14^T2A1C3 NH:i:2 NM:i:3 XA:Z:Q XI:i:1 | ||
8-1 0 19 330456 255 4M1D1M1I3M1D13M * 0 0 CTGACATCAGTGATTCTCCTGC * MD:Z:4^G4^A13 NH:i:2 NM:i:3 XA:Z:Q XI:i:0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
1-1 0 19 7589 255 24M * 0 0 ATTTCAAGCCAGGTGGCGTTTTTC * MD:Z:13G10 NH:i:1 NM:i:1 | ||
2-1 0 19 63250 255 22M * 0 0 GAAAGCGCTTCGCTTCAGAGTG * MD:Z:11C10 NH:i:1 NM:i:1 | ||
3-1 2128 19 63251 255 22M * 0 0 AAAGCGCTTCCCTTCAGAGTGA * MD:Z:21T NH:i:1 NM:i:1 | ||
4-1 0 19 63250 255 22M * 0 0 TAAAGCGCTTCCCTTCAGAGTG * MD:Z:G21 NH:i:1 NM:i:1 | ||
5-1 2064 19 7589 255 24M * 0 0 CTTTCAAGCCAGGGGGCGTTTTTC * MD:Z:A23 NH:i:1 NM:i:1 | ||
6-1 256 19 7590 255 24M * 0 0 TTTCAAGCCAGGTGGCGTTTTTCT * MD:Z:12G11 NH:i:1 NM:i:1 | ||
7-1 0 19 142777 255 15M1I5M * 0 0 GCTAGGTGGGAGGCTTGAAGC * MD:Z:4C0T14 NH:i:3 NM:i:3 XA:Z:Q XI:i:0 | ||
7-1 16 19 270081 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14G0G4 NH:i:3 NM:i:3 XA:Z:Q XI:i:2 | ||
7-1 16 19 545543 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14A0G4 NH:i:3 NM:i:3 XA:Z:Q XI:i:1 | ||
8-1 16 19 77595 255 14M1D8M * 0 0 GCAGGAGAATCACTGATGTCAG * MD:Z:14^T2A1C3 NH:i:2 NM:i:3 XA:Z:Q XI:i:1 | ||
8-1 0 19 330456 255 4M1D1M1I3M1D13M * 0 0 CTGACATCAGTGATTCTCCTGC * MD:Z:4^G4^A13 NH:i:2 NM:i:3 XA:Z:Q XI:i:0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1-1 16 19 77595 255 14M1D8M * 0 0 GCAGGAGAATCACTGATGTCAG * MD:Z:14^T2A1C3 NM:i:3 XA:Z:Q XI:i:1 NH:i:1 HI:i:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
@PG ID:samtools PN:samtools VN:1.16.1 CL:samtools sort -n -o results/test_lib/header_sorted_catMappings.sam results/test_lib/concatenated_header_catMappings.sam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1-1 0 19 142777 255 15M1I5M * 0 0 GCTAGGTGGGAGGCTTGAAGC * MD:Z:4C0T14 NM:i:3 XA:Z:Q XI:i:0 NH:i:3 HI:i:1 | ||
1-1 16 19 270081 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14G0G4 NM:i:3 XA:Z:Q XI:i:2 NH:i:3 HI:i:2 | ||
1-1 16 19 545543 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14A0G4 NM:i:3 XA:Z:Q XI:i:1 NH:i:3 HI:i:3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
1-1 0 19 7589 255 24M * 0 0 ATTTCAAGCCAGGTGGCGTTTTTC * MD:Z:13G10 NH:i:1 NM:i:1 | ||
2-1 0 19 63250 255 22M * 0 0 GAAAGCGCTTCGCTTCAGAGTG * MD:Z:11C10 NH:i:1 NM:i:1 | ||
3-1 0 19 63251 255 22M * 0 0 AAAGCGCTTCCCTTCAGAGTGA * MD:Z:21T NH:i:1 NM:i:1 | ||
4-1 0 19 63250 255 22M * 0 0 TAAAGCGCTTCCCTTCAGAGTG * MD:Z:G21 NH:i:1 NM:i:1 | ||
5-1 0 19 7589 255 24M * 0 0 CTTTCAAGCCAGGGGGCGTTTTTC * MD:Z:A23 NH:i:1 NM:i:1 | ||
6-1 0 19 7590 255 24M * 0 0 TTTCAAGCCAGGTGGCGTTTTTCT * MD:Z:12G11 NH:i:1 NM:i:1 | ||
7-1 0 19 142777 255 15M1I5M * 0 0 GCTAGGTGGGAGGCTTGAAGC * MD:Z:4C0T14 NM:i:3 XA:Z:Q XI:i:0 NH:i:3 HI:i:1 | ||
7-1 16 19 270081 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14G0G4 NM:i:3 XA:Z:Q XI:i:2 NH:i:3 HI:i:2 | ||
7-1 16 19 545543 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14A0G4 NM:i:3 XA:Z:Q XI:i:1 NH:i:3 HI:i:3 | ||
8-1 16 19 77595 255 14M1D8M * 0 0 GCAGGAGAATCACTGATGTCAG * MD:Z:14^T2A1C3 NM:i:3 XA:Z:Q XI:i:1 NH:i:1 HI:i:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
1-1 0 19 7589 255 24M * 0 0 ATTTCAAGCCAGGTGGCGTTTTTC * MD:Z:13G10 NH:i:1 NM:i:1 | ||
2-1 0 19 63250 255 22M * 0 0 GAAAGCGCTTCGCTTCAGAGTG * MD:Z:11C10 NH:i:1 NM:i:1 | ||
4-1 0 19 63250 255 22M * 0 0 TAAAGCGCTTCCCTTCAGAGTG * MD:Z:G21 NH:i:1 NM:i:1 | ||
6-1 256 19 7590 255 24M * 0 0 TTTCAAGCCAGGTGGCGTTTTTCT * MD:Z:12G11 NH:i:1 NM:i:1 | ||
7-1 0 19 142777 255 15M1I5M * 0 0 GCTAGGTGGGAGGCTTGAAGC * MD:Z:4C0T14 NM:i:3 XA:Z:Q XI:i:0 NH:i:3 HI:i:1 | ||
7-1 16 19 270081 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14G0G4 NM:i:3 XA:Z:Q XI:i:2 NH:i:3 HI:i:2 | ||
7-1 16 19 545543 255 6M1I14M * 0 0 GCTTCAAGCCTCCCACCTAGC * MD:Z:14A0G4 NM:i:3 XA:Z:Q XI:i:1 NH:i:3 HI:i:3 | ||
8-1 16 19 77595 255 14M1D8M * 0 0 GCAGGAGAATCACTGATGTCAG * MD:Z:14^T2A1C3 NM:i:3 XA:Z:Q XI:i:1 NH:i:1 HI:i:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@HD VN:1.0 SO:queryname | ||
@SQ SN:19 LN:600000 M5:f9635dbff42b16049de830a7a121fa12 UR:NA | ||
1-1 0 19 44414 255 21M * 0 0 GAAGGCGCTTCCCTTTGGAGT * MD:Z:21 NH:i:1 NM:i:0 | ||
2-1 0 19 44377 255 11M3I11M * 0 0 CTACAAAGGGAGGTAGCACTTTCTC * MD:Z:22 NH:i:1 NM:i:3 XA:Z:Q XI:i:0 | ||
3-1 0 19 7590 255 20M3I3M * 0 0 TTTCAAGCCAGGGGGCGTTTCCGTTC * MD:Z:23 NH:i:1 NM:i:3 XA:Z:Q XI:i:0 | ||
4-1 0 19 7590 255 23M * 0 0 TTTCAAGTCAGGGGGCGTTTTTC * MD:Z:7C15 NH:i:1 NM:i:1 | ||
5-1 0 19 30893 255 32M2I53M * 0 0 CTCAAGCTGTGACTCTCCAGAGGGATGCACTTGATCTCTTATGTGAAAAAAAAGAAGGCGCTTCCCTTTAGAGCGTTACGGTTTGGG * MD:Z:85 NH:i:1 NM:i:2 XA:Z:Q XI:i:0 |
Oops, something went wrong.