intersect
intersect
Find the intersect of two files, returns the inner join
Original author: Skyler Kuhn (@skchronicles)
Usage
intersect file1 file2
Functions
| Name | Description |
|---|---|
| indexFile | Index a tab-delimited file by the join column. |
| intersect | Print the intersecting rows between two files. |
| main | Run the CLI. |
| run_intersect | Run the intersect command. |
indexFile
intersect.indexFile(filename, joinindex, header)Index a tab-delimited file by the join column.
intersect
intersect.intersect(fileDict, file2, joinindex, header)Print the intersecting rows between two files.
main
intersect.main()Run the CLI.
run_intersect
intersect.run_intersect(args)Run the intersect command.